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/ValidateTokenRequest.java | 201 +++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java (limited to 'src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java') diff --git a/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java new file mode 100644 index 0000000..6735720 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java @@ -0,0 +1,201 @@ + +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">
+ *                 <sequence>
+ *                   <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/>
+ *                   <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/>
+ *                 </sequence>
+ *                 <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 = "ValidateTokenRequest") +public class ValidateTokenRequest { + + @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 ValidateTokenRequest.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">
+     *       <sequence>
+     *         <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/>
+     *         <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/>
+     *       </sequence>
+     *       <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "x509IssuerSerial", + "token" + }) + public static class TokenEntry { + + @XmlElement(name = "X509IssuerSerial", required = true) + protected X509IssuerSerialType x509IssuerSerial; + @XmlElement(name = "Token", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String token; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the x509IssuerSerial property. + * + * @return + * possible object is + * {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType getX509IssuerSerial() { + return x509IssuerSerial; + } + + /** + * Sets the value of the x509IssuerSerial property. + * + * @param value + * allowed object is + * {@link X509IssuerSerialType } + * + */ + public void setX509IssuerSerial(X509IssuerSerialType value) { + this.x509IssuerSerial = value; + } + + /** + * Gets the value of the token property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToken() { + return token; + } + + /** + * Sets the value of the token property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToken(String value) { + this.token = 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; + } + + } + +} -- cgit v1.2.3