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

org.hpccsystems.ws.client.wrappers.gen.wssql.EclFieldTypeWrapper 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.8.0-1
Show newest version
package org.hpccsystems.ws.client.wrappers.gen.wssql;



/*******************************************************************************
 * HPCC SYSTEMS software Copyright (C) 2021 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.v3_06.EclFieldType
 * Output package : org.hpccsystems.ws.client.wrappers.gen.wssql
 * TimeStamp: 2021-05-14T01:46:09.102Z
 */
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.latest.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.latest.EclFieldType raw )
    {
        if (raw == null)
            return;

        if (raw.getType() != null)
            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.latest.EclFieldType getRaw()
    {
        org.hpccsystems.ws.client.gen.axis2.wssql.latest.EclFieldType raw = new org.hpccsystems.ws.client.gen.axis2.wssql.latest.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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy