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

org.hpccsystems.ws.client.wrappers.wsworkunits.NamedValueWrapper 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.18-1
Show newest version
package org.hpccsystems.ws.client.wrappers.wsworkunits;

import org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.NamedValue;

public class NamedValueWrapper
{

    private String name;
    private String value;

    /**
     * Instantiates a new named value wrapper.
     */
    public NamedValueWrapper()
    {
    }

    /**
     * Instantiates a new named value wrapper.
     *
     * @param name
     *            the name
     * @param value
     *            the value
     */
    public NamedValueWrapper(String name, String value)
    {
        this.name = name;
        this.value = value;
    }

    /**
     * Instantiates a new named value wrapper.
     *
     * @param raw
     *            the raw
     */
    public NamedValueWrapper(NamedValue raw)
    {
        name = raw.getName();
        value = raw.getValue();
    }

    /**
     * Gets the value.
     *
     * @return the value
     */
    public String getValue()
    {
        return value;
    }

    /**
     * Sets the value.
     *
     * @param value
     *            the new value
     */
    public void setValue(String value)
    {
        this.value = value;
    }

    /**
     * Gets the name.
     *
     * @return the name
     */
    public String getName()
    {
        return name;
    }

    /**
     * Sets the name.
     *
     * @param name
     *            the new name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * Gets the raw.
     *
     * @return the raw
     */
    public NamedValue getRaw()
    {
        NamedValue nv = new NamedValue();
        nv.setName(name);
        nv.setValue(value);
        return nv;
    }

    /**
     * Gets the 1 75.
     *
     * @return the 1 75
     */
    public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.NamedValue get1_75()
    {
        org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.NamedValue nv = new NamedValue();
        nv.setName(name);
        nv.setValue(value);
        return nv;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy