diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java | 214 |
1 files changed, 214 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java new file mode 100644 index 0000000..633d2f2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java @@ -0,0 +1,214 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * Container um eine Person und ihre Adressen zu speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "person", + "address", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false) + protected List<JAXBElement<? extends AbstractAddressType>> address; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * Gets the value of the address 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 address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >} + * {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class Zusatzdaten { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content 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 content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + } + +} |