package ebayopensource.apis.eblbasecomponents; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ActionPriorityCodeType. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ActionPriorityCodeType"> * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> * <enumeration value="High"/> * <enumeration value="Low"/> * <enumeration value="CustomCode"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ActionPriorityCodeType") @XmlEnum public enum ActionPriorityCodeType { @XmlEnumValue("High") HIGH("High"), @XmlEnumValue("Low") LOW("Low"), @XmlEnumValue("CustomCode") CUSTOM_CODE("CustomCode"); private final String value; ActionPriorityCodeType(String v) { value = v; } public String value() { return value; } public static ActionPriorityCodeType fromValue(String v) { for (ActionPriorityCodeType c: ActionPriorityCodeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }