Subversion Repositories XServices

Rev

Rev 30 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed


package net.brutex.sbm.wsclient;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for NameValue complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="NameValue">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
 *         &lt;element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="setValueBy" type="{urn:aewebservices71}Set-Value-By" minOccurs="0"/>
 *         &lt;element name="setValueMethod" type="{urn:aewebservices71}Set-Value-Method" minOccurs="0"/>
 *         &lt;choice>
 *           &lt;element name="value" type="{urn:aewebservices71}Value" minOccurs="0"/>
 *           &lt;element name="values" type="{urn:aewebservices71}Value" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;/choice>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NameValue", propOrder = {
    "name",
    "id",
    "uuid",
    "setValueBy",
    "setValueMethod",
    "value",
    "values"
})
public class NameValue {

    @XmlElementRef(name = "name", namespace = "urn:aewebservices71", type = JAXBElement.class)
    protected JAXBElement<String> name;
    protected BigInteger id;
    @XmlElementRef(name = "uuid", namespace = "urn:aewebservices71", type = JAXBElement.class)
    protected JAXBElement<String> uuid;
    @XmlElementRef(name = "setValueBy", namespace = "urn:aewebservices71", type = JAXBElement.class)
    protected JAXBElement<SetValueBy> setValueBy;
    @XmlElementRef(name = "setValueMethod", namespace = "urn:aewebservices71", type = JAXBElement.class)
    protected JAXBElement<SetValueMethod> setValueMethod;
    @XmlElementRef(name = "value", namespace = "urn:aewebservices71", type = JAXBElement.class)
    protected JAXBElement<Value> value;
    protected List<Value> values;

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setName(JAXBElement<String> value) {
        this.name = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setId(BigInteger value) {
        this.id = value;
    }

    /**
     * Gets the value of the uuid property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getUuid() {
        return uuid;
    }

    /**
     * Sets the value of the uuid property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setUuid(JAXBElement<String> value) {
        this.uuid = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the setValueBy property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link SetValueBy }{@code >}
     *     
     */
    public JAXBElement<SetValueBy> getSetValueBy() {
        return setValueBy;
    }

    /**
     * Sets the value of the setValueBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link SetValueBy }{@code >}
     *     
     */
    public void setSetValueBy(JAXBElement<SetValueBy> value) {
        this.setValueBy = ((JAXBElement<SetValueBy> ) value);
    }

    /**
     * Gets the value of the setValueMethod property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link SetValueMethod }{@code >}
     *     
     */
    public JAXBElement<SetValueMethod> getSetValueMethod() {
        return setValueMethod;
    }

    /**
     * Sets the value of the setValueMethod property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link SetValueMethod }{@code >}
     *     
     */
    public void setSetValueMethod(JAXBElement<SetValueMethod> value) {
        this.setValueMethod = ((JAXBElement<SetValueMethod> ) value);
    }

    /**
     * Gets the value of the value property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Value }{@code >}
     *     
     */
    public JAXBElement<Value> getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Value }{@code >}
     *     
     */
    public void setValue(JAXBElement<Value> value) {
        this.value = ((JAXBElement<Value> ) value);
    }

    /**
     * Gets the value of the values property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the values property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getValues().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Value }
     * 
     * 
     */
    public List<Value> getValues() {
        if (values == null) {
            values = new ArrayList<Value>();
        }
        return this.values;
    }

}