diff options
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/sl/schema/CardActionResponseType.java')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/sl/schema/CardActionResponseType.java | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/schema/CardActionResponseType.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/schema/CardActionResponseType.java new file mode 100644 index 00000000..d4507616 --- /dev/null +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/schema/CardActionResponseType.java @@ -0,0 +1,66 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2014.04.22 at 04:01:10 PM CEST +// + + +package at.gv.egiz.sl.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CardActionResponseType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="CardActionResponseType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="OK"/> + * <enumeration value="Error"/> + * <enumeration value="Blocked"/> + * <enumeration value="Activ"/> + * <enumeration value="Inactive"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "CardActionResponseType") +@XmlEnum +public enum CardActionResponseType { + + OK("OK"), + @XmlEnumValue("Error") + ERROR("Error"), + @XmlEnumValue("Blocked") + BLOCKED("Blocked"), + @XmlEnumValue("Activ") + ACTIV("Activ"), + @XmlEnumValue("Inactive") + INACTIVE("Inactive"); + private final String value; + + CardActionResponseType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static CardActionResponseType fromValue(String v) { + for (CardActionResponseType c: CardActionResponseType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} |