package at.gv.util.xsd.mzs.persondata; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** *
Java class for PostalAddressType complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="PostalAddressType">
* <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="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>
* <anyAttribute namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PostalAddressType", propOrder = {
"countryCode",
"postalCode",
"municipality",
"deliveryAddress"
})
public class PostalAddressType
extends AbstractAddressType
{
@XmlElement(name = "CountryCode")
protected String countryCode;
@XmlElement(name = "PostalCode", required = true)
protected String postalCode;
@XmlElement(name = "Municipality", required = true)
protected String municipality;
@XmlElement(name = "DeliveryAddress", required = true)
protected PostalAddressType.DeliveryAddress deliveryAddress;
/**
* 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 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 PostalAddressType.DeliveryAddress }
*
*/
public PostalAddressType.DeliveryAddress getDeliveryAddress() {
return deliveryAddress;
}
/**
* Sets the value of the deliveryAddress property.
*
* @param value
* allowed object is
* {@link PostalAddressType.DeliveryAddress }
*
*/
public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) {
this.deliveryAddress = 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;
}
}
}