All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hpccsystems.ws.client.wrappers.gen.wssql.ArrayOfEspExceptionWrapper Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 9.6.12-1
Show newest version
package org.hpccsystems.ws.client.wrappers.gen.wssql;



/*******************************************************************************
 * 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;

/**
 * Generated Axis2 ADB stub class wrapper
 * Class name: ArrayOfEspExceptionWrapper
 * Wraps class: org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.ArrayOfEspException
 * Output package : org.hpccsystems.ws.client.wrappers.gen.wssql
 * TimeStamp: 2019-08-13T16:31:16.518Z
 */
public class ArrayOfEspExceptionWrapper
{
protected String local_source;
protected List local_exception = new ArrayList();

	public ArrayOfEspExceptionWrapper() {}

	public ArrayOfEspExceptionWrapper( org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.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.wssql.v1_05.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.wssql.v1_05.ArrayOfEspException getRaw()
	{
		org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.ArrayOfEspException raw = new org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.ArrayOfEspException();
		raw.setSource( local_source);
		if (this.local_exception!= null)
		{
			org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EspException[] arr = new org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy