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

org.hpccsystems.ws.client.wrappers.gen.wssql.OutParams_type0Wrapper 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.6.10-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.util.List;
import java.util.ArrayList;

/**
 * Generated Axis2 ADB stub class wrapper
 * Class name: OutParams_type0Wrapper
 * Wraps class: org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0
 * Output package : org.hpccsystems.ws.client.wrappers.gen.wssql
 */
public class OutParams_type0Wrapper
{
    protected List local_outParam = null;

    public OutParams_type0Wrapper() {}

    public OutParams_type0Wrapper( org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0 outparams_type0)
    {
        copy( outparams_type0 );
    }
    public OutParams_type0Wrapper( List _outParam )
    {
        this.local_outParam = _outParam;

    }

    private void copy( org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0 raw )
    {
        if (raw == null)
            return;

        if (raw.getOutParam() != null)
        {
            this.local_outParam = new ArrayList();
            for ( int i = 0; i < raw.getOutParam().length; i++)
            {
                this.local_outParam.add(new HPCCColumnWrapper(raw.getOutParam()[i]));
            }
        }
    }

    @Override
    public String toString()
    {
        return "OutParams_type0Wrapper [" + "outParam = " + local_outParam + "]";
    }
    public org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0 getRaw()
    {
        org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0 raw = new org.hpccsystems.ws.client.gen.axis2.wssql.latest.OutParams_type0();
        if (this.local_outParam!= null)
        {
            org.hpccsystems.ws.client.gen.axis2.wssql.latest.HPCCColumn[] arr = new org.hpccsystems.ws.client.gen.axis2.wssql.latest.HPCCColumn[this.local_outParam.size()];
            for ( int i = 0; i < this.local_outParam.size(); i++)
            {
                arr[i] = this.local_outParam.get(i) .getRaw();
            }
            raw.setOutParam(arr);
        }
        return raw;
    }


    public void setOutParam( List _outParam )
    {
        this.local_outParam = _outParam;
    }
    public List getOutParam( )
    {
        return this.local_outParam;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy