java.lang.Object | |
↳ | com.carto.core.Address |
![]() |
This class is deprecated.
No replacement.
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Address()
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)
Constructs a new address from the the country, region, county and other attributes.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
StringVector |
getCategories()
Returns the list of category tags describing the address.
| ||||||||||
String |
getCountry()
Returns the country name included in the address.
| ||||||||||
String |
getCounty()
Returns the county name included in the address.
| ||||||||||
String |
getHouseNumber()
Returns the house number included in the address.
| ||||||||||
String |
getLocality()
Returns the locality (city, town, village) name included in the address.
| ||||||||||
String |
getName()
Returns the name included in the address.
| ||||||||||
String |
getNeighbourhood()
Returns the local neighbourhood name included in the address.
| ||||||||||
String |
getPostcode()
Returns the postcode of the address.
| ||||||||||
String |
getRegion()
Returns the region name included in the address.
| ||||||||||
String |
getStreet()
Returns the street name included in the address.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
String |
toString()
Creates a string representation of this address object, useful for logging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs an empty Address object.
Constructs a new address from the the country, region, county and other attributes.
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. |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the list of category tags describing the address.
Returns the country name included in the address.
Returns the county name included in the address.
Returns the house number included in the address.
Returns the locality (city, town, village) name included in the address.
Returns the name included in the address.
Returns the local neighbourhood name included in the address.
Returns the postcode of the address.
Returns the region name included in the address.
Returns the street name included in the address.
Returns the hash value of this object.
Creates a string representation of this address object, useful for logging.