org.hpccsystems.ws.client.wrappers.gen.wsdfu.DFUFilePartWrapper 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) 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: DFUFilePartWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart
* Output package : org.hpccsystems.ws.client.wrappers.gen.wsdfu
* TimeStamp: 2021-03-26T20:56:01.765Z
*/
public class DFUFilePartWrapper
{
protected int local_partIndex;
protected ArrayOfDFUFileCopyWrapper local_copies;
protected boolean local_topLevelKey;
public DFUFilePartWrapper() {}
public DFUFilePartWrapper( org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart dfufilepart)
{
copy( dfufilepart );
}
public DFUFilePartWrapper( int _partIndex, ArrayOfDFUFileCopyWrapper _copies, boolean _topLevelKey )
{
this.local_partIndex = _partIndex;
this.local_copies = _copies;
this.local_topLevelKey = _topLevelKey;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart raw )
{
if (raw == null)
return;
this.local_partIndex = raw.getPartIndex();
if (raw.getCopies() != null)
this.local_copies = new ArrayOfDFUFileCopyWrapper( raw.getCopies());
this.local_topLevelKey = raw.getTopLevelKey();
}
@Override
public String toString()
{
return "DFUFilePartWrapper [" + "partIndex = " + local_partIndex + ", " + "copies = " + local_copies + ", " + "topLevelKey = " + local_topLevelKey + "]";
}
public org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart getRaw()
{
org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart raw = new org.hpccsystems.ws.client.gen.axis2.wsdfu.v1_57.DFUFilePart();
raw.setPartIndex( local_partIndex);
raw.setTopLevelKey( local_topLevelKey);
return raw;
}
public void setPartIndex( int _partIndex )
{
this.local_partIndex = _partIndex;
}
public int getPartIndex( )
{
return this.local_partIndex;
}
public void setCopies( ArrayOfDFUFileCopyWrapper _copies )
{
this.local_copies = _copies;
}
public ArrayOfDFUFileCopyWrapper getCopies( )
{
return this.local_copies;
}
public void setTopLevelKey( boolean _topLevelKey )
{
this.local_topLevelKey = _topLevelKey;
}
public boolean getTopLevelKey( )
{
return this.local_topLevelKey;
}
}