From 5fb22cc1b31232c0ef1ceb6ae3c713dbed3e1602 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 20 Feb 2020 15:39:40 +0100 Subject: update SZR_v4 client to new WSDL provided by BM.I per eMail at 2020.02.17 --- src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java | 45 +++++++++++++----------- 1 file changed, 25 insertions(+), 20 deletions(-) (limited to 'src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java') diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java index 3dc9734..b713ee7 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType" maxOccurs="unbounded"/> - * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> @@ -45,7 +45,7 @@ public class GetBPKs { @XmlElement(name = "PersonInfo", required = true) protected List personInfo; @XmlElement(name = "BereichsKennung") - protected String bereichsKennung; + protected List bereichsKennung; @XmlElement(name = "VKZ", required = true) protected String vkz; @XmlElement(name = "Target") @@ -81,27 +81,32 @@ public class GetBPKs { } /** - * Ruft den Wert der bereichsKennung-Eigenschaft ab. + * Gets the value of the bereichsKennung 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 bereichsKennung property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link String } - * - */ - public String getBereichsKennung() { - return bereichsKennung; - } - - /** - * Legt den Wert der bereichsKennung-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBereichsKennung(String value) { - this.bereichsKennung = value; + public List getBereichsKennung() { + if (bereichsKennung == null) { + bereichsKennung = new ArrayList(); + } + return this.bereichsKennung; } /** -- cgit v1.2.3