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

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

public class Locality
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="LocalityName" 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>
         <choice minOccurs="0">
           <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostBox"/>
           <element name="LargeMailUser" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}LargeMailUserType"/>
           <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostOffice"/>
           <element name="PostalRoute" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalRouteType"/>
         </choice>
         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Premise" minOccurs="0"/>
         <element name="DependentLocality" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}DependentLocalityType" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode" minOccurs="0"/>
         <any/>
       </sequence>
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="UsageType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Locality.LocalityName
          Java class for anonymous complex type.
 
Field Summary
protected  List<AddressLine> addressLine
           
protected  List<Object> any
           
protected  DependentLocalityType dependentLocality
           
protected  String indicator
           
protected  LargeMailUserType largeMailUser
           
protected  List<Locality.LocalityName> localityName
           
protected  PostalCode postalCode
           
protected  PostalRouteType postalRoute
           
protected  PostBox postBox
           
protected  PostOffice postOffice
           
protected  Premise premise
           
protected  Thoroughfare thoroughfare
           
protected  String type
           
protected  String usageType
           
 
Constructor Summary
Locality()
           
 
Method Summary
 List<AddressLine> getAddressLine()
          Gets the value of the addressLine property.
 List<Object> getAny()
          Gets the value of the any property.
 DependentLocalityType getDependentLocality()
          Gets the value of the dependentLocality property.
 String getIndicator()
          Gets the value of the indicator property.
 LargeMailUserType getLargeMailUser()
          Gets the value of the largeMailUser property.
 List<Locality.LocalityName> getLocalityName()
          Gets the value of the localityName property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 PostalCode getPostalCode()
          Gets the value of the postalCode property.
 PostalRouteType getPostalRoute()
          Gets the value of the postalRoute property.
 PostBox getPostBox()
          Gets the value of the postBox property.
 PostOffice getPostOffice()
          Gets the value of the postOffice property.
 Premise getPremise()
          Gets the value of the premise property.
 Thoroughfare getThoroughfare()
          Gets the value of the thoroughfare property.
 String getType()
          Gets the value of the type property.
 String getUsageType()
          Gets the value of the usageType property.
 void setDependentLocality(DependentLocalityType value)
          Sets the value of the dependentLocality property.
 void setIndicator(String value)
          Sets the value of the indicator property.
 void setLargeMailUser(LargeMailUserType value)
          Sets the value of the largeMailUser property.
 void setPostalCode(PostalCode value)
          Sets the value of the postalCode property.
 void setPostalRoute(PostalRouteType value)
          Sets the value of the postalRoute property.
 void setPostBox(PostBox value)
          Sets the value of the postBox property.
 void setPostOffice(PostOffice value)
          Sets the value of the postOffice property.
 void setPremise(Premise value)
          Sets the value of the premise property.
 void setThoroughfare(Thoroughfare value)
          Sets the value of the thoroughfare property.
 void setType(String value)
          Sets the value of the type property.
 void setUsageType(String value)
          Sets the value of the usageType 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

localityName

protected List<Locality.LocalityName> localityName

postBox

protected PostBox postBox

largeMailUser

protected LargeMailUserType largeMailUser

postOffice

protected PostOffice postOffice

postalRoute

protected PostalRouteType postalRoute

thoroughfare

protected Thoroughfare thoroughfare

premise

protected Premise premise

dependentLocality

protected DependentLocalityType dependentLocality

postalCode

protected PostalCode postalCode

any

protected List<Object> any

type

protected String type

usageType

protected String usageType

indicator

protected String indicator
Constructor Detail

Locality

public Locality()
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


getLocalityName

public List<Locality.LocalityName> getLocalityName()
Gets the value of the localityName 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 localityName property.

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

    getLocalityName().add(newItem);
 

Objects of the following type(s) are allowed in the list Locality.LocalityName


getPostBox

public PostBox getPostBox()
Gets the value of the postBox property.

Returns:
possible object is PostBox

setPostBox

public void setPostBox(PostBox value)
Sets the value of the postBox property.

Parameters:
value - allowed object is PostBox

getLargeMailUser

public LargeMailUserType getLargeMailUser()
Gets the value of the largeMailUser property.

Returns:
possible object is LargeMailUserType

setLargeMailUser

public void setLargeMailUser(LargeMailUserType value)
Sets the value of the largeMailUser property.

Parameters:
value - allowed object is LargeMailUserType

getPostOffice

public PostOffice getPostOffice()
Gets the value of the postOffice property.

Returns:
possible object is PostOffice

setPostOffice

public void setPostOffice(PostOffice value)
Sets the value of the postOffice property.

Parameters:
value - allowed object is PostOffice

getPostalRoute

public PostalRouteType getPostalRoute()
Gets the value of the postalRoute property.

Returns:
possible object is PostalRouteType

setPostalRoute

public void setPostalRoute(PostalRouteType value)
Sets the value of the postalRoute property.

Parameters:
value - allowed object is PostalRouteType

getThoroughfare

public Thoroughfare getThoroughfare()
Gets the value of the thoroughfare property.

Returns:
possible object is Thoroughfare

setThoroughfare

public void setThoroughfare(Thoroughfare value)
Sets the value of the thoroughfare property.

Parameters:
value - allowed object is Thoroughfare

getPremise

public Premise getPremise()
Gets the value of the premise property.

Returns:
possible object is Premise

setPremise

public void setPremise(Premise value)
Sets the value of the premise property.

Parameters:
value - allowed object is Premise

getDependentLocality

public DependentLocalityType getDependentLocality()
Gets the value of the dependentLocality property.

Returns:
possible object is DependentLocalityType

setDependentLocality

public void setDependentLocality(DependentLocalityType value)
Sets the value of the dependentLocality property.

Parameters:
value - allowed object is DependentLocalityType

getPostalCode

public PostalCode getPostalCode()
Gets the value of the postalCode property.

Returns:
possible object is PostalCode

setPostalCode

public void setPostalCode(PostalCode value)
Sets the value of the postalCode property.

Parameters:
value - allowed object is PostalCode

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

getUsageType

public String getUsageType()
Gets the value of the usageType property.

Returns:
possible object is String

setUsageType

public void setUsageType(String value)
Sets the value of the usageType property.

Parameters:
value - allowed object is String

getIndicator

public String getIndicator()
Gets the value of the indicator property.

Returns:
possible object is String

setIndicator

public void setIndicator(String value)
Sets the value of the indicator 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.