From f7cbfd90cddddf3733501f68351b6eff00c40691 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 7 Aug 2019 10:30:22 +0200 Subject: update MMS web-service for mandate collection --- .../at/gv/util/xsd/mms/GetMandatesRequest.java | 146 +++++++++++----- .../at/gv/util/xsd/mms/GetMandatesResponse.java | 183 ++++++++++++--------- .../java/at/gv/util/xsd/mms/ObjectFactory.java | 18 +- src/main/java/at/gv/util/xsd/mms/package-info.java | 2 +- 4 files changed, 218 insertions(+), 131 deletions(-) (limited to 'src/main/java/at/gv/util/xsd/mms') diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java index 9baf069..c20ad66 100644 --- a/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java @@ -5,80 +5,114 @@ 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; /** - *

Java class for anonymous complex type. + *

Java-Klasse für anonymous complex type. * - *

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

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="MandateIdentifiers" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence maxOccurs="unbounded">
- *                   <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="bPKType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="MandateIdentifiers" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence maxOccurs="unbounded">
+ *                   <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="transactionId" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "ssPIN", + "bpk", + "bpkType", "mandateIdentifiers" }) @XmlRootElement(name = "GetMandatesRequest") public class GetMandatesRequest { - @XmlElement(required = true) - protected String ssPIN; + @XmlElement(name = "bPK", required = true) + protected String bpk; + @XmlElement(name = "bPKType", required = true) + protected String bpkType; @XmlElement(name = "MandateIdentifiers") protected GetMandatesRequest.MandateIdentifiers mandateIdentifiers; + @XmlAttribute(name = "transactionId", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String transactionId; /** - * Gets the value of the ssPIN property. + * Ruft den Wert der bpk-Eigenschaft ab. * * @return * possible object is * {@link String } * */ - public String getSsPIN() { - return ssPIN; + public String getBPK() { + return bpk; } /** - * Sets the value of the ssPIN property. + * Legt den Wert der bpk-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ - public void setSsPIN(String value) { - this.ssPIN = value; + public void setBPK(String value) { + this.bpk = value; } /** - * Gets the value of the mandateIdentifiers property. + * Ruft den Wert der bpkType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPKType() { + return bpkType; + } + + /** + * Legt den Wert der bpkType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPKType(String value) { + this.bpkType = value; + } + + /** + * Ruft den Wert der mandateIdentifiers-Eigenschaft ab. * * @return * possible object is @@ -90,7 +124,7 @@ public class GetMandatesRequest { } /** - * Sets the value of the mandateIdentifiers property. + * Legt den Wert der mandateIdentifiers-Eigenschaft fest. * * @param value * allowed object is @@ -101,22 +135,46 @@ public class GetMandatesRequest { this.mandateIdentifiers = value; } + /** + * Ruft den Wert der transactionId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTransactionId() { + return transactionId; + } + + /** + * Legt den Wert der transactionId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTransactionId(String value) { + this.transactionId = value; + } + /** - *

Java class for anonymous complex type. + *

Java-Klasse für anonymous complex type. * - *

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

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence maxOccurs="unbounded">
-     *         <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence maxOccurs="unbounded">
+     *         <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java index 03a236a..d2f455d 100644 --- a/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java @@ -13,92 +13,121 @@ import javax.xml.bind.annotation.XmlType; /** - *

Java class for anonymous complex type. + *

Java-Klasse für anonymous complex type. * - *

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

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <choice>
- *         <sequence>
- *           <element name="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *           <element name="Mandates">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence maxOccurs="unbounded">
- *                     <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
- *                   </sequence>
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *         </sequence>
- *         <sequence>
- *           <element name="ErrorResponse">
- *             <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>
+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <sequence>
+ *           <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           <element name="bPKType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           <element name="Mandates">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence maxOccurs="unbounded">
+ *                     <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *         </sequence>
+ *         <sequence>
+ *           <element name="ErrorResponse">
+ *             <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 = { - "ssPIN", + "bpk", + "bpkType", "mandates", "errorResponse" }) @XmlRootElement(name = "GetMandatesResponse") public class GetMandatesResponse { - protected String ssPIN; + @XmlElement(name = "bPK") + protected String bpk; + @XmlElement(name = "bPKType") + protected String bpkType; @XmlElement(name = "Mandates") protected GetMandatesResponse.Mandates mandates; @XmlElement(name = "ErrorResponse") protected GetMandatesResponse.ErrorResponse errorResponse; /** - * Gets the value of the ssPIN property. + * Ruft den Wert der bpk-Eigenschaft ab. * * @return * possible object is * {@link String } * */ - public String getSsPIN() { - return ssPIN; + public String getBPK() { + return bpk; } /** - * Sets the value of the ssPIN property. + * Legt den Wert der bpk-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ - public void setSsPIN(String value) { - this.ssPIN = value; + public void setBPK(String value) { + this.bpk = value; } /** - * Gets the value of the mandates property. + * Ruft den Wert der bpkType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPKType() { + return bpkType; + } + + /** + * Legt den Wert der bpkType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPKType(String value) { + this.bpkType = value; + } + + /** + * Ruft den Wert der mandates-Eigenschaft ab. * * @return * possible object is @@ -110,7 +139,7 @@ public class GetMandatesResponse { } /** - * Sets the value of the mandates property. + * Legt den Wert der mandates-Eigenschaft fest. * * @param value * allowed object is @@ -122,7 +151,7 @@ public class GetMandatesResponse { } /** - * Gets the value of the errorResponse property. + * Ruft den Wert der errorResponse-Eigenschaft ab. * * @return * possible object is @@ -134,7 +163,7 @@ public class GetMandatesResponse { } /** - * Sets the value of the errorResponse property. + * Legt den Wert der errorResponse-Eigenschaft fest. * * @param value * allowed object is @@ -147,21 +176,21 @@ public class GetMandatesResponse { /** - *

Java class for anonymous complex type. + *

Java-Klasse für anonymous complex type. * - *

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

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <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>
+     * <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>
      * 
* * @@ -180,7 +209,7 @@ public class GetMandatesResponse { protected String info; /** - * Gets the value of the code property. + * Ruft den Wert der code-Eigenschaft ab. * * @return * possible object is @@ -192,7 +221,7 @@ public class GetMandatesResponse { } /** - * Sets the value of the code property. + * Legt den Wert der code-Eigenschaft fest. * * @param value * allowed object is @@ -204,7 +233,7 @@ public class GetMandatesResponse { } /** - * Gets the value of the info property. + * Ruft den Wert der info-Eigenschaft ab. * * @return * possible object is @@ -216,7 +245,7 @@ public class GetMandatesResponse { } /** - * Sets the value of the info property. + * Legt den Wert der info-Eigenschaft fest. * * @param value * allowed object is @@ -231,20 +260,20 @@ public class GetMandatesResponse { /** - *

Java class for anonymous complex type. + *

Java-Klasse für anonymous complex type. * - *

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

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence maxOccurs="unbounded">
-     *         <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence maxOccurs="unbounded">
+     *         <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * diff --git a/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java index dbb7f62..8dff83e 100644 --- a/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java @@ -38,19 +38,19 @@ public class ObjectFactory { } /** - * Create an instance of {@link GetMandatesRequest.MandateIdentifiers } + * Create an instance of {@link GetMandatesResponse } * */ - public GetMandatesRequest.MandateIdentifiers createGetMandatesRequestMandateIdentifiers() { - return new GetMandatesRequest.MandateIdentifiers(); + public GetMandatesResponse createGetMandatesResponse() { + return new GetMandatesResponse(); } /** - * Create an instance of {@link GetMandatesResponse.ErrorResponse } + * Create an instance of {@link GetMandatesRequest.MandateIdentifiers } * */ - public GetMandatesResponse.ErrorResponse createGetMandatesResponseErrorResponse() { - return new GetMandatesResponse.ErrorResponse(); + public GetMandatesRequest.MandateIdentifiers createGetMandatesRequestMandateIdentifiers() { + return new GetMandatesRequest.MandateIdentifiers(); } /** @@ -62,11 +62,11 @@ public class ObjectFactory { } /** - * Create an instance of {@link GetMandatesResponse } + * Create an instance of {@link GetMandatesResponse.ErrorResponse } * */ - public GetMandatesResponse createGetMandatesResponse() { - return new GetMandatesResponse(); + public GetMandatesResponse.ErrorResponse createGetMandatesResponseErrorResponse() { + return new GetMandatesResponse.ErrorResponse(); } } diff --git a/src/main/java/at/gv/util/xsd/mms/package-info.java b/src/main/java/at/gv/util/xsd/mms/package-info.java index a781218..23c95ce 100644 --- a/src/main/java/at/gv/util/xsd/mms/package-info.java +++ b/src/main/java/at/gv/util/xsd/mms/package-info.java @@ -1,2 +1,2 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.1/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package at.gv.util.xsd.mms; -- cgit v1.2.3