Class AddressDetails

  • 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 AddressDetails
    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 AddressDetails complex type.

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

     <complexType name="AddressDetails">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="PostalServiceElements" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="AddressIdentifier" 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="IdentifierType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                               <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                               <anyAttribute namespace='##other'/>
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                       <element name="EndorsementLineCode" 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="KeyLineCode" 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="Barcode" 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="SortingCode" 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" />
                             </restriction>
                           </complexContent>
                         </complexType>
                       </element>
                       <element name="AddressLatitude" 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="AddressLatitudeDirection" 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="AddressLongitude" 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="AddressLongitudeDirection" 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="SupplementaryPostalServiceData" 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>
                       <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="Address">
                 <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="AddressLines" type="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressLinesType"/>
               <element name="Country">
                 <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="CountryNameCode" 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="Scheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                                 <anyAttribute namespace='##other'/>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}CountryName" maxOccurs="unbounded" minOccurs="0"/>
                         <choice minOccurs="0">
                           <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AdministrativeArea"/>
                           <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/>
                           <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare"/>
                         </choice>
                         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
                       </sequence>
                       <anyAttribute namespace='##other'/>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AdministrativeArea"/>
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Locality"/>
               <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}Thoroughfare"/>
             </choice>
             <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attGroup ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}grPostal"/>
           <attribute name="AddressType" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="CurrentStatus" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="ValidFromDate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="ValidToDate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="Usage" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="AddressDetailsKey" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <anyAttribute namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Method Detail

      • isSetPostalServiceElements

        public boolean isSetPostalServiceElements()
      • isSetAddress

        public boolean isSetAddress()
      • setAddressLines

        public void setAddressLines​(AddressLinesType value)
        Sets the value of the addressLines property.
        Parameters:
        value - allowed object is AddressLinesType
      • isSetAddressLines

        public boolean isSetAddressLines()
      • isSetCountry

        public boolean isSetCountry()
      • setAdministrativeArea

        public void setAdministrativeArea​(AdministrativeArea value)
        Sets the value of the administrativeArea property.
        Parameters:
        value - allowed object is AdministrativeArea
      • isSetAdministrativeArea

        public boolean isSetAdministrativeArea()
      • getLocality

        public Locality getLocality()
        Gets the value of the locality property.
        Returns:
        possible object is Locality
      • setLocality

        public void setLocality​(Locality value)
        Sets the value of the locality property.
        Parameters:
        value - allowed object is Locality
      • isSetLocality

        public boolean isSetLocality()
      • getThoroughfare

        public Thoroughfare getThoroughfare()
        Gets the value of the thoroughfare property.
        Returns:
        possible object is Thoroughfare
      • setThoroughfare

        public void setThoroughfare​(Thoroughfare value)
        Sets the value of the thoroughfare property.
        Parameters:
        value - allowed object is Thoroughfare
      • isSetThoroughfare

        public boolean isSetThoroughfare()
      • 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()
      • getAddressType

        public String getAddressType()
        Gets the value of the addressType property.
        Returns:
        possible object is String
      • setAddressType

        public void setAddressType​(String value)
        Sets the value of the addressType property.
        Parameters:
        value - allowed object is String
      • isSetAddressType

        public boolean isSetAddressType()
      • getCurrentStatus

        public String getCurrentStatus()
        Gets the value of the currentStatus property.
        Returns:
        possible object is String
      • setCurrentStatus

        public void setCurrentStatus​(String value)
        Sets the value of the currentStatus property.
        Parameters:
        value - allowed object is String
      • isSetCurrentStatus

        public boolean isSetCurrentStatus()
      • getValidFromDate

        public String getValidFromDate()
        Gets the value of the validFromDate property.
        Returns:
        possible object is String
      • setValidFromDate

        public void setValidFromDate​(String value)
        Sets the value of the validFromDate property.
        Parameters:
        value - allowed object is String
      • isSetValidFromDate

        public boolean isSetValidFromDate()
      • getValidToDate

        public String getValidToDate()
        Gets the value of the validToDate property.
        Returns:
        possible object is String
      • setValidToDate

        public void setValidToDate​(String value)
        Sets the value of the validToDate property.
        Parameters:
        value - allowed object is String
      • isSetValidToDate

        public boolean isSetValidToDate()
      • getUsage

        public String getUsage()
        Gets the value of the usage property.
        Returns:
        possible object is String
      • setUsage

        public void setUsage​(String value)
        Sets the value of the usage property.
        Parameters:
        value - allowed object is String
      • isSetUsage

        public boolean isSetUsage()
      • getAddressDetailsKey

        public String getAddressDetailsKey()
        Gets the value of the addressDetailsKey property.
        Returns:
        possible object is String
      • setAddressDetailsKey

        public void setAddressDetailsKey​(String value)
        Sets the value of the addressDetailsKey property.
        Parameters:
        value - allowed object is String
      • isSetAddressDetailsKey

        public boolean isSetAddressDetailsKey()
      • getCode

        public String getCode()
        Gets the value of the code property.
        Returns:
        possible object is String
      • setCode

        public void setCode​(String value)
        Sets the value of the code property.
        Parameters:
        value - allowed object is String
      • isSetCode

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