From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../at/gv/util/xsd/mis/usp/GetMandatesRequest.java | 253 +++++++++++++++ .../gv/util/xsd/mis/usp/GetMandatesResponse.java | 361 +++++++++++++++++++++ .../at/gv/util/xsd/mis/usp/IdentificationType.java | 92 ++++++ .../java/at/gv/util/xsd/mis/usp/ObjectFactory.java | 88 +++++ .../java/at/gv/util/xsd/mis/usp/package-info.java | 2 + 5 files changed, 796 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java create mode 100644 src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java create mode 100644 src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java create mode 100644 src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java create mode 100644 src/main/java/at/gv/util/xsd/mis/usp/package-info.java (limited to 'src/main/java/at/gv/util/xsd/mis/usp') diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java new file mode 100644 index 0000000..edc96a9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java @@ -0,0 +1,253 @@ + +package at.gv.util.xsd.mis.usp; + +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; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

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="Identification" type="{http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd}IdentificationType"/>
+ *         <element name="MandateFilters" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence maxOccurs="unbounded">
+ *                   <element name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="RequestId" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
+ *       <attribute name="Timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
+ *       <attribute name="ApplicationId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "identification", + "mandateFilters" +}) +@XmlRootElement(name = "GetMandatesRequest") +public class GetMandatesRequest { + + @XmlElement(name = "Identification", required = true) + protected IdentificationType identification; + @XmlElement(name = "MandateFilters") + protected GetMandatesRequest.MandateFilters mandateFilters; + @XmlAttribute(name = "RequestId", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String requestId; + @XmlAttribute(name = "Timestamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timestamp; + @XmlAttribute(name = "ApplicationId", required = true) + protected String applicationId; + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setIdentification(IdentificationType value) { + this.identification = value; + } + + /** + * Gets the value of the mandateFilters property. + * + * @return + * possible object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters getMandateFilters() { + return mandateFilters; + } + + /** + * Sets the value of the mandateFilters property. + * + * @param value + * allowed object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public void setMandateFilters(GetMandatesRequest.MandateFilters value) { + this.mandateFilters = value; + } + + /** + * Gets the value of the requestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRequestId() { + return requestId; + } + + /** + * Sets the value of the requestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRequestId(String value) { + this.requestId = value; + } + + /** + * Gets the value of the timestamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimestamp() { + return timestamp; + } + + /** + * Sets the value of the timestamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimestamp(XMLGregorianCalendar value) { + this.timestamp = value; + } + + /** + * Gets the value of the applicationId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getApplicationId() { + return applicationId; + } + + /** + * Sets the value of the applicationId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setApplicationId(String value) { + this.applicationId = 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 maxOccurs="unbounded">
+     *         <element name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateFilter" + }) + public static class MandateFilters { + + @XmlElement(name = "MandateFilter", required = true) + protected List mandateFilter; + + /** + * Gets the value of the mandateFilter 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 mandateFilter property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getMandateFilter() { + if (mandateFilter == null) { + mandateFilter = new ArrayList(); + } + return this.mandateFilter; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java new file mode 100644 index 0000000..016aff0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java @@ -0,0 +1,361 @@ + +package at.gv.util.xsd.mis.usp; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + *

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>
+ *         <sequence>
+ *           <element name="Mandates">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence maxOccurs="unbounded" minOccurs="0">
+ *                     <element name="Mandate">
+ *                       <complexType>
+ *                         <simpleContent>
+ *                           <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *                             <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ *                           </extension>
+ *                         </simpleContent>
+ *                       </complexType>
+ *                     </element>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *         </sequence>
+ *         <sequence>
+ *           <element name="Error">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence>
+ *                     <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+ *                     <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *         </sequence>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandates", + "error" +}) +@XmlRootElement(name = "GetMandatesResponse") +public class GetMandatesResponse { + + @XmlElement(name = "Mandates") + protected GetMandatesResponse.Mandates mandates; + @XmlElement(name = "Error") + protected GetMandatesResponse.Error error; + + /** + * Gets the value of the mandates property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates getMandates() { + return mandates; + } + + /** + * Sets the value of the mandates property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Mandates } + * + */ + public void setMandates(GetMandatesResponse.Mandates value) { + this.mandates = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Error } + * + */ + public void setError(GetMandatesResponse.Error value) { + this.error = 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="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+     *         <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info" + }) + public static class Error { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * 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; + } + + /** + * 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; + } + + } + + + /** + *

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 maxOccurs="unbounded" minOccurs="0">
+     *         <element name="Mandate">
+     *           <complexType>
+     *             <simpleContent>
+     *               <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+     *                 <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+     *               </extension>
+     *             </simpleContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate") + protected List mandate; + + /** + * Gets the value of the mandate 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 mandate property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link GetMandatesResponse.Mandates.Mandate } + * + * + */ + public List getMandate() { + if (mandate == null) { + mandate = new ArrayList(); + } + return this.mandate; + } + + + /** + *

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>base64Binary">
+         *       <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+         *     </extension>
+         *   </simpleContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Mandate { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "MandateFilter") + @XmlSchemaType(name = "anySimpleType") + protected String mandateFilter; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = ((byte[]) value); + } + + /** + * Gets the value of the mandateFilter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateFilter() { + return mandateFilter; + } + + /** + * Sets the value of the mandateFilter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateFilter(String value) { + this.mandateFilter = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java new file mode 100644 index 0000000..69cbb1d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.mis.usp; + +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 IdentificationType complex type. + * + *

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

+ * <complexType name="IdentificationType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected String value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java new file mode 100644 index 0000000..3098483 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.mis.usp; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp 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 { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates.Mandate } + * + */ + public GetMandatesResponse.Mandates.Mandate createGetMandatesResponseMandatesMandate() { + return new GetMandatesResponse.Mandates.Mandate(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error createGetMandatesResponseError() { + return new GetMandatesResponse.Error(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates createGetMandatesResponseMandates() { + return new GetMandatesResponse.Mandates(); + } + + /** + * Create an instance of {@link GetMandatesResponse } + * + */ + public GetMandatesResponse createGetMandatesResponse() { + return new GetMandatesResponse(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link GetMandatesRequest } + * + */ + public GetMandatesRequest createGetMandatesRequest() { + return new GetMandatesRequest(); + } + + /** + * Create an instance of {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters createGetMandatesRequestMandateFilters() { + return new GetMandatesRequest.MandateFilters(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java new file mode 100644 index 0000000..2d58dba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp; -- cgit v1.2.3