Class PostalRouteType

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

    public class PostalRouteType
    extends Object
    implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

    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>
     
    • 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 Jakarta XML Binding 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

      • isSetAddressLine

        public boolean isSetAddressLine()
      • unsetAddressLine

        public void unsetAddressLine()
      • getPostalRouteName

        public 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 Jakarta XML Binding 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()
      • isSetPostalRouteNumber

        public boolean isSetPostalRouteNumber()
      • 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
      • isSetPostBox

        public boolean isSetPostBox()
      • 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 Jakarta XML Binding 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 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
      • isSetType

        public boolean isSetType()
      • 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
      • append

        public StringBuilder append​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        append in interface org.jvnet.jaxb.lang.ToString
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb.lang.ToString
      • equals

        public boolean equals​(org.jvnet.jaxb.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb.lang.Equals
      • hashCode

        public int hashCode​(org.jvnet.jaxb.locator.ObjectLocator locator,
                            org.jvnet.jaxb.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
      • copyTo

        public Object copyTo​(org.jvnet.jaxb.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb.lang.CopyStrategy strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
      • mergeFrom

        public void mergeFrom​(Object left,
                              Object right)
        Specified by:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      • mergeFrom

        public void mergeFrom​(org.jvnet.jaxb.locator.ObjectLocator leftLocator,
                              org.jvnet.jaxb.locator.ObjectLocator rightLocator,
                              Object left,
                              Object right,
                              org.jvnet.jaxb.lang.MergeStrategy strategy)
        Specified by:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      • setAny

        public void setAny​(List<Object> value)