Class Address

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class Address
    extends java.lang.Object
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    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="{http://www.CIP4.org/JDFSchema_2_0}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="AddressUsage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="City" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="CivicNumber" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="Country" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="CountryCode">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <pattern value="[A-Z][A-Z]"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="ExtendedAddress" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="PostBox" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="Region" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="Street" type="{http://www.w3.org/2001/XMLSchema}string" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Address()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.util.List<AddressLine> getAddressLine()
      Gets the value of the addressLine property.
      java.lang.String getAddressUsage()
      Gets the value of the addressUsage property.
      java.lang.String getCity()
      Gets the value of the city property.
      java.lang.String getCivicNumber()
      Gets the value of the civicNumber property.
      java.lang.String getCountry()
      Gets the value of the country property.
      java.lang.String getCountryCode()
      Gets the value of the countryCode property.
      java.lang.String getExtendedAddress()
      Gets the value of the extendedAddress 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.lang.String getPostalCode()
      Gets the value of the postalCode property.
      java.lang.String getPostBox()
      Gets the value of the postBox property.
      java.lang.String getRegion()
      Gets the value of the region property.
      java.lang.String getStreet()
      Gets the value of the street property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setAddressUsage​(java.lang.String value)
      Sets the value of the addressUsage property.
      void setCity​(java.lang.String value)
      Sets the value of the city property.
      void setCivicNumber​(java.lang.String value)
      Sets the value of the civicNumber property.
      void setCountry​(java.lang.String value)
      Sets the value of the country property.
      void setCountryCode​(java.lang.String value)
      Sets the value of the countryCode property.
      void setExtendedAddress​(java.lang.String value)
      Sets the value of the extendedAddress property.
      void setPostalCode​(java.lang.String value)
      Sets the value of the postalCode property.
      void setPostBox​(java.lang.String value)
      Sets the value of the postBox property.
      void setRegion​(java.lang.String value)
      Sets the value of the region property.
      void setStreet​(java.lang.String value)
      Sets the value of the street property.
      Address withAddressLine​(java.util.Collection<AddressLine> values)  
      Address withAddressLine​(AddressLine... values)  
      Address withAddressUsage​(java.lang.String value)  
      Address withCity​(java.lang.String value)  
      Address withCivicNumber​(java.lang.String value)  
      Address withCountry​(java.lang.String value)  
      Address withCountryCode​(java.lang.String value)  
      Address withExtendedAddress​(java.lang.String value)  
      Address withPostalCode​(java.lang.String value)  
      Address withPostBox​(java.lang.String value)  
      Address withRegion​(java.lang.String value)  
      Address withStreet​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • addressLine

        protected java.util.List<AddressLine> addressLine
      • addressUsage

        protected java.lang.String addressUsage
      • city

        protected java.lang.String city
      • civicNumber

        protected java.lang.String civicNumber
      • country

        protected java.lang.String country
      • countryCode

        protected java.lang.String countryCode
      • extendedAddress

        protected java.lang.String extendedAddress
      • postalCode

        protected java.lang.String postalCode
      • postBox

        protected java.lang.String postBox
      • region

        protected java.lang.String region
      • street

        protected java.lang.String street
    • Constructor Detail

      • Address

        public Address()
    • Method Detail

      • getAddressLine

        public java.util.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 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 AddressLine

      • getAddressUsage

        public java.lang.String getAddressUsage()
        Gets the value of the addressUsage property.
        Returns:
        possible object is String
      • setAddressUsage

        public void setAddressUsage​(java.lang.String value)
        Sets the value of the addressUsage property.
        Parameters:
        value - allowed object is String
      • getCity

        public java.lang.String getCity()
        Gets the value of the city property.
        Returns:
        possible object is String
      • setCity

        public void setCity​(java.lang.String value)
        Sets the value of the city property.
        Parameters:
        value - allowed object is String
      • getCivicNumber

        public java.lang.String getCivicNumber()
        Gets the value of the civicNumber property.
        Returns:
        possible object is String
      • setCivicNumber

        public void setCivicNumber​(java.lang.String value)
        Sets the value of the civicNumber property.
        Parameters:
        value - allowed object is String
      • getCountry

        public java.lang.String getCountry()
        Gets the value of the country property.
        Returns:
        possible object is String
      • setCountry

        public void setCountry​(java.lang.String value)
        Sets the value of the country property.
        Parameters:
        value - allowed object is String
      • getCountryCode

        public java.lang.String getCountryCode()
        Gets the value of the countryCode property.
        Returns:
        possible object is String
      • setCountryCode

        public void setCountryCode​(java.lang.String value)
        Sets the value of the countryCode property.
        Parameters:
        value - allowed object is String
      • getExtendedAddress

        public java.lang.String getExtendedAddress()
        Gets the value of the extendedAddress property.
        Returns:
        possible object is String
      • setExtendedAddress

        public void setExtendedAddress​(java.lang.String value)
        Sets the value of the extendedAddress property.
        Parameters:
        value - allowed object is String
      • getPostalCode

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

        public void setPostalCode​(java.lang.String value)
        Sets the value of the postalCode property.
        Parameters:
        value - allowed object is String
      • getPostBox

        public java.lang.String getPostBox()
        Gets the value of the postBox property.
        Returns:
        possible object is String
      • setPostBox

        public void setPostBox​(java.lang.String value)
        Sets the value of the postBox property.
        Parameters:
        value - allowed object is String
      • getRegion

        public java.lang.String getRegion()
        Gets the value of the region property.
        Returns:
        possible object is String
      • setRegion

        public void setRegion​(java.lang.String value)
        Sets the value of the region property.
        Parameters:
        value - allowed object is String
      • getStreet

        public java.lang.String getStreet()
        Gets the value of the street property.
        Returns:
        possible object is String
      • setStreet

        public void setStreet​(java.lang.String value)
        Sets the value of the street property.
        Parameters:
        value - allowed object is String
      • 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
      • withAddressLine

        public Address withAddressLine​(java.util.Collection<AddressLine> values)
      • withAddressUsage

        public Address withAddressUsage​(java.lang.String value)
      • withCity

        public Address withCity​(java.lang.String value)
      • withCivicNumber

        public Address withCivicNumber​(java.lang.String value)
      • withCountry

        public Address withCountry​(java.lang.String value)
      • withCountryCode

        public Address withCountryCode​(java.lang.String value)
      • withExtendedAddress

        public Address withExtendedAddress​(java.lang.String value)
      • withPostalCode

        public Address withPostalCode​(java.lang.String value)
      • withPostBox

        public Address withPostBox​(java.lang.String value)
      • withRegion

        public Address withRegion​(java.lang.String value)
      • withStreet

        public Address withStreet​(java.lang.String value)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object