org.citygml4j.jaxb.xal
Class PostalCodeElement.PostTown

java.lang.Object
  extended by org.citygml4j.jaxb.xal.PostalCodeElement.PostTown
Enclosing class:
PostalCodeElement

public static class PostalCodeElement.PostTown
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="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" />
                 <anyAttribute namespace='##other'/>
               </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"/>
                 <anyAttribute namespace='##other'/>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <anyAttribute namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class PostalCodeElement.PostTown.PostTownName
          Java class for anonymous complex type.
static class PostalCodeElement.PostTown.PostTownSuffix
          Java class for anonymous complex type.
 
Constructor Summary
PostalCodeElement.PostTown()
           
 
Method Summary
 java.util.List<AddressLineElement> getAddressLine()
          Gets the value of the addressLine 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.
 java.util.List<PostalCodeElement.PostTown.PostTownName> getPostTownName()
          Gets the value of the postTownName property.
 PostalCodeElement.PostTown.PostTownSuffix getPostTownSuffix()
          Gets the value of the postTownSuffix property.
 java.lang.String getType()
          Gets the value of the type property.
 boolean isSetAddressLine()
           
 boolean isSetPostTownName()
           
 boolean isSetPostTownSuffix()
           
 boolean isSetType()
           
 void setAddressLine(java.util.List<AddressLineElement> addressLine)
          Sets the value of the addressLine property.
 void setPostTownName(java.util.List<PostalCodeElement.PostTown.PostTownName> postTownName)
          Sets the value of the postTownName property.
 void setPostTownSuffix(PostalCodeElement.PostTown.PostTownSuffix value)
          Sets the value of the postTownSuffix property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void unsetAddressLine()
           
 void unsetPostTownName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostalCodeElement.PostTown

public PostalCodeElement.PostTown()
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()

getPostTownName

public java.util.List<PostalCodeElement.PostTown.PostTownName> getPostTownName()
Gets the value of the postTownName 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 postTownName property.

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

    getPostTownName().add(newItem);
 

Objects of the following type(s) are allowed in the list PostalCodeElement.PostTown.PostTownName


isSetPostTownName

public boolean isSetPostTownName()

unsetPostTownName

public void unsetPostTownName()

getPostTownSuffix

public PostalCodeElement.PostTown.PostTownSuffix getPostTownSuffix()
Gets the value of the postTownSuffix property.

Returns:
possible object is PostalCodeElement.PostTown.PostTownSuffix

setPostTownSuffix

public void setPostTownSuffix(PostalCodeElement.PostTown.PostTownSuffix value)
Sets the value of the postTownSuffix property.

Parameters:
value - allowed object is PostalCodeElement.PostTown.PostTownSuffix

isSetPostTownSuffix

public boolean isSetPostTownSuffix()

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

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

setPostTownName

public void setPostTownName(java.util.List<PostalCodeElement.PostTown.PostTownName> postTownName)
Sets the value of the postTownName property.

Parameters:
postTownName - allowed object is PostalCodeElement.PostTown.PostTownName