//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 
// 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. 
// Generated on: 2010.05.11 at 10:12:06 AM CEST 
//


package es.bsc.nuba.fco.tcloud;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;


/**
 * <p>Java class for CallbackStatus_Type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="CallbackStatus_Type">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="new"/>
 *     &lt;enumeration value="accepting"/>
 *     &lt;enumeration value="rejecting"/>
 *     &lt;enumeration value="removed"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlEnum
public enum CallbackStatusType {

    @XmlEnumValue("new")
    NEW("new"),
    @XmlEnumValue("accepting")
    ACCEPTING("accepting"),
    @XmlEnumValue("rejecting")
    REJECTING("rejecting"),
    @XmlEnumValue("removed")
    REMOVED("removed");
    private final String value;

    CallbackStatusType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static CallbackStatusType fromValue(String v) {
        for (CallbackStatusType c: CallbackStatusType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
