Class PostalCode

java.lang.Object
org.bremersee.oasis.xal.PostalCode
All Implemented Interfaces:
Serializable

public class PostalCode extends Object implements Serializable

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" />
                 <anyAttribute namespace='##other'/>
               </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" />
                 <anyAttribute namespace='##other'/>
               </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" />
                           <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>
         </element>
         <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>
 
See Also:
  • Field Details

  • Constructor Details

    • PostalCode

      public PostalCode()
  • Method Details

    • getAddressLines

      public List<AddressLine> getAddressLines()
      Gets the value of the addressLines 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 Jakarta XML Binding object. This is why there is not a set method for the addressLines property.

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

          getAddressLines().add(newItem);
       

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

      Returns:
      The value of the addressLines property.
    • getPostalCodeNumbers

      public List<PostalCode.PostalCodeNumber> getPostalCodeNumbers()
      Gets the value of the postalCodeNumbers 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 Jakarta XML Binding object. This is why there is not a set method for the postalCodeNumbers property.

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

          getPostalCodeNumbers().add(newItem);
       

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

      Returns:
      The value of the postalCodeNumbers property.
    • getPostalCodeNumberExtensions

      public List<PostalCode.PostalCodeNumberExtension> getPostalCodeNumberExtensions()
      Gets the value of the postalCodeNumberExtensions 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 Jakarta XML Binding object. This is why there is not a set method for the postalCodeNumberExtensions property.

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

          getPostalCodeNumberExtensions().add(newItem);
       

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

      Returns:
      The value of the postalCodeNumberExtensions property.
    • 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
    • getAnies

      public List<Object> getAnies()
      Gets the value of the anies 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 Jakarta XML Binding object. This is why there is not a set method for the anies property.

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

          getAnies().add(newItem);
       

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

      Returns:
      The value of the anies property.
    • 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