diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java b/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java new file mode 100644 index 0000000..96cb508 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java @@ -0,0 +1,145 @@ + +package at.gv.util.xsd.ersb; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.pd.PersonenDatenTyp; + + +/** + * <p>Java class for ErsbResponse complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErsbResponse"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="returncode" type="{http://www.w3.org/2001/XMLSchema}int"/> + * <element name="statustext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErsbResponse", propOrder = { + "returncode", + "statustext", + "personenDaten" +}) +public class ErsbResponse { + + protected int returncode; + protected String statustext; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenTyp> personenDaten; + @XmlAttribute(name = "id") + protected BigInteger id; + + /** + * Gets the value of the returncode property. + * + */ + public int getReturncode() { + return returncode; + } + + /** + * Sets the value of the returncode property. + * + */ + public void setReturncode(int value) { + this.returncode = value; + } + + /** + * Gets the value of the statustext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatustext() { + return statustext; + } + + /** + * Sets the value of the statustext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatustext(String value) { + this.statustext = value; + } + + /** + * Gets the value of the personenDaten 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 personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenTyp } + * + * + */ + public List<PersonenDatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenTyp>(); + } + return this.personenDaten; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} |