View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed
package net.brutex.sbm.wsclient;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Transition-Type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="Transition-Type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="TRANSITION-REGULAR"/>
* <enumeration value="TRANSITION-COPY"/>
* <enumeration value="TRANSITION-POST"/>
* <enumeration value="TRANSITION-SUBMITPROBLEM"/>
* <enumeration value="TRANSITION-MOBILE"/>
* <enumeration value="TRANSITION-SUBTASK"/>
* <enumeration value="TRANSITION-UPDATE"/>
* <enumeration value="TRANSITION-DELETE"/>
* <enumeration value="TRANSITION-EXTERNALPOST"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "Transition-Type")
@XmlEnum
public enum TransitionType {
@XmlEnumValue("TRANSITION-REGULAR")
TRANSITION_REGULAR("TRANSITION-REGULAR"),
@XmlEnumValue("TRANSITION-COPY")
TRANSITION_COPY("TRANSITION-COPY"),
@XmlEnumValue("TRANSITION-POST")
TRANSITION_POST("TRANSITION-POST"),
@XmlEnumValue("TRANSITION-SUBMITPROBLEM")
TRANSITION_SUBMITPROBLEM("TRANSITION-SUBMITPROBLEM"),
@XmlEnumValue("TRANSITION-MOBILE")
TRANSITION_MOBILE("TRANSITION-MOBILE"),
@XmlEnumValue("TRANSITION-SUBTASK")
TRANSITION_SUBTASK("TRANSITION-SUBTASK"),
@XmlEnumValue("TRANSITION-UPDATE")
TRANSITION_UPDATE("TRANSITION-UPDATE"),
@XmlEnumValue("TRANSITION-DELETE")
TRANSITION_DELETE("TRANSITION-DELETE"),
@XmlEnumValue("TRANSITION-EXTERNALPOST")
TRANSITION_EXTERNALPOST("TRANSITION-EXTERNALPOST");
private final String value;
TransitionType(String v) {
value = v;
}
public String value() {
return value;
}
public static TransitionType fromValue(String v) {
for (TransitionType c: TransitionType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}