From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../at/gv/util/xsd/ur/pd/AbstractAddressType.java | 97 +++++ .../at/gv/util/xsd/ur/pd/AbstractPersonType.java | 137 +++++++ .../at/gv/util/xsd/ur/pd/IdentificationType.java | 282 ++++++++++++++ .../at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java | 133 +++++++ .../util/xsd/ur/pd/NichtNatuerlichePersonTyp.java | 139 +++++++ .../java/at/gv/util/xsd/ur/pd/ObjectFactory.java | 247 +++++++++++++ .../at/gv/util/xsd/ur/pd/PersonenDatenTyp.java | 214 +++++++++++ .../java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java | 408 +++++++++++++++++++++ .../java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java | 355 ++++++++++++++++++ .../util/xsd/ur/pd/TypisiertePostAdresseTyp.java | 105 ++++++ .../java/at/gv/util/xsd/ur/pd/package-info.java | 2 + 11 files changed, 2119 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/package-info.java (limited to 'src/main/java/at/gv/util/xsd/ur/pd') diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java new file mode 100644 index 0000000..4fbf6e7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * Struktur des Abstrakten Address Elements + * + *

Java class for AbstractAddressType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="AbstractAddressType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <anyAttribute namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostAdresseTyp.class, + TypisiertePostAdresseTyp.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java new file mode 100644 index 0000000..9804ab0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java @@ -0,0 +1,137 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * main structure of person data + * + *

Java class for AbstractPersonType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="AbstractPersonType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice minOccurs="0">
+ *         <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </choice>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <anyAttribute namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + NatuerlichePersonTyp.class, + PersonenDatenTyp.class, + NichtNatuerlichePersonTyp.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the identification property. + * + *

