org.hpccsystems.ws.client.wrappers.gen.filespray.ArrayOfDFUWorkunitWrapper Maven / Gradle / Ivy
package org.hpccsystems.ws.client.wrappers.gen.filespray;
/*******************************************************************************
* 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: ArrayOfDFUWorkunitWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit
* Output package : org.hpccsystems.ws.client.wrappers.gen.filespray
* TimeStamp: 2020-09-23T03:42:02.541Z
*/
public class ArrayOfDFUWorkunitWrapper
{
protected List local_dFUWorkunit = null;
public ArrayOfDFUWorkunitWrapper() {}
public ArrayOfDFUWorkunitWrapper( org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit arrayofdfuworkunit)
{
copy( arrayofdfuworkunit );
}
public ArrayOfDFUWorkunitWrapper( List _dFUWorkunit )
{
this.local_dFUWorkunit = _dFUWorkunit;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit raw )
{
if (raw == null)
return;
if (raw.getDFUWorkunit() != null)
{
this.local_dFUWorkunit = new ArrayList();
for ( int i = 0; i < raw.getDFUWorkunit().length; i++)
{
this.local_dFUWorkunit.add(new DFUWorkunitWrapper(raw.getDFUWorkunit()[i]));
}
}
}
@Override
public String toString()
{
return "ArrayOfDFUWorkunitWrapper [" + "dFUWorkunit = " + local_dFUWorkunit + "]";
}
public org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit getRaw()
{
org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit raw = new org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.ArrayOfDFUWorkunit();
if (this.local_dFUWorkunit!= null)
{
org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.DFUWorkunit[] arr = new org.hpccsystems.ws.client.gen.axis2.filespray.v1_20.DFUWorkunit[this.local_dFUWorkunit.size()];
for ( int i = 0; i < this.local_dFUWorkunit.size(); i++)
{
arr[i] = this.local_dFUWorkunit.get(i) .getRaw();
}
raw.setDFUWorkunit(arr);
}
return raw;
}
public void setDFUWorkunit( List _dFUWorkunit )
{
this.local_dFUWorkunit = _dFUWorkunit;
}
public List getDFUWorkunit( )
{
return this.local_dFUWorkunit;
}
}