Interface Location
- All Known Subinterfaces:
DistanceAwareLocation
- All Known Implementing Classes:
DefaultLocation,DistanceUnawareLocation,LocationDtoWrapper
public interface Location
Representation of single address
-
Method Summary
Modifier and TypeMethodDescriptionGet AddressData objectGet the address'es country ISO codeReturns a POS descriptiongetGPS()Getting the geographic coordinates of the IAddressreturns MapIcon that is to be displayed on the map to represent this locationgetName()Return nameGetting the textual address of the IAddressgetType()
-
Method Details
-
getName
String getName()Return name- Returns:
- String
-
getDescription
String getDescription()Returns a POS description- Returns:
- String
-
getGPS
GPS getGPS()Getting the geographic coordinates of the IAddress- Returns:
- GPS
-
getCountry
String getCountry()Get the address'es country ISO code- Returns:
- String
-
getTextualAddress
String getTextualAddress()Getting the textual address of the IAddress- Returns:
- String
-
getAddressData
AddressData getAddressData()Get AddressData object- Returns:
- String
-
getMapIconUrl
String getMapIconUrl()returns MapIcon that is to be displayed on the map to represent this location- Returns:
- String
-
getType
String getType()- Returns:
- String describing location type
-