org.hpccsystems.ws.client.wrappers.gen.wsdfu.ArrayOfEspExceptionWrapper 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.wsdfu;
/*******************************************************************************
* HPCC SYSTEMS software Copyright (C) 2020 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;
/**
* Generated Axis2 ADB stub class wrapper
* Class name: ArrayOfEspExceptionWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException
* Output package : org.hpccsystems.ws.client.wrappers.gen.wsdfu
* TimeStamp: 2020-08-18T21:53:14.872Z
*/
public class ArrayOfEspExceptionWrapper
{
protected String local_source;
protected List local_exception = null;
public ArrayOfEspExceptionWrapper() {}
public ArrayOfEspExceptionWrapper( org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException arrayofespexception)
{
copy( arrayofespexception );
}
public ArrayOfEspExceptionWrapper( String _source, List _exception )
{
this.local_source = _source;
this.local_exception = _exception;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException raw )
{
if (raw == null)
return;
this.local_source = raw.getSource();
if (raw.getException() != null)
{
this.local_exception = new ArrayList();
for ( int i = 0; i < raw.getException().length; i++)
{
this.local_exception.add(new EspExceptionWrapper(raw.getException()[i]));
}
}
}
@Override
public String toString()
{
return "ArrayOfEspExceptionWrapper [" + "source = " + local_source + ", " + "exception = " + local_exception + "]";
}
public org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException getRaw()
{
org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException raw = new org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.ArrayOfEspException();
raw.setSource( local_source);
if (this.local_exception!= null)
{
org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.EspException[] arr = new org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_51.EspException[this.local_exception.size()];
for ( int i = 0; i < this.local_exception.size(); i++)
{
arr[i] = this.local_exception.get(i) .getRaw();
}
raw.setException(arr);
}
return raw;
}
public void setSource( String _source )
{
this.local_source = _source;
}
public String getSource( )
{
return this.local_source;
}
public void setException( List _exception )
{
this.local_exception = _exception;
}
public List getException( )
{
return this.local_exception;
}
}