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.XmlRootElement; 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 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="TokenEntry" 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>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "tokenEntry" }) @XmlRootElement(name = "ValidateTokenResponse") public class ValidateTokenResponse { @XmlElement(name = "TokenEntry", required = true) protected List tokenEntry; /** * Gets the value of the tokenEntry 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 tokenEntry property. * *

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

     *    getTokenEntry().add(newItem);
     * 
* * *

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

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 TokenEntry { @XmlElement(name = "Success") protected ValidateTokenResponse.TokenEntry.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 ValidateTokenResponse.TokenEntry.Success } * */ public ValidateTokenResponse.TokenEntry.Success getSuccess() { return success; } /** * Sets the value of the success property. * * @param value * allowed object is * {@link ValidateTokenResponse.TokenEntry.Success } * */ public void setSuccess(ValidateTokenResponse.TokenEntry.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 { } } }