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

Java class for PushResponseType complex type. + * + *

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

+ * <complexType name="PushResponseType">
+ *   <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">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <choice>
+ *                   <sequence>
+ *                     <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+ *                     <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   </sequence>
+ *                   <element name="FailedDN" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                             <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </choice>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PushResponseType", propOrder = { + "success", + "error" +}) +public class PushResponseType { + + @XmlElement(name = "Success") + protected PushResponseType.Success success; + @XmlElement(name = "Error") + protected PushResponseType.Error error; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link PushResponseType.Success } + * + */ + public PushResponseType.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link PushResponseType.Success } + * + */ + public void setSuccess(PushResponseType.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link PushResponseType.Error } + * + */ + public PushResponseType.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link PushResponseType.Error } + * + */ + public void setError(PushResponseType.Error value) { + this.error = 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">
+     *       <choice>
+     *         <sequence>
+     *           <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+     *           <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         </sequence>
+     *         <element name="FailedDN" maxOccurs="unbounded">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                   <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </choice>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info", + "failedDN" + }) + public static class Error { + + @XmlElement(name = "Code") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected String info; + @XmlElement(name = "FailedDN") + protected List failedDN; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + /** + * Gets the value of the failedDN 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 failedDN property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link PushResponseType.Error.FailedDN } + * + * + */ + public List getFailedDN() { + if (failedDN == null) { + failedDN = new ArrayList(); + } + return this.failedDN; + } + + + /** + *

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">
+         *       <sequence>
+         *         <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dn", + "info" + }) + public static class FailedDN { + + @XmlElement(name = "DN", required = true) + protected String dn; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the dn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDN() { + return dn; + } + + /** + * Sets the value of the dn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDN(String value) { + this.dn = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = 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