Package com.massifmaps.core
Class Address
java.lang.Object
com.massifmaps.core.Address
- Direct Known Subclasses:
GeocodingAddress
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.
This class is deprecated and will be removed in future SDK versions. Use GeocodingAddress instead.
-
Constructor Summary
ConstructorsConstructorDescriptionAddress()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 TypeMethodDescriptionbooleanDeprecated.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.getName()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.inthashCode()Deprecated.Returns the hash value of this object.toString()Deprecated.Creates a string representation of this address object, useful for logging.
-
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
Deprecated.Checks if this object is equal to the specified object. -
hashCode
public int hashCode()Deprecated.Returns the hash value of this object. -
getCountry
Deprecated.Returns the country name included in the address.- Returns:
- The country name included in the address.
-
getRegion
Deprecated.Returns the region name included in the address.- Returns:
- The region name included in the address.
-
getCounty
Deprecated.Returns the county name included in the address.- Returns:
- The county name included in the address.
-
getLocality
Deprecated.Returns the locality (city, town, village) name included in the address.- Returns:
- The locality name included in the address.
-
getNeighbourhood
Deprecated.Returns the local neighbourhood name included in the address.- Returns:
- The neighbourhood name included in the address.
-
getStreet
Deprecated.Returns the street name included in the address.- Returns:
- The street name included in the address.
-
getPostcode
Deprecated.Returns the postcode of the address.- Returns:
- The postcode of the address.
-
getHouseNumber
Deprecated.Returns the house number included in the address.- Returns:
- The house number included in the address.
-
getName
Deprecated.Returns the name included in the address.- Returns:
- The name included in the address.
-
getCategories
Deprecated.Returns the list of category tags describing the address.- Returns:
- The list of category tags describing the address.
-
toString
Deprecated.Creates a string representation of this address object, useful for logging.
-