summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java
diff options
context:
space:
mode:
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;
* <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<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;
}
/**