From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java | 355 +++++++++++++++++++++ 1 file changed, 355 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java (limited to 'src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java') 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; + } + + } + +} -- cgit v1.2.3