org.hpccsystems.ws.client.wrappers.gen.wspackageprocess.BasePackageStatusWrapper 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.
*******************************************************************************/
/**
* Generated Axis2 ADB stub class wrapper
* Class name: BasePackageStatusWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus
* Output package : org.hpccsystems.ws.client.wrappers.gen.wspackageprocess
* TimeStamp: 2020-09-23T03:53:35.674Z
*/
public class BasePackageStatusWrapper
{
protected int local_code;
protected String local_description;
public BasePackageStatusWrapper() {}
public BasePackageStatusWrapper( org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus basepackagestatus)
{
copy( basepackagestatus );
}
public BasePackageStatusWrapper( int _code, String _description )
{
this.local_code = _code;
this.local_description = _description;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus raw )
{
if (raw == null)
return;
this.local_code = raw.getCode();
this.local_description = raw.getDescription();
}
@Override
public String toString()
{
return "BasePackageStatusWrapper [" + "code = " + local_code + ", " + "description = " + local_description + "]";
}
public org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus getRaw()
{
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus raw = new org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.BasePackageStatus();
raw.setCode( local_code);
raw.setDescription( local_description);
return raw;
}
public void setCode( int _code )
{
this.local_code = _code;
}
public int getCode( )
{
return this.local_code;
}
public void setDescription( String _description )
{
this.local_description = _description;
}
public String getDescription( )
{
return this.local_description;
}
}