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/ClearingRequestType.java | 385 +++++++++++++++++++++ .../gv/util/xsd/zuserech/ClearingResponseType.java | 265 ++++++++++++++ .../java/at/gv/util/xsd/zuserech/ErrorType.java | 93 +++++ .../at/gv/util/xsd/zuserech/ObjectFactory.java | 159 +++++++++ .../gv/util/xsd/zuserech/ValidateTokenRequest.java | 201 +++++++++++ .../util/xsd/zuserech/ValidateTokenResponse.java | 237 +++++++++++++ .../gv/util/xsd/zuserech/X509IssuerSerialType.java | 82 +++++ .../java/at/gv/util/xsd/zuserech/package-info.java | 2 + 8 files changed, 1424 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ErrorType.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java create mode 100644 src/main/java/at/gv/util/xsd/zuserech/package-info.java (limited to 'src/main/java/at/gv/util/xsd/zuserech') diff --git a/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java b/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java new file mode 100644 index 0000000..fe0cfa8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java @@ -0,0 +1,385 @@ + +package at.gv.util.xsd.zuserech; + +import java.math.BigDecimal; +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 ClearingRequestType complex type. + * + *

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

+ * <complexType name="ClearingRequestType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="ClearingEntry" 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"/>
+ *                   <element name="DeliveryQuality" type="{http://www.w3.org/2001/XMLSchema}token"/>
+ *                   <element name="PaperNotification" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *                   <element name="Private" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ClearingRequestType", propOrder = { + "clearingEntry" +}) +public class ClearingRequestType { + + @XmlElement(name = "ClearingEntry", required = true) + protected List clearingEntry; + @XmlAttribute + @XmlSchemaType(name = "positiveInteger") + protected BigInteger version; + + /** + * Gets the value of the clearingEntry 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 clearingEntry property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ClearingRequestType.ClearingEntry } + * + * + */ + public List getClearingEntry() { + if (clearingEntry == null) { + clearingEntry = new ArrayList(); + } + return this.clearingEntry; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setVersion(BigInteger value) { + this.version = 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="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/>
+     *         <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/>
+     *         <element name="DeliveryQuality" type="{http://www.w3.org/2001/XMLSchema}token"/>
+     *         <element name="PaperNotification" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+     *         <element name="Private" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </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", + "deliveryQuality", + "paperNotification", + "_private" + }) + public static class ClearingEntry { + + @XmlElement(name = "X509IssuerSerial", required = true) + protected X509IssuerSerialType x509IssuerSerial; + @XmlElement(name = "Token", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String token; + @XmlElement(name = "DeliveryQuality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String deliveryQuality; + @XmlElement(name = "PaperNotification") + protected boolean paperNotification; + @XmlElement(name = "Private") + protected ClearingRequestType.ClearingEntry.Private _private; + @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 deliveryQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryQuality() { + return deliveryQuality; + } + + /** + * Sets the value of the deliveryQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryQuality(String value) { + this.deliveryQuality = value; + } + + /** + * Gets the value of the paperNotification property. + * + */ + public boolean isPaperNotification() { + return paperNotification; + } + + /** + * Sets the value of the paperNotification property. + * + */ + public void setPaperNotification(boolean value) { + this.paperNotification = value; + } + + /** + * Gets the value of the private property. + * + * @return + * possible object is + * {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public ClearingRequestType.ClearingEntry.Private getPrivate() { + return _private; + } + + /** + * Sets the value of the private property. + * + * @param value + * allowed object is + * {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public void setPrivate(ClearingRequestType.ClearingEntry.Private value) { + this._private = 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="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "price" + }) + public static class Private { + + @XmlElement(name = "Price", required = true) + protected BigDecimal price; + + /** + * Gets the value of the price property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getPrice() { + return price; + } + + /** + * Sets the value of the price property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setPrice(BigDecimal value) { + this.price = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java new file mode 100644 index 0000000..ac5c7f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java @@ -0,0 +1,265 @@ + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for ClearingResponseType complex type. + * + *

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

+ * <complexType name="ClearingResponseType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/>
+ *         <sequence>
+ *           <element name="ClearingEntry" 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>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ClearingResponseType", propOrder = { + "error", + "clearingEntry" +}) +public class ClearingResponseType { + + @XmlElement(name = "Error") + protected ErrorType error; + @XmlElement(name = "ClearingEntry") + protected List clearingEntry; + + /** + * 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 clearingEntry 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 clearingEntry property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link ClearingResponseType.ClearingEntry } + * + * + */ + public List getClearingEntry() { + if (clearingEntry == null) { + clearingEntry = new ArrayList(); + } + return this.clearingEntry; + } + + + /** + *

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 ClearingEntry { + + @XmlElement(name = "Success") + protected ClearingResponseType.ClearingEntry.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 ClearingResponseType.ClearingEntry.Success } + * + */ + public ClearingResponseType.ClearingEntry.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public void setSuccess(ClearingResponseType.ClearingEntry.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 { + + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java b/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java new file mode 100644 index 0000000..37200cc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.zuserech; + +import java.math.BigInteger; +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 ErrorType complex type. + * + *

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

+ * <complexType name="ErrorType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorType", propOrder = { + "info", + "code" +}) +public class ErrorType { + + @XmlElement(name = "Info", required = true) + protected String info; + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + + /** + * 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 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java new file mode 100644 index 0000000..de892ec --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java @@ -0,0 +1,159 @@ + +package at.gv.util.xsd.zuserech; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zuserech package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ClearingRequest_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech", "ClearingRequest"); + private final static QName _ClearingResponse_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech", "ClearingResponse"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zuserech + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ClearingResponseType.ClearingEntry } + * + */ + public ClearingResponseType.ClearingEntry createClearingResponseTypeClearingEntry() { + return new ClearingResponseType.ClearingEntry(); + } + + /** + * Create an instance of {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public ClearingResponseType.ClearingEntry.Success createClearingResponseTypeClearingEntrySuccess() { + return new ClearingResponseType.ClearingEntry.Success(); + } + + /** + * Create an instance of {@link ValidateTokenRequest.TokenEntry } + * + */ + public ValidateTokenRequest.TokenEntry createValidateTokenRequestTokenEntry() { + return new ValidateTokenRequest.TokenEntry(); + } + + /** + * Create an instance of {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public ValidateTokenResponse.TokenEntry.Success createValidateTokenResponseTokenEntrySuccess() { + return new ValidateTokenResponse.TokenEntry.Success(); + } + + /** + * Create an instance of {@link ValidateTokenResponse } + * + */ + public ValidateTokenResponse createValidateTokenResponse() { + return new ValidateTokenResponse(); + } + + /** + * Create an instance of {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public ClearingRequestType.ClearingEntry.Private createClearingRequestTypeClearingEntryPrivate() { + return new ClearingRequestType.ClearingEntry.Private(); + } + + /** + * Create an instance of {@link ValidateTokenResponse.TokenEntry } + * + */ + public ValidateTokenResponse.TokenEntry createValidateTokenResponseTokenEntry() { + return new ValidateTokenResponse.TokenEntry(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link ClearingRequestType.ClearingEntry } + * + */ + public ClearingRequestType.ClearingEntry createClearingRequestTypeClearingEntry() { + return new ClearingRequestType.ClearingEntry(); + } + + /** + * Create an instance of {@link ClearingResponseType } + * + */ + public ClearingResponseType createClearingResponseType() { + return new ClearingResponseType(); + } + + /** + * Create an instance of {@link ErrorType } + * + */ + public ErrorType createErrorType() { + return new ErrorType(); + } + + /** + * Create an instance of {@link ValidateTokenRequest } + * + */ + public ValidateTokenRequest createValidateTokenRequest() { + return new ValidateTokenRequest(); + } + + /** + * Create an instance of {@link ClearingRequestType } + * + */ + public ClearingRequestType createClearingRequestType() { + return new ClearingRequestType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ClearingRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", name = "ClearingRequest") + public JAXBElement createClearingRequest(ClearingRequestType value) { + return new JAXBElement(_ClearingRequest_QNAME, ClearingRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ClearingResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", name = "ClearingResponse") + public JAXBElement createClearingResponse(ClearingResponseType value) { + return new JAXBElement(_ClearingResponse_QNAME, ClearingResponseType.class, null, value); + } + +} 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java new file mode 100644 index 0000000..3d818a6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java @@ -0,0 +1,237 @@ + +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 { + + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java new file mode 100644 index 0000000..6c27500 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java @@ -0,0 +1,82 @@ + +package at.gv.util.xsd.zuserech; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for X509IssuerSerialType complex type. + * + *

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

+ * <complexType name="X509IssuerSerialType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}long"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber") + protected long x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + */ + public long getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + */ + public void setX509SerialNumber(long value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/package-info.java b/src/main/java/at/gv/util/xsd/zuserech/package-info.java new file mode 100644 index 0000000..708e3c0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zuserech; -- cgit v1.2.3