Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
 
2
3
 
4
import javax.xml.bind.annotation.XmlEnumValue;
5
import javax.xml.bind.annotation.XmlType;
6
7
 
8
 
9
 * <p>Java class for Transition-Type.
10
 *
11
 * <p>The following schema fragment specifies the expected content contained within this class.
12
 * <p>
13
 * <pre>
14
 * &lt;simpleType name="Transition-Type">
15
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
16
 *     &lt;enumeration value="TRANSITION-REGULAR"/>
17
 *     &lt;enumeration value="TRANSITION-COPY"/>
18
 *     &lt;enumeration value="TRANSITION-POST"/>
19
 *     &lt;enumeration value="TRANSITION-SUBMITPROBLEM"/>
20
 *     &lt;enumeration value="TRANSITION-MOBILE"/>
21
 *     &lt;enumeration value="TRANSITION-SUBTASK"/>
22
 *     &lt;enumeration value="TRANSITION-UPDATE"/>
23
 *     &lt;enumeration value="TRANSITION-DELETE"/>
24
 *     &lt;enumeration value="TRANSITION-EXTERNALPOST"/>
25
 *   &lt;/restriction>
26
 * &lt;/simpleType>
27
 * </pre>
28
 *
29
 */
30
@XmlType(name = "Transition-Type")
31
@XmlEnum
32
public enum TransitionType {
33
34
 
35
    TRANSITION_REGULAR("TRANSITION-REGULAR"),
36
    @XmlEnumValue("TRANSITION-COPY")
37
    TRANSITION_COPY("TRANSITION-COPY"),
38
    @XmlEnumValue("TRANSITION-POST")
39
    TRANSITION_POST("TRANSITION-POST"),
40
    @XmlEnumValue("TRANSITION-SUBMITPROBLEM")
41
    TRANSITION_SUBMITPROBLEM("TRANSITION-SUBMITPROBLEM"),
42
    @XmlEnumValue("TRANSITION-MOBILE")
43
    TRANSITION_MOBILE("TRANSITION-MOBILE"),
44
    @XmlEnumValue("TRANSITION-SUBTASK")
45
    TRANSITION_SUBTASK("TRANSITION-SUBTASK"),
46
    @XmlEnumValue("TRANSITION-UPDATE")
47
    TRANSITION_UPDATE("TRANSITION-UPDATE"),
48
    @XmlEnumValue("TRANSITION-DELETE")
49
    TRANSITION_DELETE("TRANSITION-DELETE"),
50
    @XmlEnumValue("TRANSITION-EXTERNALPOST")
51
    TRANSITION_EXTERNALPOST("TRANSITION-EXTERNALPOST");
52
    private final String value;
53
54
 
55
        value = v;
56
    }
57
58
 
59
        return value;
60
    }
61
62
 
63
        for (TransitionType c: TransitionType.values()) {
64
            if (c.value.equals(v)) {
65
                return c;
66
            }
67
        }
68
        throw new IllegalArgumentException(v);
69
    }
70
71
 
72