public class DistanceUnawareLocation extends java.lang.Object implements Location, java.io.Serializable
Location| Constructor and Description |
|---|
DistanceUnawareLocation(PointOfServiceModel posModel)
creates a new location using the given point of service.
|
| Modifier and Type | Method and Description |
|---|---|
AddressData |
getAddressData()
Get AddressData object
|
java.lang.String |
getCountry()
Get the address'es country ISO code
|
java.lang.String |
getDescription()
Returns a POS description
|
GPS |
getGPS()
Getting the geographic coordinates of the IAddress
|
java.lang.String |
getMapIconUrl()
returns MapIcon that is to be displayed on the map to represent this location
|
java.lang.String |
getName()
Return name
|
java.lang.String |
getTextualAddress()
Getting the textual address of the IAddress
|
java.lang.String |
getType() |
public DistanceUnawareLocation(PointOfServiceModel posModel)
posModel - the point of service to useLocationInstantiationException - if the point of service has invalid geo location datapublic AddressData getAddressData()
LocationgetAddressData in interface Locationpublic java.lang.String getCountry()
LocationgetCountry in interface Locationpublic GPS getGPS()
Locationpublic java.lang.String getName()
Locationpublic java.lang.String getTextualAddress()
LocationgetTextualAddress in interface Locationpublic java.lang.String getDescription()
LocationgetDescription in interface Locationpublic java.lang.String getMapIconUrl()
LocationgetMapIconUrl in interface LocationCopyright © 2018 SAP SE. All Rights Reserved.