Class DistanceUnawareLocation
java.lang.Object
de.hybris.platform.storelocator.location.impl.DistanceUnawareLocation
- All Implemented Interfaces:
Location,Serializable
- Direct Known Subclasses:
DefaultLocation
Base implementation of the 'not distance aware'
Location- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDistanceUnawareLocation(PointOfServiceModel posModel) creates a new location using the given point of service. -
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()
-
Constructor Details
-
DistanceUnawareLocation
creates a new location using the given point of service.- Parameters:
posModel- the point of service to use- Throws:
LocationInstantiationException- if the point of service has invalid geo location data
-
-
Method Details
-
getAddressData
Description copied from interface:LocationGet AddressData object- Specified by:
getAddressDatain interfaceLocation- Returns:
- String
-
getCountry
Description copied from interface:LocationGet the address'es country ISO code- Specified by:
getCountryin interfaceLocation- Returns:
- String
-
getGPS
Description copied from interface:LocationGetting the geographic coordinates of the IAddress -
getName
Description copied from interface:LocationReturn name -
getTextualAddress
Description copied from interface:LocationGetting the textual address of the IAddress- Specified by:
getTextualAddressin interfaceLocation- Returns:
- String
-
getDescription
Description copied from interface:LocationReturns a POS description- Specified by:
getDescriptionin interfaceLocation- Returns:
- String
-
getMapIconUrl
Description copied from interface:Locationreturns MapIcon that is to be displayed on the map to represent this location- Specified by:
getMapIconUrlin interfaceLocation- Returns:
- String
-
getType
-