Class Address

All Implemented Interfaces:
HasTransientProperties, SupportsExtensionElements

public class Address extends ExtensibleData
An address.
Author:
Ryan Heaton
  • Constructor Details

    • Address

      public Address()
    • Address

      public Address(Address copy)
  • Method Details

    • id

      public Address id(String id)
      Description copied from class: ExtensibleData
      Build up this object with an id.
      Overrides:
      id in class ExtensibleData
      Parameters:
      id - The id.
      Returns:
      this.
    • extensionElement

      public Address extensionElement(Object element)
      Overrides:
      extensionElement in class ExtensibleData
    • getCity

      public String getCity()
      The city.
      Returns:
      The city.
    • setCity

      public void setCity(String city)
      The city.
      Parameters:
      city - The city.
    • city

      public Address city(String city)
      Build up this address with a city.
      Parameters:
      city - The city.
      Returns:
      this.
    • getCountry

      public String getCountry()
      The country.
      Returns:
      The country.
    • country

      public Address country(String country)
      Build up this address with a country.
      Parameters:
      country - The country.
      Returns:
      this.
    • setCountry

      public void setCountry(String country)
      The country.
      Parameters:
      country - The country.
    • getPostalCode

      public String getPostalCode()
      The postal code.
      Returns:
      The postal code.
    • setPostalCode

      public void setPostalCode(String postalCode)
      The postal code.
      Parameters:
      postalCode - The postal code.
    • postalCode

      public Address postalCode(String postalCode)
      Build up this address with a postalcode.
      Parameters:
      postalCode - The postalcode.
      Returns:
      this.
    • getStateOrProvince

      public String getStateOrProvince()
      The state or province.
      Returns:
      The state or province.
    • setStateOrProvince

      public void setStateOrProvince(String stateOrProvince)
      The state or province.
      Parameters:
      stateOrProvince - The state or province.
    • stateOrProvince

      public Address stateOrProvince(String stateOrProvince)
      Build up this address with a state or province.
      Parameters:
      stateOrProvince - The state or province.
      Returns:
      this.
    • getStreet

      public String getStreet()
      The street.
      Returns:
      The street.
    • setStreet

      public void setStreet(String street)
      The street.
      Parameters:
      street - The street.
    • street

      public Address street(String street)
      Build up this address with a street.
      Parameters:
      street - The street.
      Returns:
      this.
    • getStreet2

      public String getStreet2()
      Additional street information.
      Returns:
      Additional street information.
    • setStreet2

      public void setStreet2(String street2)
      Additional street information.
      Parameters:
      street2 - Additional street information.
    • street2

      public Address street2(String street2)
      Build up this address with a street2.
      Parameters:
      street2 - The street2.
      Returns:
      this.
    • getStreet3

      public String getStreet3()
      Additional street information.
      Returns:
      Additional street information.
    • setStreet3

      public void setStreet3(String street3)
      Additional street information.
      Parameters:
      street3 - Additional street information.
    • street3

      public Address street3(String street3)
      Build up this address with a street3.
      Parameters:
      street3 - The street3.
      Returns:
      this.
    • getStreet4

      public String getStreet4()
      Additional street information.
      Returns:
      Additional street information.
    • setStreet4

      public void setStreet4(String street4)
      Additional street information.
      Parameters:
      street4 - Additional street information.
    • street4

      public Address street4(String street4)
      Build up this address with a street4.
      Parameters:
      street4 - The street4.
      Returns:
      this.
    • getStreet5

      public String getStreet5()
      Additional street information.
      Returns:
      Additional street information.
    • setStreet5

      public void setStreet5(String street5)
      Additional street information.
      Parameters:
      street5 - Additional street information.
    • street5

      public Address street5(String street5)
      Build up this address with a street5.
      Parameters:
      street5 - The street5.
      Returns:
      this.
    • getStreet6

      public String getStreet6()
      Additional street information.
      Returns:
      Additional street information.
    • setStreet6

      public void setStreet6(String street6)
      Additional street information.
      Parameters:
      street6 - Additional street information.
    • street6

      public Address street6(String street6)
      Build up this address with a street6.
      Parameters:
      street6 - The street6.
      Returns:
      this.
    • getValue

      public String getValue()
      The value of the property, if it can be expressed as a string.
      Returns:
      The value of the property.
    • setValue

      public void setValue(String value)
      The value of the property, if it can be expressed as a string.
      Parameters:
      value - The value of the property.
    • value

      public Address value(String value)
      Build up this address with a value.
      Parameters:
      value - The value.
      Returns:
      this.