diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java | 237 |
1 files changed, 237 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java new file mode 100644 index 0000000..3d818a6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java @@ -0,0 +1,237 @@ + +package at.gv.util.xsd.zuserech; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TokenEntry" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tokenEntry" +}) +@XmlRootElement(name = "ValidateTokenResponse") +public class ValidateTokenResponse { + + @XmlElement(name = "TokenEntry", required = true) + protected List<ValidateTokenResponse.TokenEntry> tokenEntry; + + /** + * Gets the value of the tokenEntry property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the tokenEntry property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTokenEntry().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ValidateTokenResponse.TokenEntry } + * + * + */ + public List<ValidateTokenResponse.TokenEntry> getTokenEntry() { + if (tokenEntry == null) { + tokenEntry = new ArrayList<ValidateTokenResponse.TokenEntry>(); + } + return this.tokenEntry; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "success", + "error" + }) + public static class TokenEntry { + + @XmlElement(name = "Success") + protected ValidateTokenResponse.TokenEntry.Success success; + @XmlElement(name = "Error") + protected ErrorType error; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public ValidateTokenResponse.TokenEntry.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public void setSuccess(ValidateTokenResponse.TokenEntry.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getID() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setID(String value) { + this.id = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + + } + +} |