summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/xsd/zkopf/AnswerType.java')
-rw-r--r--src/main/java/at/gv/util/xsd/zkopf/AnswerType.java287
1 files changed, 287 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java b/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java
new file mode 100644
index 0000000..8c4ad97
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java
@@ -0,0 +1,287 @@
+
+package at.gv.util.xsd.zkopf;
+
+import java.math.BigInteger;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for AnswerType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="AnswerType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;choice>
+ * &lt;element name="Success">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
+ * &lt;element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="Error">
+ * &lt;complexType>
+ * &lt;simpleContent>
+ * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>positiveInteger">
+ * &lt;/extension>
+ * &lt;/simpleContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/choice>
+ * &lt;attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AnswerType", propOrder = {
+ "success",
+ "error"
+})
+public class AnswerType {
+
+ @XmlElement(name = "Success")
+ protected AnswerType.Success success;
+ @XmlElement(name = "Error")
+ protected AnswerType.Error error;
+ @XmlAttribute(name = "ID")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "token")
+ protected String id;
+
+ /**
+ * Gets the value of the success property.
+ *
+ * @return
+ * possible object is
+ * {@link AnswerType.Success }
+ *
+ */
+ public AnswerType.Success getSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AnswerType.Success }
+ *
+ */
+ public void setSuccess(AnswerType.Success value) {
+ this.success = value;
+ }
+
+ /**
+ * Gets the value of the error property.
+ *
+ * @return
+ * possible object is
+ * {@link AnswerType.Error }
+ *
+ */
+ public AnswerType.Error getError() {
+ return error;
+ }
+
+ /**
+ * Sets the value of the error property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AnswerType.Error }
+ *
+ */
+ public void setError(AnswerType.Error 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>
+ * &lt;complexType>
+ * &lt;simpleContent>
+ * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>positiveInteger">
+ * &lt;/extension>
+ * &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "value"
+ })
+ public static class Error {
+
+ @XmlValue
+ @XmlSchemaType(name = "positiveInteger")
+ protected BigInteger value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setValue(BigInteger value) {
+ this.value = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
+ * &lt;element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "gvZbPK",
+ "zuse"
+ })
+ public static class Success {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "token")
+ protected String gvZbPK;
+ @XmlElement(name = "ZUSE", required = true)
+ protected List<ZuseType> zuse;
+
+ /**
+ * Gets the value of the gvZbPK property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGvZbPK() {
+ return gvZbPK;
+ }
+
+ /**
+ * Sets the value of the gvZbPK property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGvZbPK(String value) {
+ this.gvZbPK = value;
+ }
+
+ /**
+ * Gets the value of the zuse 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 zuse property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getZUSE().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ZuseType }
+ *
+ *
+ */
+ public List<ZuseType> getZUSE() {
+ if (zuse == null) {
+ zuse = new ArrayList<ZuseType>();
+ }
+ return this.zuse;
+ }
+
+ }
+
+}