diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java index ab671f5..17aba4c 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java @@ -20,7 +20,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" minOccurs="0"> * <complexType> @@ -49,34 +49,39 @@ import javax.xml.bind.annotation.XmlType; public class GetBPKsResponseType { @XmlElement(name = "BPK") - protected String bpk; + protected List<String> bpk; @XmlElement(name = "FremdBPK") protected List<FremdBPKType> fremdBPK; @XmlElement(name = "Fault") protected GetBPKsResponseType.Fault fault; /** - * 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; } /** |