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 |
* <simpleType name="ItemLink-Type">
|
|
|
15 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
16 |
* <enumeration value="DEFAULT-ITEM-LINK"/>
|
|
|
17 |
* <enumeration value="TWOWAY-NO-TRIGGERS"/>
|
|
|
18 |
* <enumeration value="ONEWAY-NO-TRIGGERS"/>
|
|
|
19 |
* <enumeration value="ONEWAY-CURRENT-TRIGGERS-LINKED"/>
|
|
|
20 |
* <enumeration value="TWOWAY-CURRENT-TRIGGERS-LINKED"/>
|
|
|
21 |
* <enumeration value="TWOWAY-LINKED-TRIGGERS-CURRENT"/>
|
|
|
22 |
* <enumeration value="TWOWAY-BOTH-TRIGGERS"/>
|
|
|
23 |
* </restriction>
|
|
|
24 |
* </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 |
|