EnumerationValue.java 2.25 KB
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//
package pl.itcrowd.youtrack.api.rest;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;

/**
 * <p>Java class for enumerationValueType complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p/>
 * <pre>
 * &lt;complexType name="enumerationValueType">
 *   &lt;simpleContent>
 *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 *       &lt;attribute name="colorIndex" type="{http://www.w3.org/2001/XMLSchema}long" />
 *     &lt;/extension>
 *   &lt;/simpleContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "enumerationValueType", propOrder = {"value"})
public class EnumerationValue {
// ------------------------------ FIELDS ------------------------------

    @XmlAttribute
    protected Long colorIndex;

    @XmlValue
    protected String value;

// --------------------- GETTER / SETTER METHODS ---------------------

    /**
     * Gets the value of the colorIndex property.
     *
     * @return possible object is
     *         {@link Long }
     */
    public Long getColorIndex()
    {
        return colorIndex;
    }

    /**
     * Sets the value of the colorIndex property.
     *
     * @param value allowed object is
     *              {@link Long }
     */
    public void setColorIndex(Long value)
    {
        this.colorIndex = value;
    }

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

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