public class DeviceLocationWithAsset extends DeviceEventWithAsset implements IDeviceLocation
DeviceLocation
so that information about the asset associated
with its assignment is available.asset, UNASSOCIATED_ASSET_NAME, wrapped
Constructor and Description |
---|
DeviceLocationWithAsset(IDeviceLocation wrapped,
IAssetModuleManager assets) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getElevation()
Get elevation value.
|
java.lang.Double |
getLatitude()
Get latitude value.
|
java.lang.Double |
getLongitude()
Get longitude value.
|
addOrReplaceMetadata, clearMetadata, compareTo, getAssetId, getAssetModuleId, getAssetName, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getMetadata, getMetadata, getReceivedDate, getSiteToken, getWrapped, removeMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
public DeviceLocationWithAsset(IDeviceLocation wrapped, IAssetModuleManager assets) throws SiteWhereException
SiteWhereException
public java.lang.Double getLatitude()
IDeviceLocation
getLatitude
in interface IDeviceLocation
public java.lang.Double getLongitude()
IDeviceLocation
getLongitude
in interface IDeviceLocation
public java.lang.Double getElevation()
IDeviceLocation
getElevation
in interface IDeviceLocation