Class Thoroughfare

  • 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 Thoroughfare
    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 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"/>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumber"/>
               <element name="ThoroughfareNumberRange">
                 <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="ThoroughfareNumberFrom">
                           <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 ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberPrefix" maxOccurs="unbounded" minOccurs="0"/>
                                   <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumber" maxOccurs="unbounded"/>
                                   <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberSuffix" maxOccurs="unbounded" minOccurs="0"/>
                                 </sequence>
                                 <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                                 <anyAttribute namespace='##other'/>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="ThoroughfareNumberTo">
                           <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 ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberPrefix" maxOccurs="unbounded" minOccurs="0"/>
                                   <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumber" maxOccurs="unbounded"/>
                                   <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberSuffix" maxOccurs="unbounded" minOccurs="0"/>
                                 </sequence>
                                 <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                                 <anyAttribute namespace='##other'/>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                       <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
                       <attribute name="RangeType">
                         <simpleType>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                             <enumeration value="Odd"/>
                             <enumeration value="Even"/>
                           </restriction>
                         </simpleType>
                       </attribute>
                       <attribute name="Indicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                       <attribute name="Separator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                       <attribute name="IndicatorOccurrence">
                         <simpleType>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                             <enumeration value="Before"/>
                             <enumeration value="After"/>
                           </restriction>
                         </simpleType>
                       </attribute>
                       <attribute name="NumberRangeOccurrence">
                         <simpleType>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                             <enumeration value="BeforeName"/>
                             <enumeration value="AfterName"/>
                             <enumeration value="BeforeType"/>
                             <enumeration value="AfterType"/>
                           </restriction>
                         </simpleType>
                       </attribute>
                       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                       <anyAttribute namespace='##other'/>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </choice>
             <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberPrefix" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNumberSuffix" maxOccurs="unbounded" minOccurs="0"/>
             <element name="ThoroughfarePreDirection" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfarePreDirectionType" minOccurs="0"/>
             <element name="ThoroughfareLeadingType" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareLeadingTypeType" minOccurs="0"/>
             <element name="ThoroughfareName" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNameType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="ThoroughfareTrailingType" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareTrailingTypeType" minOccurs="0"/>
             <element name="ThoroughfarePostDirection" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfarePostDirectionType" minOccurs="0"/>
             <element name="DependentThoroughfare" 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="ThoroughfarePreDirection" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfarePreDirectionType" minOccurs="0"/>
                       <element name="ThoroughfareLeadingType" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareLeadingTypeType" minOccurs="0"/>
                       <element name="ThoroughfareName" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareNameType" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="ThoroughfareTrailingType" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfareTrailingTypeType" minOccurs="0"/>
                       <element name="ThoroughfarePostDirection" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}ThoroughfarePostDirectionType" 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>
             </element>
             <choice minOccurs="0">
               <element name="DependentLocality" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}DependentLocalityType"/>
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Premise"/>
               <element name="Firm" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}FirmType"/>
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}PostalCode"/>
             </choice>
             <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="DependentThoroughfares">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Yes"/>
                 <enumeration value="No"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="DependentThoroughfaresIndicator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="DependentThoroughfaresConnector" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="DependentThoroughfaresType" 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()
      • getThoroughfareNumberOrThoroughfareNumberRange

        public List<Object> getThoroughfareNumberOrThoroughfareNumberRange()
        Gets the value of the thoroughfareNumberOrThoroughfareNumberRange 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 thoroughfareNumberOrThoroughfareNumberRange property.

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

            getThoroughfareNumberOrThoroughfareNumberRange().add(newItem);
         

        Objects of the following type(s) are allowed in the list Thoroughfare.ThoroughfareNumberRange ThoroughfareNumber

      • isSetThoroughfareNumberOrThoroughfareNumberRange

        public boolean isSetThoroughfareNumberOrThoroughfareNumberRange()
      • unsetThoroughfareNumberOrThoroughfareNumberRange

        public void unsetThoroughfareNumberOrThoroughfareNumberRange()
      • getThoroughfareNumberPrefix

        public List<ThoroughfareNumberPrefix> getThoroughfareNumberPrefix()
        Gets the value of the thoroughfareNumberPrefix 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 thoroughfareNumberPrefix property.

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

            getThoroughfareNumberPrefix().add(newItem);
         

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

      • isSetThoroughfareNumberPrefix

        public boolean isSetThoroughfareNumberPrefix()
      • unsetThoroughfareNumberPrefix

        public void unsetThoroughfareNumberPrefix()
      • getThoroughfareNumberSuffix

        public List<ThoroughfareNumberSuffix> getThoroughfareNumberSuffix()
        Gets the value of the thoroughfareNumberSuffix 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 thoroughfareNumberSuffix property.

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

            getThoroughfareNumberSuffix().add(newItem);
         

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

      • isSetThoroughfareNumberSuffix

        public boolean isSetThoroughfareNumberSuffix()
      • unsetThoroughfareNumberSuffix

        public void unsetThoroughfareNumberSuffix()
      • isSetThoroughfarePreDirection

        public boolean isSetThoroughfarePreDirection()
      • isSetThoroughfareLeadingType

        public boolean isSetThoroughfareLeadingType()
      • getThoroughfareName

        public List<ThoroughfareNameType> getThoroughfareName()
        Gets the value of the thoroughfareName 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 thoroughfareName property.

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

            getThoroughfareName().add(newItem);
         

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

      • isSetThoroughfareName

        public boolean isSetThoroughfareName()
      • unsetThoroughfareName

        public void unsetThoroughfareName()
      • isSetThoroughfareTrailingType

        public boolean isSetThoroughfareTrailingType()
      • isSetThoroughfarePostDirection

        public boolean isSetThoroughfarePostDirection()
      • isSetDependentThoroughfare

        public boolean isSetDependentThoroughfare()
      • isSetDependentLocality

        public boolean isSetDependentLocality()
      • getPremise

        public Premise getPremise()
        Gets the value of the premise property.
        Returns:
        possible object is Premise
      • setPremise

        public void setPremise​(Premise value)
        Sets the value of the premise property.
        Parameters:
        value - allowed object is Premise
      • isSetPremise

        public boolean isSetPremise()
      • getFirm

        public FirmType getFirm()
        Gets the value of the firm property.
        Returns:
        possible object is FirmType
      • setFirm

        public void setFirm​(FirmType value)
        Sets the value of the firm property.
        Parameters:
        value - allowed object is FirmType
      • isSetFirm

        public boolean isSetFirm()
      • getPostalCode

        public PostalCode getPostalCode()
        Gets the value of the postalCode property.
        Returns:
        possible object is PostalCode
      • setPostalCode

        public void setPostalCode​(PostalCode value)
        Sets the value of the postalCode property.
        Parameters:
        value - allowed object is PostalCode
      • isSetPostalCode

        public boolean isSetPostalCode()
      • 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()
      • getDependentThoroughfares

        public String getDependentThoroughfares()
        Gets the value of the dependentThoroughfares property.
        Returns:
        possible object is String
      • setDependentThoroughfares

        public void setDependentThoroughfares​(String value)
        Sets the value of the dependentThoroughfares property.
        Parameters:
        value - allowed object is String
      • isSetDependentThoroughfares

        public boolean isSetDependentThoroughfares()
      • getDependentThoroughfaresIndicator

        public String getDependentThoroughfaresIndicator()
        Gets the value of the dependentThoroughfaresIndicator property.
        Returns:
        possible object is String
      • setDependentThoroughfaresIndicator

        public void setDependentThoroughfaresIndicator​(String value)
        Sets the value of the dependentThoroughfaresIndicator property.
        Parameters:
        value - allowed object is String
      • isSetDependentThoroughfaresIndicator

        public boolean isSetDependentThoroughfaresIndicator()
      • getDependentThoroughfaresConnector

        public String getDependentThoroughfaresConnector()
        Gets the value of the dependentThoroughfaresConnector property.
        Returns:
        possible object is String
      • setDependentThoroughfaresConnector

        public void setDependentThoroughfaresConnector​(String value)
        Sets the value of the dependentThoroughfaresConnector property.
        Parameters:
        value - allowed object is String
      • isSetDependentThoroughfaresConnector

        public boolean isSetDependentThoroughfaresConnector()
      • getDependentThoroughfaresType

        public String getDependentThoroughfaresType()
        Gets the value of the dependentThoroughfaresType property.
        Returns:
        possible object is String
      • setDependentThoroughfaresType

        public void setDependentThoroughfaresType​(String value)
        Sets the value of the dependentThoroughfaresType property.
        Parameters:
        value - allowed object is String
      • isSetDependentThoroughfaresType

        public boolean isSetDependentThoroughfaresType()
      • 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
      • setThoroughfareNumberOrThoroughfareNumberRange

        public void setThoroughfareNumberOrThoroughfareNumberRange​(List<Object> value)
      • setAny

        public void setAny​(List<Object> value)
      • withThoroughfareNumberOrThoroughfareNumberRange

        public Thoroughfare withThoroughfareNumberOrThoroughfareNumberRange​(Object... values)
      • withThoroughfareNumberOrThoroughfareNumberRange

        public Thoroughfare withThoroughfareNumberOrThoroughfareNumberRange​(Collection<Object> values)
      • withDependentThoroughfares

        public Thoroughfare withDependentThoroughfares​(String value)
      • withDependentThoroughfaresIndicator

        public Thoroughfare withDependentThoroughfaresIndicator​(String value)
      • withDependentThoroughfaresConnector

        public Thoroughfare withDependentThoroughfaresConnector​(String value)
      • withDependentThoroughfaresType

        public Thoroughfare withDependentThoroughfaresType​(String value)
      • withThoroughfareNumberOrThoroughfareNumberRange

        public Thoroughfare withThoroughfareNumberOrThoroughfareNumberRange​(List<Object> value)