Class LocationDtoWrapper
- java.lang.Object
-
- de.hybris.platform.storelocator.location.impl.LocationDtoWrapper
-
- All Implemented Interfaces:
Location
public class LocationDtoWrapper extends java.lang.Object implements Location
Implementation ofLocationapplicable forLocationDTOoriginating from external services
-
-
Constructor Summary
Constructors Constructor Description LocationDtoWrapper(AddressData addressData, GPS gps)LocationDtoWrapper(LocationDTO locationDto)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressDatagetAddressData()Get AddressData objectjava.lang.StringgetCountry()Get the address'es country ISO codejava.lang.StringgetDescription()Returns a POS descriptionGPSgetGPS()Getting the geographic coordinates of the IAddressjava.lang.StringgetMapIconUrl()returns MapIcon that is to be displayed on the map to represent this locationjava.lang.StringgetName()Return namejava.lang.StringgetTextualAddress()Getting the textual address of the IAddressjava.lang.StringgetType()
-
-
-
Constructor Detail
-
LocationDtoWrapper
public LocationDtoWrapper(AddressData addressData, GPS gps)
- Parameters:
addressData-gps-
-
LocationDtoWrapper
public LocationDtoWrapper(LocationDTO locationDto)
-
-
Method Detail
-
getAddressData
public AddressData getAddressData()
Description copied from interface:LocationGet AddressData object- Specified by:
getAddressDatain interfaceLocation- Returns:
- String
-
getCountry
public java.lang.String getCountry()
Description copied from interface:LocationGet the address'es country ISO code- Specified by:
getCountryin interfaceLocation- Returns:
- String
-
getDescription
public java.lang.String getDescription()
Description copied from interface:LocationReturns a POS description- Specified by:
getDescriptionin interfaceLocation- Returns:
- String
-
getGPS
public GPS getGPS()
Description copied from interface:LocationGetting the geographic coordinates of the IAddress
-
getMapIconUrl
public java.lang.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
-
getName
public java.lang.String getName()
Description copied from interface:LocationReturn name
-
getTextualAddress
public java.lang.String getTextualAddress()
Description copied from interface:LocationGetting the textual address of the IAddress- Specified by:
getTextualAddressin interfaceLocation- Returns:
- String
-
-