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 ItemLink-Type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="ItemLink-Type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="DEFAULT-ITEM-LINK"/>
* <enumeration value="TWOWAY-NO-TRIGGERS"/>
* <enumeration value="ONEWAY-NO-TRIGGERS"/>
* <enumeration value="ONEWAY-CURRENT-TRIGGERS-LINKED"/>
* <enumeration value="TWOWAY-CURRENT-TRIGGERS-LINKED"/>
* <enumeration value="TWOWAY-LINKED-TRIGGERS-CURRENT"/>
* <enumeration value="TWOWAY-BOTH-TRIGGERS"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "ItemLink-Type")
@XmlEnum
public enum ItemLinkType {
@XmlEnumValue("DEFAULT-ITEM-LINK")
DEFAULT_ITEM_LINK("DEFAULT-ITEM-LINK"),
@XmlEnumValue("TWOWAY-NO-TRIGGERS")
TWOWAY_NO_TRIGGERS("TWOWAY-NO-TRIGGERS"),
@XmlEnumValue("ONEWAY-NO-TRIGGERS")
ONEWAY_NO_TRIGGERS("ONEWAY-NO-TRIGGERS"),
@XmlEnumValue("ONEWAY-CURRENT-TRIGGERS-LINKED")
ONEWAY_CURRENT_TRIGGERS_LINKED("ONEWAY-CURRENT-TRIGGERS-LINKED"),
@XmlEnumValue("TWOWAY-CURRENT-TRIGGERS-LINKED")
TWOWAY_CURRENT_TRIGGERS_LINKED("TWOWAY-CURRENT-TRIGGERS-LINKED"),
@XmlEnumValue("TWOWAY-LINKED-TRIGGERS-CURRENT")
TWOWAY_LINKED_TRIGGERS_CURRENT("TWOWAY-LINKED-TRIGGERS-CURRENT"),
@XmlEnumValue("TWOWAY-BOTH-TRIGGERS")
TWOWAY_BOTH_TRIGGERS("TWOWAY-BOTH-TRIGGERS");
private final String value;
ItemLinkType(String v) {
value = v;
}
public String value() {
return value;
}
public static ItemLinkType fromValue(String v) {
for (ItemLinkType c: ItemLinkType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}