public class

PostalAddressType

extends Object
java.lang.Object
   ↳ org.mule.modules.hrxml.candidate.PostalAddressType

Class Overview

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">
           <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://ns.hr-xml.org/2007-04-15}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">
         <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>
 

Summary

Nested Classes
class PostalAddressType.DeliveryAddress

Java class for anonymous complex type. 

class PostalAddressType.Recipient

Java class for anonymous complex type. 

Fields
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
Public Constructors
PostalAddressType()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

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

Public Constructors

public PostalAddressType ()

Public Methods

public String getCountryCode ()

Gets the value of the countryCode property.

Returns
  • possible object is String

public PostalAddressType.DeliveryAddress getDeliveryAddress ()

Gets the value of the deliveryAddress property.

Returns

public String getMunicipality ()

Gets the value of the municipality property.

Returns
  • possible object is String

public String getPostalCode ()

Gets the value of the postalCode property.

Returns
  • possible object is String

public List<PostalAddressType.Recipient> getRecipient ()

Gets the value of the recipient 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 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 List<String> getRegion ()

Gets the value of the region 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 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 getType ()

Gets the value of the type property.

Returns
  • possible object is String

public void setCountryCode (String value)

Sets the value of the countryCode property.

Parameters
value Allowed object is String

public void setDeliveryAddress (PostalAddressType.DeliveryAddress value)

Sets the value of the deliveryAddress property.

Parameters
value Allowed object is PostalAddressType.DeliveryAddress

public void setMunicipality (String value)

Sets the value of the municipality property.

Parameters
value Allowed object is String

public void setPostalCode (String value)

Sets the value of the postalCode property.

Parameters
value Allowed object is String

public void setType (String value)

Sets the value of the type property.

Parameters
value Allowed object is String