org.hpccsystems.ws.client.wrappers.gen.wspackageprocess.GetPackageMapSelectOptionsResponseWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wsclient Show documentation
Show all versions of wsclient Show documentation
This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.
package org.hpccsystems.ws.client.wrappers.gen.wspackageprocess;
/*******************************************************************************
* HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
import java.util.List;
import java.util.ArrayList;
import org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.EspStringArray;
/**
* Generated Axis2 ADB stub class wrapper
* Class name: GetPackageMapSelectOptionsResponseWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse
* Output package : org.hpccsystems.ws.client.wrappers.gen.wspackageprocess
* TimeStamp: 2020-04-29T14:39:01.429Z
*/
public class GetPackageMapSelectOptionsResponseWrapper
{
protected ArrayOfEspExceptionWrapper local_exceptions;
protected BasePackageStatusWrapper local_status;
protected ArrayOfTargetDataWrapper local_targets;
protected List local_processFilters = null;
public GetPackageMapSelectOptionsResponseWrapper() {}
public GetPackageMapSelectOptionsResponseWrapper( org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse getpackagemapselectoptionsresponse)
{
copy( getpackagemapselectoptionsresponse );
}
public GetPackageMapSelectOptionsResponseWrapper( ArrayOfEspExceptionWrapper _exceptions, BasePackageStatusWrapper _status, ArrayOfTargetDataWrapper _targets, List _processFilters )
{
this.local_exceptions = _exceptions;
this.local_status = _status;
this.local_targets = _targets;
this.local_processFilters = _processFilters;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse raw )
{
if (raw == null)
return;
if (raw.getExceptions() != null)
this.local_exceptions = new ArrayOfEspExceptionWrapper( raw.getExceptions());
if (raw.getStatus() != null)
this.local_status = new BasePackageStatusWrapper( raw.getStatus());
if (raw.getTargets() != null)
this.local_targets = new ArrayOfTargetDataWrapper( raw.getTargets());
if (raw.getProcessFilters() != null)
{
this.local_processFilters = new ArrayList();
for ( int i = 0; i < raw.getProcessFilters().getItem().length; i++)
{
this.local_processFilters.add(new String(raw.getProcessFilters().getItem()[i]));
}
}
}
@Override
public String toString()
{
return "GetPackageMapSelectOptionsResponseWrapper [" + "exceptions = " + local_exceptions + ", " + "status = " + local_status + ", " + "targets = " + local_targets + ", " + "processFilters = " + local_processFilters + "]";
}
public org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse getRaw()
{
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse raw = new org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_03.GetPackageMapSelectOptionsResponse();
if (this.local_processFilters!= null)
{
EspStringArray arr = new EspStringArray();
for ( int i = 0; i < this.local_processFilters.size(); i++)
{
arr.addItem(this.local_processFilters.get(i));
}
raw.setProcessFilters(arr);
}
return raw;
}
public void setExceptions( ArrayOfEspExceptionWrapper _exceptions )
{
this.local_exceptions = _exceptions;
}
public ArrayOfEspExceptionWrapper getExceptions( )
{
return this.local_exceptions;
}
public void setStatus( BasePackageStatusWrapper _status )
{
this.local_status = _status;
}
public BasePackageStatusWrapper getStatus( )
{
return this.local_status;
}
public void setTargets( ArrayOfTargetDataWrapper _targets )
{
this.local_targets = _targets;
}
public ArrayOfTargetDataWrapper getTargets( )
{
return this.local_targets;
}
public void setProcessFilters( List _processFilters )
{
this.local_processFilters = _processFilters;
}
public List getProcessFilters( )
{
return this.local_processFilters;
}
}