+ * 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 set method for the identification property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getIdentification().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List getIdentification() { + if (identification == null) { + identification = new ArrayList(); + } + return this.identification; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java b/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java new file mode 100644 index 0000000..6474b2e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java @@ -0,0 +1,282 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * Container für beliebige Identifikationsmerkmale, besteht aus Type und Value Unterelementen, aus technischen Gründen nur auf Englisch verfügbar + * + *

Java class for IdentificationType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="IdentificationType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Value">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <anyAttribute namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "any" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAnyElement(lax = true) + protected List any; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java new file mode 100644 index 0000000..f9632ff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * entspricht PhysicalPersonType + * + *

Java class for NatuerlichePersonTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="NatuerlichePersonTyp">
+ *   <complexContent>
+ *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType">
+ *       <sequence minOccurs="0">
+ *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenName" minOccurs="0"/>
+ *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Geburtsdatum" minOccurs="0"/>
+ *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <anyAttribute namespace='##other'/>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NatuerlichePersonTyp", propOrder = { + "personenName", + "geburtsdatum", + "any" +}) +public class NatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "PersonenName") + protected PersonenNameTyp personenName; + @XmlElement(name = "Geburtsdatum") + protected String geburtsdatum; + @XmlAnyElement(lax = true) + protected List any; + + /** + * Gets the value of the personenName property. + * + * @return + * possible object is + * {@link PersonenNameTyp } + * + */ + public PersonenNameTyp getPersonenName() { + return personenName; + } + + /** + * Sets the value of the personenName property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp } + * + */ + public void setPersonenName(PersonenNameTyp value) { + this.personenName = value; + } + + /** + * Gets the value of the geburtsdatum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGeburtsdatum() { + return geburtsdatum; + } + + /** + * Sets the value of the geburtsdatum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGeburtsdatum(String value) { + this.geburtsdatum = value; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..858446e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java @@ -0,0 +1,139 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import org.w3c.dom.Element; + + +/** + * entspricht CorporateBodyType + * + *

Java class for NichtNatuerlichePersonTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="NichtNatuerlichePersonTyp">
+ *   <complexContent>
+ *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType">
+ *       <sequence minOccurs="0">
+ *         <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
+ *         <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
+ *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <anyAttribute namespace='##other'/>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "vollerName", + "rechtsform", + "any" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "VollerName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String vollerName; + @XmlElement(name = "Rechtsform") + @XmlSchemaType(name = "anyURI") + protected String rechtsform; + @XmlAnyElement(lax = true) + protected List any; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + + /** + * Gets the value of the rechtsform property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRechtsform() { + return rechtsform; + } + + /** + * Sets the value of the rechtsform property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRechtsform(String value) { + this.rechtsform = value; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java new file mode 100644 index 0000000..6758f36 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java @@ -0,0 +1,247 @@ + +package at.gv.util.xsd.ur.pd; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur.pd package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Person"); + private final static QName _PostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PostAdresse"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Address"); + private final static QName _Geburtsdatum_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Geburtsdatum"); + private final static QName _NatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NatuerlichePerson"); + private final static QName _NichtNatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NichtNatuerlichePerson"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "AbstractPersonData"); + private final static QName _TypisiertePostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "TypisiertePostAdresse"); + private final static QName _PersonenName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenName"); + private final static QName _PersonenDaten_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenDaten"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.pd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PersonenNameTyp } + * + */ + public PersonenNameTyp createPersonenNameTyp() { + return new PersonenNameTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp } + * + */ + public PostAdresseTyp createPostAdresseTyp() { + return new PostAdresseTyp(); + } + + /** + * Create an instance of {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); + } + + /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link TypisiertePostAdresseTyp } + * + */ + public TypisiertePostAdresseTyp createTypisiertePostAdresseTyp() { + return new TypisiertePostAdresseTyp(); + } + + /** + * Create an instance of {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp createNichtNatuerlichePersonTyp() { + return new NichtNatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname createPersonenNameTypFamilienname() { + return new PersonenNameTyp.Familienname(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix createPersonenNameTypAffix() { + return new PersonenNameTyp.Affix(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); + } + + /** + * Create an instance of {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten createPersonenDatenTypZusatzdaten() { + return new PersonenDatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Person") + public JAXBElement createPerson(AbstractPersonType value) { + return new JAXBElement(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement createPostAdresse(PostAdresseTyp value) { + return new JAXBElement(_PostAdresse_QNAME, PostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Address") + public JAXBElement createAddress(AbstractAddressType value) { + return new JAXBElement(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Geburtsdatum") + public JAXBElement createGeburtsdatum(String value) { + return new JAXBElement(_Geburtsdatum_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement createNatuerlichePerson(NatuerlichePersonTyp value) { + return new JAXBElement(_NatuerlichePerson_QNAME, NatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NichtNatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement createNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + return new JAXBElement(_NichtNatuerlichePerson_QNAME, NichtNatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "AbstractPersonData") + public JAXBElement createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "TypisiertePostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement createTypisiertePostAdresse(TypisiertePostAdresseTyp value) { + return new JAXBElement(_TypisiertePostAdresse_QNAME, TypisiertePostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenNameTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenName") + public JAXBElement createPersonenName(PersonenNameTyp value) { + return new JAXBElement(_PersonenName_QNAME, PersonenNameTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenDatenTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenDaten", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "AbstractPersonData") + public JAXBElement createPersonenDaten(PersonenDatenTyp value) { + return new JAXBElement(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); + } + +} 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 + * + *

Java class for PersonenDatenTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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 person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false) + protected List> 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 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 value) { + this.person = value; + } + + /** + * Gets the value of the address property. + * + *

+ * 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 set method for the address property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAddress().add(newItem);
+     * 
+ * + * + *

+ * 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> getAddress() { + if (address == null) { + address = new ArrayList>(); + } + 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; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence maxOccurs="unbounded" minOccurs="0">
+     *         <any processContents='lax'/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class Zusatzdaten { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List content; + + /** + * Gets the value of the content property. + * + *

+ * 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 set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContent().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java new file mode 100644 index 0000000..8c640e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java @@ -0,0 +1,408 @@ + +package at.gv.util.xsd.ur.pd; + +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 javax.xml.bind.annotation.XmlValue; + + +/** + * entspricht NameType + * + *

Java class for PersonenNameTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="PersonenNameTyp">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="Familienname">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="primaer" default="undefiniert">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                       <enumeration value="wahr"/>
+ *                       <enumeration value="falsch"/>
+ *                       <enumeration value="undefiniert"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Affix" minOccurs="0">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="typ">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                       <enumeration value="akademischerGrad"/>
+ *                       <enumeration value="Adelstitel"/>
+ *                       <enumeration value="FamiliennamenAffix"/>
+ *                       <enumeration value="Anrede"/>
+ *                       <enumeration value="Generation"/>
+ *                       <enumeration value="Qualifikation"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="position">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                       <enumeration value="prefix"/>
+ *                       <enumeration value="suffix"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenNameTyp", propOrder = { + "vorname", + "familienname", + "affix" +}) +public class PersonenNameTyp { + + @XmlElement(name = "Vorname", required = true) + protected String vorname; + @XmlElement(name = "Familienname", required = true) + protected PersonenNameTyp.Familienname familienname; + @XmlElement(name = "Affix") + protected PersonenNameTyp.Affix affix; + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the familienname property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname getFamilienname() { + return familienname; + } + + /** + * Sets the value of the familienname property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Familienname } + * + */ + public void setFamilienname(PersonenNameTyp.Familienname value) { + this.familienname = value; + } + + /** + * Gets the value of the affix property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix getAffix() { + return affix; + } + + /** + * Sets the value of the affix property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Affix } + * + */ + public void setAffix(PersonenNameTyp.Affix value) { + this.affix = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="typ">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *             <enumeration value="akademischerGrad"/>
+     *             <enumeration value="Adelstitel"/>
+     *             <enumeration value="FamiliennamenAffix"/>
+     *             <enumeration value="Anrede"/>
+     *             <enumeration value="Generation"/>
+     *             <enumeration value="Qualifikation"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="position">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *             <enumeration value="prefix"/>
+     *             <enumeration value="suffix"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "typ") + protected String typ; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTyp(String value) { + this.typ = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="primaer" default="undefiniert">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *             <enumeration value="wahr"/>
+     *             <enumeration value="falsch"/>
+     *             <enumeration value="undefiniert"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Familienname { + + @XmlValue + protected String value; + @XmlAttribute(name = "primaer") + protected String primaer; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primaer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimaer() { + if (primaer == null) { + return "undefiniert"; + } else { + return primaer; + } + } + + /** + * Sets the value of the primaer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimaer(String value) { + this.primaer = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java new file mode 100644 index 0000000..5335fc2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java @@ -0,0 +1,355 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * entspricht PostalAddressType + * + *

Java class for PostAdresseTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="PostAdresseTyp">
+ *   <complexContent>
+ *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType">
+ *       <sequence>
+ *         <element name="Staatscode" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <pattern value="[A-Z]{3}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="Postleitzahl" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
+ *         <element name="Gemeinde" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="Gemeindekennziffer" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *         <element name="Ortschaft" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
+ *         <element name="Zustelladresse" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                   <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="type" default="undefiniert">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             <enumeration value="Postfachadresse"/>
+ *             <enumeration value="Anschrift"/>
+ *             <enumeration value="MilitaerischeAdresse"/>
+ *             <enumeration value="undefiniert"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <anyAttribute namespace='##other'/>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostAdresseTyp", propOrder = { + "staatscode", + "postleitzahl", + "gemeinde", + "gemeindekennziffer", + "ortschaft", + "zustelladresse" +}) +public class PostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "Staatscode") + protected String staatscode; + @XmlElement(name = "Postleitzahl") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postleitzahl; + @XmlElement(name = "Gemeinde") + protected String gemeinde; + @XmlElement(name = "Gemeindekennziffer") + protected Object gemeindekennziffer; + @XmlElement(name = "Ortschaft") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String ortschaft; + @XmlElement(name = "Zustelladresse") + protected PostAdresseTyp.Zustelladresse zustelladresse; + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the staatscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStaatscode() { + return staatscode; + } + + /** + * Sets the value of the staatscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStaatscode(String value) { + this.staatscode = value; + } + + /** + * Gets the value of the postleitzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostleitzahl() { + return postleitzahl; + } + + /** + * Sets the value of the postleitzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostleitzahl(String value) { + this.postleitzahl = value; + } + + /** + * Gets the value of the gemeinde property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGemeinde() { + return gemeinde; + } + + /** + * Sets the value of the gemeinde property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGemeinde(String value) { + this.gemeinde = value; + } + + /** + * Gets the value of the gemeindekennziffer property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGemeindekennziffer() { + return gemeindekennziffer; + } + + /** + * Sets the value of the gemeindekennziffer property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGemeindekennziffer(Object value) { + this.gemeindekennziffer = value; + } + + /** + * Gets the value of the ortschaft property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrtschaft() { + return ortschaft; + } + + /** + * Sets the value of the ortschaft property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrtschaft(String value) { + this.ortschaft = value; + } + + /** + * Gets the value of the zustelladresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse getZustelladresse() { + return zustelladresse; + } + + /** + * Sets the value of the zustelladresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public void setZustelladresse(PostAdresseTyp.Zustelladresse value) { + this.zustelladresse = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefiniert"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *         <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "strassenname", + "orientierungsnummer" + }) + public static class Zustelladresse { + + @XmlElement(name = "Strassenname") + protected String strassenname; + @XmlElement(name = "Orientierungsnummer") + protected String orientierungsnummer; + + /** + * Gets the value of the strassenname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrassenname() { + return strassenname; + } + + /** + * Sets the value of the strassenname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrassenname(String value) { + this.strassenname = value; + } + + /** + * Gets the value of the orientierungsnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrientierungsnummer() { + return orientierungsnummer; + } + + /** + * Sets the value of the orientierungsnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrientierungsnummer(String value) { + this.orientierungsnummer = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..e669638 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java @@ -0,0 +1,105 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * entspricht TypedPostalAddressType + * + *

Java class for TypisiertePostAdresseTyp complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TypisiertePostAdresseTyp">
+ *   <complexContent>
+ *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType">
+ *       <sequence minOccurs="0">
+ *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/>
+ *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <anyAttribute namespace='##other'/>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "any" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlAnyElement(lax = true) + protected List any; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/package-info.java b/src/main/java/at/gv/util/xsd/ur/pd/package-info.java new file mode 100644 index 0000000..64113f9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur.pd; -- cgit v1.2.3