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; /** *

Java class for AnswerType complex type. * *

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

 * <complexType name="AnswerType">
 *   <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">
 *                 <sequence>
 *                   <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
 *                   <element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Error">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </choice>
 *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @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; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @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; } } /** *

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="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
     *         <element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @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 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. * *

* 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 zuse property. * *

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

         *    getZUSE().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ZuseType } * * */ public List getZUSE() { if (zuse == null) { zuse = new ArrayList(); } return this.zuse; } } }