oasis.names.tc.ciq.xsdschema.xal._2
Class PostalCode

java.lang.Object
  extended by oasis.names.tc.ciq.xsdschema.xal._2.PostalCode

public class PostalCode
extends Object

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 ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
         <element name="PostalCodeNumber" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                 <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="PostalCodeNumberExtension" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                 <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                 <attribute name="NumberExtensionSeparator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="PostTown" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="PostTownName" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                           <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="PostTownSuffix" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <any/>
       </sequence>
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class PostalCode.PostalCodeNumber
          Java class for anonymous complex type.
static class PostalCode.PostalCodeNumberExtension
          Java class for anonymous complex type.
static class PostalCode.PostTown
          Java class for anonymous complex type.
 
Field Summary
protected  List<AddressLine> addressLine
           
protected  List<Object> any
           
protected  List<PostalCode.PostalCodeNumber> postalCodeNumber
           
protected  List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension
           
protected  PostalCode.PostTown postTown
           
protected  String type
           
 
Constructor Summary
PostalCode()
           
 
Method Summary
 List<AddressLine> getAddressLine()
          Gets the value of the addressLine property.
 List<Object> getAny()
          Gets the value of the any property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 List<PostalCode.PostalCodeNumber> getPostalCodeNumber()
          Gets the value of the postalCodeNumber property.
 List<PostalCode.PostalCodeNumberExtension> getPostalCodeNumberExtension()
          Gets the value of the postalCodeNumberExtension property.
 PostalCode.PostTown getPostTown()
          Gets the value of the postTown property.
 String getType()
          Gets the value of the type property.
 void setPostTown(PostalCode.PostTown value)
          Sets the value of the postTown property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressLine

protected List<AddressLine> addressLine

postalCodeNumber

protected List<PostalCode.PostalCodeNumber> postalCodeNumber

postalCodeNumberExtension

protected List<PostalCode.PostalCodeNumberExtension> postalCodeNumberExtension

postTown

protected PostalCode.PostTown postTown

any

protected List<Object> any

type

protected String type
Constructor Detail

PostalCode

public PostalCode()
Method Detail

getAddressLine

public List<AddressLine> getAddressLine()
Gets the value of the addressLine 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 addressLine property.

For example, to add a new item, do as follows:

    getAddressLine().add(newItem);
 

Objects of the following type(s) are allowed in the list AddressLine


getPostalCodeNumber

public List<PostalCode.PostalCodeNumber> getPostalCodeNumber()
Gets the value of the postalCodeNumber 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 postalCodeNumber property.

For example, to add a new item, do as follows:

    getPostalCodeNumber().add(newItem);
 

Objects of the following type(s) are allowed in the list PostalCode.PostalCodeNumber


getPostalCodeNumberExtension

public List<PostalCode.PostalCodeNumberExtension> getPostalCodeNumberExtension()
Gets the value of the postalCodeNumberExtension 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 postalCodeNumberExtension property.

For example, to add a new item, do as follows:

    getPostalCodeNumberExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list PostalCode.PostalCodeNumberExtension


getPostTown

public PostalCode.PostTown getPostTown()
Gets the value of the postTown property.

Returns:
possible object is PostalCode.PostTown

setPostTown

public void setPostTown(PostalCode.PostTown value)
Sets the value of the postTown property.

Parameters:
value - allowed object is PostalCode.PostTown

getAny

public List<Object> getAny()
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object


getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2008. All Rights Reserved.