package at.gv.util.xsd.persondata; 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; /** * compare PostAdresseTyp * *

Java class for CompactPostalAddressType complex type. * *

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

 * <complexType name="CompactPostalAddressType">
 *   <complexContent>
 *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType">
 *       <sequence>
 *         <element name="CountryCode" minOccurs="0">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <pattern value="[A-Z]{2}"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="DeliveryAddress">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="type" default="undefined">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="postOfficeBoxAddress"/>
 *             <enumeration value="streetAddress"/>
 *             <enumeration value="militaryAddress"/>
 *             <enumeration value="undefined"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <anyAttribute namespace='##other'/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CompactPostalAddressType", propOrder = { "countryCode", "countryName", "postalCode", "municipality", "deliveryAddress" }) public class CompactPostalAddressType extends AbstractAddressType { @XmlElement(name = "CountryCode") protected String countryCode; @XmlElement(name = "CountryName") protected String countryName; @XmlElement(name = "PostalCode", required = true) protected String postalCode; @XmlElement(name = "Municipality", required = true) protected String municipality; @XmlElement(name = "DeliveryAddress", required = true) protected CompactPostalAddressType.DeliveryAddress deliveryAddress; @XmlAttribute(name = "type") protected String type; /** * Gets the value of the countryCode property. * * @return * possible object is * {@link String } * */ public String getCountryCode() { return countryCode; } /** * Sets the value of the countryCode property. * * @param value * allowed object is * {@link String } * */ public void setCountryCode(String value) { this.countryCode = value; } /** * Gets the value of the countryName property. * * @return * possible object is * {@link String } * */ public String getCountryName() { return countryName; } /** * Sets the value of the countryName property. * * @param value * allowed object is * {@link String } * */ public void setCountryName(String value) { this.countryName = value; } /** * Gets the value of the postalCode property. * * @return * possible object is * {@link String } * */ public String getPostalCode() { return postalCode; } /** * Sets the value of the postalCode property. * * @param value * allowed object is * {@link String } * */ public void setPostalCode(String value) { this.postalCode = value; } /** * Gets the value of the municipality property. * * @return * possible object is * {@link String } * */ public String getMunicipality() { return municipality; } /** * Sets the value of the municipality property. * * @param value * allowed object is * {@link String } * */ public void setMunicipality(String value) { this.municipality = value; } /** * Gets the value of the deliveryAddress property. * * @return * possible object is * {@link CompactPostalAddressType.DeliveryAddress } * */ public CompactPostalAddressType.DeliveryAddress getDeliveryAddress() { return deliveryAddress; } /** * Sets the value of the deliveryAddress property. * * @param value * allowed object is * {@link CompactPostalAddressType.DeliveryAddress } * */ public void setDeliveryAddress(CompactPostalAddressType.DeliveryAddress value) { this.deliveryAddress = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "undefined"; } 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="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "streetName", "buildingNumber", "unit", "doorNumber" }) public static class DeliveryAddress { @XmlElement(name = "StreetName", required = true) protected String streetName; @XmlElement(name = "BuildingNumber", required = true) protected String buildingNumber; @XmlElement(name = "Unit") protected String unit; @XmlElement(name = "DoorNumber") protected String doorNumber; /** * Gets the value of the streetName property. * * @return * possible object is * {@link String } * */ public String getStreetName() { return streetName; } /** * Sets the value of the streetName property. * * @param value * allowed object is * {@link String } * */ public void setStreetName(String value) { this.streetName = value; } /** * Gets the value of the buildingNumber property. * * @return * possible object is * {@link String } * */ public String getBuildingNumber() { return buildingNumber; } /** * Sets the value of the buildingNumber property. * * @param value * allowed object is * {@link String } * */ public void setBuildingNumber(String value) { this.buildingNumber = value; } /** * Gets the value of the unit property. * * @return * possible object is * {@link String } * */ public String getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link String } * */ public void setUnit(String value) { this.unit = value; } /** * Gets the value of the doorNumber property. * * @return * possible object is * {@link String } * */ public String getDoorNumber() { return doorNumber; } /** * Sets the value of the doorNumber property. * * @param value * allowed object is * {@link String } * */ public void setDoorNumber(String value) { this.doorNumber = value; } } }