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

org.hpccsystems.ws.client.wrappers.gen.wsdfu.DFUDefFileRequestWrapper Maven / Gradle / Ivy

package org.hpccsystems.ws.client.wrappers.gen.wsdfu;



/*******************************************************************************
 * 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.
 *******************************************************************************/

/**
 * Generated Axis2 ADB stub class wrapper
 * WrapperMaker version: 1.7
 * Class name: DFUDefFileRequestWrapper
 * Wraps class: org.hpccsystems.ws.client.gen.axis2.wsdfu.latest.DFUDefFileRequest
 * Output package : org.hpccsystems.ws.client.wrappers.gen.wsdfu
 * Service version: 1.64
 */
public class DFUDefFileRequestWrapper
{
    protected String local_name;
    protected DFUDefFileFormatWrapper local_format;

    public DFUDefFileRequestWrapper() {}

    public DFUDefFileRequestWrapper( org.hpccsystems.ws.client.gen.axis2.wsdfu.latest.DFUDefFileRequest dfudeffilerequest)
    {
        copy( dfudeffilerequest );
    }
    public DFUDefFileRequestWrapper( String _name, DFUDefFileFormatWrapper _format )
    {
        this.local_name = _name;
        this.local_format = _format;

    }

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

        this.local_name = raw.getName();
        if (raw.getFormat() != null)
            this.local_format = new DFUDefFileFormatWrapper( raw.getFormat());

    }

    @Override
    public String toString()
    {
        return "DFUDefFileRequestWrapper [" + "name = " + local_name + ", " + "format = " + local_format + "]";
    }
    public org.hpccsystems.ws.client.gen.axis2.wsdfu.latest.DFUDefFileRequest getRaw()
    {
        org.hpccsystems.ws.client.gen.axis2.wsdfu.latest.DFUDefFileRequest raw = new org.hpccsystems.ws.client.gen.axis2.wsdfu.latest.DFUDefFileRequest();
        raw.setName( local_name);
        if (local_format != null)
            raw.setFormat( local_format.getRaw());
        return raw;
    }


    public void setName( String _name )
    {
        this.local_name = _name;
    }
    public String getName( )
    {
        return this.local_name;
    }
    public void setFormat( DFUDefFileFormatWrapper _format )
    {
        this.local_format = _format;
    }
    public DFUDefFileFormatWrapper getFormat( )
    {
        return this.local_format;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy