diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java index 7435a21..b3bfa30 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Fault" type="{urn:SZRServices}Fault" minOccurs="0"/> * </sequence> @@ -42,7 +42,7 @@ import javax.xml.bind.annotation.XmlType; public class GetBPKFromStammzahlEncryptedResponseType { @XmlElement(name = "bPK") - protected String bpk; + protected List<String> bpk; @XmlElement(name = "FremdBPK") protected List<FremdBPKType> fremdBPK; @XmlElement(name = "Fault") @@ -52,27 +52,32 @@ public class GetBPKFromStammzahlEncryptedResponseType { protected String key; /** - * Ruft den Wert der bpk-Eigenschaft ab. + * Gets the value of the bpk 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 bpk property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBPK().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 getBPK() { - return bpk; - } - - /** - * Legt den Wert der bpk-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBPK(String value) { - this.bpk = value; + public List<String> getBPK() { + if (bpk == null) { + bpk = new ArrayList<String>(); + } + return this.bpk; } /** |