org.citygml4j.jaxb.xal
Class LocalityElement

java.lang.Object
  extended by org.citygml4j.jaxb.xal.LocalityElement

public class LocalityElement
extends java.lang.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" />
                 <anyAttribute namespace='##other'/>
               </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 namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </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" />
       <anyAttribute namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class LocalityElement.LocalityName
          Java class for anonymous complex type.
 
Constructor Summary
LocalityElement()
           
 
Method Summary
 java.util.List<AddressLineElement> getAddressLine()
          Gets the value of the addressLine property.
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 DependentLocalityType getDependentLocality()
          Gets the value of the dependentLocality property.
 java.lang.String getIndicator()
          Gets the value of the indicator property.
 LargeMailUserType getLargeMailUser()
          Gets the value of the largeMailUser property.
 java.util.List<LocalityElement.LocalityName> getLocalityName()
          Gets the value of the localityName property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 PostalCodeElement getPostalCode()
          Gets the value of the postalCode property.
 PostalRouteType getPostalRoute()
          Gets the value of the postalRoute property.
 PostBoxElement getPostBox()
          Gets the value of the postBox property.
 PostOfficeElement getPostOffice()
          Gets the value of the postOffice property.
 PremiseElement getPremise()
          Gets the value of the premise property.
 ThoroughfareElement getThoroughfare()
          Gets the value of the thoroughfare property.
 java.lang.String getType()
          Gets the value of the type property.
 java.lang.String getUsageType()
          Gets the value of the usageType property.
 boolean isSetAddressLine()
           
 boolean isSetAny()
           
 boolean isSetDependentLocality()
           
 boolean isSetIndicator()
           
 boolean isSetLargeMailUser()
           
 boolean isSetLocalityName()
           
 boolean isSetPostalCode()
           
 boolean isSetPostalRoute()
           
 boolean isSetPostBox()
           
 boolean isSetPostOffice()
           
 boolean isSetPremise()
           
 boolean isSetThoroughfare()
           
 boolean isSetType()
           
 boolean isSetUsageType()
           
 void setAddressLine(java.util.List<AddressLineElement> addressLine)
          Sets the value of the addressLine property.
 void setAny(java.util.List<java.lang.Object> any)
          Sets the value of the any property.
 void setDependentLocality(DependentLocalityType value)
          Sets the value of the dependentLocality property.
 void setIndicator(java.lang.String value)
          Sets the value of the indicator property.
 void setLargeMailUser(LargeMailUserType value)
          Sets the value of the largeMailUser property.
 void setLocalityName(java.util.List<LocalityElement.LocalityName> localityName)
          Sets the value of the localityName property.
 void setPostalCode(PostalCodeElement value)
          Sets the value of the postalCode property.
 void setPostalRoute(PostalRouteType value)
          Sets the value of the postalRoute property.
 void setPostBox(PostBoxElement value)
          Sets the value of the postBox property.
 void setPostOffice(PostOfficeElement value)
          Sets the value of the postOffice property.
 void setPremise(PremiseElement value)
          Sets the value of the premise property.
 void setThoroughfare(ThoroughfareElement value)
          Sets the value of the thoroughfare property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setUsageType(java.lang.String value)
          Sets the value of the usageType property.
 void unsetAddressLine()
           
 void unsetAny()
           
 void unsetLocalityName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalityElement

public LocalityElement()
Method Detail

getAddressLine

public java.util.List<AddressLineElement> 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 AddressLineElement


isSetAddressLine

public boolean isSetAddressLine()

unsetAddressLine

public void unsetAddressLine()

getLocalityName

public java.util.List<LocalityElement.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 LocalityElement.LocalityName


isSetLocalityName

public boolean isSetLocalityName()

unsetLocalityName

public void unsetLocalityName()

getPostBox

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

Returns:
possible object is PostBoxElement

setPostBox

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

Parameters:
value - allowed object is PostBoxElement

isSetPostBox

public boolean isSetPostBox()

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

isSetLargeMailUser

public boolean isSetLargeMailUser()

getPostOffice

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

Returns:
possible object is PostOfficeElement

setPostOffice

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

Parameters:
value - allowed object is PostOfficeElement

isSetPostOffice

public boolean isSetPostOffice()

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

isSetPostalRoute

public boolean isSetPostalRoute()

getThoroughfare

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

Returns:
possible object is ThoroughfareElement

setThoroughfare

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

Parameters:
value - allowed object is ThoroughfareElement

isSetThoroughfare

public boolean isSetThoroughfare()

getPremise

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

Returns:
possible object is PremiseElement

setPremise

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

Parameters:
value - allowed object is PremiseElement

isSetPremise

public boolean isSetPremise()

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

isSetDependentLocality

public boolean isSetDependentLocality()

getPostalCode

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

Returns:
possible object is PostalCodeElement

setPostalCode

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

Parameters:
value - allowed object is PostalCodeElement

isSetPostalCode

public boolean isSetPostalCode()

getAny

public java.util.List<java.lang.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


isSetAny

public boolean isSetAny()

unsetAny

public void unsetAny()

getType

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

Returns:
possible object is String

setType

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

Parameters:
value - allowed object is String

isSetType

public boolean isSetType()

getUsageType

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

Returns:
possible object is String

setUsageType

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

Parameters:
value - allowed object is String

isSetUsageType

public boolean isSetUsageType()

getIndicator

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

Returns:
possible object is String

setIndicator

public void setIndicator(java.lang.String value)
Sets the value of the indicator property.

Parameters:
value - allowed object is String

isSetIndicator

public boolean isSetIndicator()

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.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

setAddressLine

public void setAddressLine(java.util.List<AddressLineElement> addressLine)
Sets the value of the addressLine property.

Parameters:
addressLine - allowed object is AddressLineElement

setLocalityName

public void setLocalityName(java.util.List<LocalityElement.LocalityName> localityName)
Sets the value of the localityName property.

Parameters:
localityName - allowed object is LocalityElement.LocalityName

setAny

public void setAny(java.util.List<java.lang.Object> any)
Sets the value of the any property.

Parameters:
any - allowed object is Object