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 ItemLink-Type.
10
 *
11
 * <p>The following schema fragment specifies the expected content contained within this class.
12
 * <p>
13
 * <pre>
14
 * &lt;simpleType name="ItemLink-Type">
15
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
16
 *     &lt;enumeration value="DEFAULT-ITEM-LINK"/>
17
 *     &lt;enumeration value="TWOWAY-NO-TRIGGERS"/>
18
 *     &lt;enumeration value="ONEWAY-NO-TRIGGERS"/>
19
 *     &lt;enumeration value="ONEWAY-CURRENT-TRIGGERS-LINKED"/>
20
 *     &lt;enumeration value="TWOWAY-CURRENT-TRIGGERS-LINKED"/>
21
 *     &lt;enumeration value="TWOWAY-LINKED-TRIGGERS-CURRENT"/>
22
 *     &lt;enumeration value="TWOWAY-BOTH-TRIGGERS"/>
23
 *   &lt;/restriction>
24
 * &lt;/simpleType>
25
 * </pre>
26
 *
27
 */
28
@XmlType(name = "ItemLink-Type")
29
@XmlEnum
30
public enum ItemLinkType {
31
32
 
33
    DEFAULT_ITEM_LINK("DEFAULT-ITEM-LINK"),
34
    @XmlEnumValue("TWOWAY-NO-TRIGGERS")
35
    TWOWAY_NO_TRIGGERS("TWOWAY-NO-TRIGGERS"),
36
    @XmlEnumValue("ONEWAY-NO-TRIGGERS")
37
    ONEWAY_NO_TRIGGERS("ONEWAY-NO-TRIGGERS"),
38
    @XmlEnumValue("ONEWAY-CURRENT-TRIGGERS-LINKED")
39
    ONEWAY_CURRENT_TRIGGERS_LINKED("ONEWAY-CURRENT-TRIGGERS-LINKED"),
40
    @XmlEnumValue("TWOWAY-CURRENT-TRIGGERS-LINKED")
41
    TWOWAY_CURRENT_TRIGGERS_LINKED("TWOWAY-CURRENT-TRIGGERS-LINKED"),
42
    @XmlEnumValue("TWOWAY-LINKED-TRIGGERS-CURRENT")
43
    TWOWAY_LINKED_TRIGGERS_CURRENT("TWOWAY-LINKED-TRIGGERS-CURRENT"),
44
    @XmlEnumValue("TWOWAY-BOTH-TRIGGERS")
45
    TWOWAY_BOTH_TRIGGERS("TWOWAY-BOTH-TRIGGERS");
46
    private final String value;
47
48
 
49
        value = v;
50
    }
51
52
 
53
        return value;
54
    }
55
56
 
57
        for (ItemLinkType c: ItemLinkType.values()) {
58
            if (c.value.equals(v)) {
59
                return c;
60
            }
61
        }
62
        throw new IllegalArgumentException(v);
63
    }
64
65
 
66