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 Field-Type.
10
 *
11
 * <p>The following schema fragment specifies the expected content contained within this class.
12
 * <p>
13
 * <pre>
14
 * &lt;simpleType name="Field-Type">
15
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
16
 *     &lt;enumeration value="FLDTYPE-UNKNOWN"/>
17
 *     &lt;enumeration value="FLDTYPE-NUMERIC"/>
18
 *     &lt;enumeration value="FLDTYPE-TEXT"/>
19
 *     &lt;enumeration value="FLDTYPE-DATETIME"/>
20
 *     &lt;enumeration value="FLDTYPE-SELECTION"/>
21
 *     &lt;enumeration value="FLDTYPE-BINARY"/>
22
 *     &lt;enumeration value="FLDTYPE-STATE"/>
23
 *     &lt;enumeration value="FLDTYPE-USER"/>
24
 *     &lt;enumeration value="FLDTYPE-PROJECT"/>
25
 *     &lt;enumeration value="FLDTYPE-SUMMATION"/>
26
 *     &lt;enumeration value="FLDTYPE-MULTIPLE-SELECTION"/>
27
 *     &lt;enumeration value="FLDTYPE-CONTACT"/>
28
 *     &lt;enumeration value="FLDTYPE-INCIDENT"/>
29
 *     &lt;enumeration value="FLDTYPE-FOLDER"/>
30
 *     &lt;enumeration value="FLDTYPE-RELATIONAL"/>
31
 *     &lt;enumeration value="FLDTYPE-SUBRELATIONAL"/>
32
 *     &lt;enumeration value="FLDTYPE-SYSTEM"/>
33
 *     &lt;enumeration value="FLDTYPE-MULTIPLE-RELATIONAL"/>
34
 *     &lt;enumeration value="FLDTYPE-MULTIPLE-GROUP"/>
35
 *     &lt;enumeration value="FLDTYPE-MULTIPLE-USERGROUP"/>
36
 *   &lt;/restriction>
37
 * &lt;/simpleType>
38
 * </pre>
39
 *
40
 */
41
@XmlType(name = "Field-Type")
42
@XmlEnum
43
public enum FieldType {
44
45
 
46
    FLDTYPE_UNKNOWN("FLDTYPE-UNKNOWN"),
47
    @XmlEnumValue("FLDTYPE-NUMERIC")
48
    FLDTYPE_NUMERIC("FLDTYPE-NUMERIC"),
49
    @XmlEnumValue("FLDTYPE-TEXT")
50
    FLDTYPE_TEXT("FLDTYPE-TEXT"),
51
    @XmlEnumValue("FLDTYPE-DATETIME")
52
    FLDTYPE_DATETIME("FLDTYPE-DATETIME"),
53
    @XmlEnumValue("FLDTYPE-SELECTION")
54
    FLDTYPE_SELECTION("FLDTYPE-SELECTION"),
55
    @XmlEnumValue("FLDTYPE-BINARY")
56
    FLDTYPE_BINARY("FLDTYPE-BINARY"),
57
    @XmlEnumValue("FLDTYPE-STATE")
58
    FLDTYPE_STATE("FLDTYPE-STATE"),
59
    @XmlEnumValue("FLDTYPE-USER")
60
    FLDTYPE_USER("FLDTYPE-USER"),
61
    @XmlEnumValue("FLDTYPE-PROJECT")
62
    FLDTYPE_PROJECT("FLDTYPE-PROJECT"),
63
    @XmlEnumValue("FLDTYPE-SUMMATION")
64
    FLDTYPE_SUMMATION("FLDTYPE-SUMMATION"),
65
    @XmlEnumValue("FLDTYPE-MULTIPLE-SELECTION")
66
    FLDTYPE_MULTIPLE_SELECTION("FLDTYPE-MULTIPLE-SELECTION"),
67
    @XmlEnumValue("FLDTYPE-CONTACT")
68
    FLDTYPE_CONTACT("FLDTYPE-CONTACT"),
69
    @XmlEnumValue("FLDTYPE-INCIDENT")
70
    FLDTYPE_INCIDENT("FLDTYPE-INCIDENT"),
71
    @XmlEnumValue("FLDTYPE-FOLDER")
72
    FLDTYPE_FOLDER("FLDTYPE-FOLDER"),
73
    @XmlEnumValue("FLDTYPE-RELATIONAL")
74
    FLDTYPE_RELATIONAL("FLDTYPE-RELATIONAL"),
75
    @XmlEnumValue("FLDTYPE-SUBRELATIONAL")
76
    FLDTYPE_SUBRELATIONAL("FLDTYPE-SUBRELATIONAL"),
77
    @XmlEnumValue("FLDTYPE-SYSTEM")
78
    FLDTYPE_SYSTEM("FLDTYPE-SYSTEM"),
79
    @XmlEnumValue("FLDTYPE-MULTIPLE-RELATIONAL")
80
    FLDTYPE_MULTIPLE_RELATIONAL("FLDTYPE-MULTIPLE-RELATIONAL"),
81
    @XmlEnumValue("FLDTYPE-MULTIPLE-GROUP")
82
    FLDTYPE_MULTIPLE_GROUP("FLDTYPE-MULTIPLE-GROUP"),
83
    @XmlEnumValue("FLDTYPE-MULTIPLE-USERGROUP")
84
    FLDTYPE_MULTIPLE_USERGROUP("FLDTYPE-MULTIPLE-USERGROUP");
85
    private final String value;
86
87
 
88
        value = v;
89
    }
90
91
 
92
        return value;
93
    }
94
95
 
96
        for (FieldType c: FieldType.values()) {
97
            if (c.value.equals(v)) {
98
                return c;
99
            }
100
        }
101
        throw new IllegalArgumentException(v);
102
    }
103
104
 
105