From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../gv/util/xsd/zuserech/ClearingResponseType.java | 265 +++++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java (limited to 'src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java') diff --git a/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java new file mode 100644 index 0000000..ac5c7f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java @@ -0,0 +1,265 @@ + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for ClearingResponseType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ClearingResponseType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/>
+ *         <sequence>
+ *           <element name="ClearingEntry" 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>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ClearingResponseType", propOrder = { + "error", + "clearingEntry" +}) +public class ClearingResponseType { + + @XmlElement(name = "Error") + protected ErrorType error; + @XmlElement(name = "ClearingEntry") + protected List clearingEntry; + + /** + * 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 clearingEntry property. + * + *

+ * 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 set method for the clearingEntry property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getClearingEntry().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ClearingResponseType.ClearingEntry } + * + * + */ + public List getClearingEntry() { + if (clearingEntry == null) { + clearingEntry = new ArrayList(); + } + return this.clearingEntry; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <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>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "success", + "error" + }) + public static class ClearingEntry { + + @XmlElement(name = "Success") + protected ClearingResponseType.ClearingEntry.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 ClearingResponseType.ClearingEntry.Success } + * + */ + public ClearingResponseType.ClearingEntry.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public void setSuccess(ClearingResponseType.ClearingEntry.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; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + + } + +} -- cgit v1.2.3