Class Address

java.lang.Object
com.massifmaps.core.Address
Direct Known Subclasses:
GeocodingAddress

public class Address extends Object
Deprecated.
A geographical address describing country, region, county and other information.
This class is deprecated and will be removed in future SDK versions. Use GeocodingAddress instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructs an empty Address object.
    Address(String country, String region, String county, String locality, String neighbourhood, String street, String postcode, String houseNumber, String name, StringVector categories)
    Deprecated.
    Constructs a new address from the the country, region, county and other attributes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Checks if this object is equal to the specified object.
    Deprecated.
    Returns the list of category tags describing the address.
    Deprecated.
    Returns the country name included in the address.
    Deprecated.
    Returns the county name included in the address.
    Deprecated.
    Returns the house number included in the address.
    Deprecated.
    Returns the locality (city, town, village) name included in the address.
    Deprecated.
    Returns the name included in the address.
    Deprecated.
    Returns the local neighbourhood name included in the address.
    Deprecated.
    Returns the postcode of the address.
    Deprecated.
    Returns the region name included in the address.
    Deprecated.
    Returns the street name included in the address.
    int
    Deprecated.
    Returns the hash value of this object.
    Deprecated.
    Creates a string representation of this address object, useful for logging.

    Methods inherited from class java.lang.Object

    clone, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Address

      public Address()
      Deprecated.
      Constructs an empty Address object.
    • Address

      public Address(String country, String region, String county, String locality, String neighbourhood, String street, String postcode, String houseNumber, String name, StringVector categories)
      Deprecated.
      Constructs a new address from the the country, region, county and other attributes.
      Parameters:
      country - The country name of the address.
      region - The region name of the address.
      county - The county name of the address.
      locality - The locality name of the address.
      neighbourhood - The neighbourhood name of the address.
      street - The street name of the address.
      postcode - The postcode of the address.
      houseNumber - The house number of the address.
      name - The name of the address.
      categories - The category tags describing the address.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Deprecated.
      Checks if this object is equal to the specified object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The reference object.
      Returns:
      True when objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Deprecated.
      Returns the hash value of this object.
      Overrides:
      hashCode in class Object
      Returns:
      The hash value of this object.
    • getCountry

      public String getCountry()
      Deprecated.
      Returns the country name included in the address.
      Returns:
      The country name included in the address.
    • getRegion

      public String getRegion()
      Deprecated.
      Returns the region name included in the address.
      Returns:
      The region name included in the address.
    • getCounty

      public String getCounty()
      Deprecated.
      Returns the county name included in the address.
      Returns:
      The county name included in the address.
    • getLocality

      public String getLocality()
      Deprecated.
      Returns the locality (city, town, village) name included in the address.
      Returns:
      The locality name included in the address.
    • getNeighbourhood

      public String getNeighbourhood()
      Deprecated.
      Returns the local neighbourhood name included in the address.
      Returns:
      The neighbourhood name included in the address.
    • getStreet

      public String getStreet()
      Deprecated.
      Returns the street name included in the address.
      Returns:
      The street name included in the address.
    • getPostcode

      public String getPostcode()
      Deprecated.
      Returns the postcode of the address.
      Returns:
      The postcode of the address.
    • getHouseNumber

      public String getHouseNumber()
      Deprecated.
      Returns the house number included in the address.
      Returns:
      The house number included in the address.
    • getName

      public String getName()
      Deprecated.
      Returns the name included in the address.
      Returns:
      The name included in the address.
    • getCategories

      public StringVector getCategories()
      Deprecated.
      Returns the list of category tags describing the address.
      Returns:
      The list of category tags describing the address.
    • toString

      public String toString()
      Deprecated.
      Creates a string representation of this address object, useful for logging.
      Overrides:
      toString in class Object
      Returns:
      The string representation of this address object.