org.hpccsystems.ws.client.wrappers.gen.wssql.EclFieldTypeWrapper 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.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.math.BigInteger;
/**
* Generated Axis2 ADB stub class wrapper
* Class name: EclFieldTypeWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType
* Output package : org.hpccsystems.ws.client.wrappers.gen.wssql
* TimeStamp: 2019-08-13T16:31:16.546Z
*/
public class EclFieldTypeWrapper
{
protected HPCCFieldTypeWrapper local_type;
protected String local_locale;
protected BigInteger local_length;
protected BigInteger local_precision;
public EclFieldTypeWrapper() {}
public EclFieldTypeWrapper( org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType eclfieldtype)
{
copy( eclfieldtype );
}
public EclFieldTypeWrapper( HPCCFieldTypeWrapper _type, String _locale, BigInteger _length, BigInteger _precision )
{
this.local_type = _type;
this.local_locale = _locale;
this.local_length = _length;
this.local_precision = _precision;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType raw )
{
if (raw == null)
return;
this.local_type = new HPCCFieldTypeWrapper( raw.getType());
this.local_locale = raw.getLocale();
this.local_length = raw.getLength();
this.local_precision = raw.getPrecision();
}
@Override
public String toString()
{
return "EclFieldTypeWrapper [" + "type = " + local_type + ", " + "locale = " + local_locale + ", " + "length = " + local_length + ", " + "precision = " + local_precision + "]";
}
public org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType getRaw()
{
org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType raw = new org.hpccsystems.ws.client.gen.axis2.wssql.v1_05.EclFieldType();
raw.setLocale( local_locale);
raw.setLength( local_length);
raw.setPrecision( local_precision);
return raw;
}
public void setType( HPCCFieldTypeWrapper _type )
{
this.local_type = _type;
}
public HPCCFieldTypeWrapper getType( )
{
return this.local_type;
}
public void setLocale( String _locale )
{
this.local_locale = _locale;
}
public String getLocale( )
{
return this.local_locale;
}
public void setLength( BigInteger _length )
{
this.local_length = _length;
}
public BigInteger getLength( )
{
return this.local_length;
}
public void setPrecision( BigInteger _precision )
{
this.local_precision = _precision;
}
public BigInteger getPrecision( )
{
return this.local_precision;
}
}