org.citygml4j.jaxb.xal
Class PostalRouteType

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

public class PostalRouteType
extends java.lang.Object

Java class for PostalRouteType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PostalRouteType">
   <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"/>
         <choice>
           <element name="PostalRouteName" maxOccurs="unbounded">
             <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="PostalRouteNumber">
             <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>
         </choice>
         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostBox" minOccurs="0"/>
         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <anyAttribute namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class PostalRouteType.PostalRouteName
          Java class for anonymous complex type.
static class PostalRouteType.PostalRouteNumber
          Java class for anonymous complex type.
 
Constructor Summary
PostalRouteType()
           
 
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.
 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<PostalRouteType.PostalRouteName> getPostalRouteName()
          Gets the value of the postalRouteName property.
 PostalRouteType.PostalRouteNumber getPostalRouteNumber()
          Gets the value of the postalRouteNumber property.
 PostBoxElement getPostBox()
          Gets the value of the postBox property.
 java.lang.String getType()
          Gets the value of the type property.
 boolean isSetAddressLine()
           
 boolean isSetAny()
           
 boolean isSetPostalRouteName()
           
 boolean isSetPostalRouteNumber()
           
 boolean isSetPostBox()
           
 boolean isSetType()
           
 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 setPostalRouteName(java.util.List<PostalRouteType.PostalRouteName> postalRouteName)
          Sets the value of the postalRouteName property.
 void setPostalRouteNumber(PostalRouteType.PostalRouteNumber value)
          Sets the value of the postalRouteNumber property.
 void setPostBox(PostBoxElement value)
          Sets the value of the postBox property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void unsetAddressLine()
           
 void unsetAny()
           
 void unsetPostalRouteName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostalRouteType

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

getPostalRouteName

public java.util.List<PostalRouteType.PostalRouteName> getPostalRouteName()
Gets the value of the postalRouteName 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 postalRouteName property.

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

    getPostalRouteName().add(newItem);
 

Objects of the following type(s) are allowed in the list PostalRouteType.PostalRouteName


isSetPostalRouteName

public boolean isSetPostalRouteName()

unsetPostalRouteName

public void unsetPostalRouteName()

getPostalRouteNumber

public PostalRouteType.PostalRouteNumber getPostalRouteNumber()
Gets the value of the postalRouteNumber property.

Returns:
possible object is PostalRouteType.PostalRouteNumber

setPostalRouteNumber

public void setPostalRouteNumber(PostalRouteType.PostalRouteNumber value)
Sets the value of the postalRouteNumber property.

Parameters:
value - allowed object is PostalRouteType.PostalRouteNumber

isSetPostalRouteNumber

public boolean isSetPostalRouteNumber()

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

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

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

setPostalRouteName

public void setPostalRouteName(java.util.List<PostalRouteType.PostalRouteName> postalRouteName)
Sets the value of the postalRouteName property.

Parameters:
postalRouteName - allowed object is PostalRouteType.PostalRouteName

setAny

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

Parameters:
any - allowed object is Object