public class PostalAddressType extends Object
Java class for PostalAddressType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PostalAddressType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<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" minOccurs="0"/>
<element name="Region" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="DeliveryAddress" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Recipient" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/>
<element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OrganizationName" 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>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PostalAddressType.DeliveryAddress
Java class for anonymous complex type.
|
static class |
PostalAddressType.Recipient
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
countryCode |
protected PostalAddressType.DeliveryAddress |
deliveryAddress |
protected String |
municipality |
protected String |
postalCode |
protected List<PostalAddressType.Recipient> |
recipient |
protected List<String> |
region |
protected String |
type |
| Constructor and Description |
|---|
PostalAddressType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryCode()
Gets the value of the countryCode property.
|
PostalAddressType.DeliveryAddress |
getDeliveryAddress()
Gets the value of the deliveryAddress property.
|
String |
getMunicipality()
Gets the value of the municipality property.
|
String |
getPostalCode()
Gets the value of the postalCode property.
|
List<PostalAddressType.Recipient> |
getRecipient()
Gets the value of the recipient property.
|
List<String> |
getRegion()
Gets the value of the region property.
|
String |
getType()
Gets the value of the type property.
|
void |
setCountryCode(String value)
Sets the value of the countryCode property.
|
void |
setDeliveryAddress(PostalAddressType.DeliveryAddress value)
Sets the value of the deliveryAddress property.
|
void |
setMunicipality(String value)
Sets the value of the municipality property.
|
void |
setPostalCode(String value)
Sets the value of the postalCode property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String countryCode
protected String postalCode
protected String municipality
protected PostalAddressType.DeliveryAddress deliveryAddress
protected List<PostalAddressType.Recipient> recipient
protected String type
public String getCountryCode()
Stringpublic void setCountryCode(String value)
value - allowed object is
Stringpublic String getPostalCode()
Stringpublic void setPostalCode(String value)
value - allowed object is
Stringpublic List<String> getRegion()
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 region property.
For example, to add a new item, do as follows:
getRegion().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getMunicipality()
Stringpublic void setMunicipality(String value)
value - allowed object is
Stringpublic PostalAddressType.DeliveryAddress getDeliveryAddress()
PostalAddressType.DeliveryAddresspublic void setDeliveryAddress(PostalAddressType.DeliveryAddress value)
value - allowed object is
PostalAddressType.DeliveryAddresspublic List<PostalAddressType.Recipient> getRecipient()
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 recipient property.
For example, to add a new item, do as follows:
getRecipient().add(newItem);
Objects of the following type(s) are allowed in the list
PostalAddressType.Recipient
public String getType()
StringCopyright © 2016. All rights reserved.