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.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** *

Java class for StdAnswerType complex type. * *

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

 * <complexType name="StdAnswerType">
 *   <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="Server" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Error" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
 *       </choice>
 *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StdAnswerType", propOrder = { "success", "error" }) public class StdAnswerType { @XmlElement(name = "Success") protected StdAnswerType.Success success; @XmlElement(name = "Error") @XmlSchemaType(name = "positiveInteger") protected BigInteger 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 StdAnswerType.Success } * */ public StdAnswerType.Success getSuccess() { return success; } /** * Sets the value of the success property. * * @param value * allowed object is * {@link StdAnswerType.Success } * */ public void setSuccess(StdAnswerType.Success value) { this.success = value; } /** * Gets the value of the error property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getError() { return error; } /** * Sets the value of the error property. * * @param value * allowed object is * {@link BigInteger } * */ public void setError(BigInteger 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">
     *       <sequence>
     *         <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
     *         <element name="Server" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "gvZbPK", "server" }) public static class Success { @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String gvZbPK; @XmlElement(name = "Server", required = true) protected List server; /** * 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 server 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 server property. * *

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

         *    getServer().add(newItem);
         * 
* * *

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