summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-20 15:39:40 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-20 15:39:40 +0100
commit5fb22cc1b31232c0ef1ceb6ae3c713dbed3e1602 (patch)
treed3dbf21ee3c81ada950e51a8c63f52c9bf0c9066 /src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java
parentf7c97e3423fa51f9f3d32f0285f2468d95d5987d (diff)
downloadegovutils-5fb22cc1b31232c0ef1ceb6ae3c713dbed3e1602.tar.gz
egovutils-5fb22cc1b31232c0ef1ceb6ae3c713dbed3e1602.tar.bz2
egovutils-5fb22cc1b31232c0ef1ceb6ae3c713dbed3e1602.zip
update SZR_v4 client to new WSDL provided by BM.I per eMail at 2020.02.17
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java')
-rw-r--r--src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java45
1 files changed, 25 insertions, 20 deletions
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;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PersonInfo" type="{urn:SZRServices}PersonInfoType" maxOccurs="unbounded"/&gt;
- * &lt;element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
+ * &lt;element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
@@ -45,7 +45,7 @@ public class GetBPKs {
@XmlElement(name = "PersonInfo", required = true)
protected List<PersonInfoType> personInfo;
@XmlElement(name = "BereichsKennung")
- protected String bereichsKennung;
+ protected List<String> 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.
+ *
+ * <p>
+ * 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 <CODE>set</CODE> method for the bereichsKennung property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBereichsKennung().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * 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<String> getBereichsKennung() {
+ if (bereichsKennung == null) {
+ bereichsKennung = new ArrayList<String>();
+ }
+ return this.bereichsKennung;
}
/**