public class DeviceLocation extends DeviceEvent implements IDeviceLocation, java.io.Serializable
Constructor and Description |
---|
DeviceLocation() |
Modifier and Type | Method and Description |
---|---|
static DeviceLocation |
copy(IDeviceLocation input)
Create a copy of an SPI object.
|
java.lang.Double |
getElevation()
Get elevation value.
|
java.lang.Double |
getLatitude()
Get latitude value.
|
java.lang.Double |
getLongitude()
Get longitude value.
|
void |
setElevation(java.lang.Double elevation) |
void |
setLatitude(java.lang.Double latitude) |
void |
setLongitude(java.lang.Double longitude) |
compareTo, copy, getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken, setAssetId, setAssetModuleId, setAssignmentType, setDeviceAssignmentToken, setEventDate, setEventType, setId, setReceivedDate, setSiteToken
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
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 java.lang.Double getLatitude()
IDeviceLocation
getLatitude
in interface IDeviceLocation
public void setLatitude(java.lang.Double latitude)
public java.lang.Double getLongitude()
IDeviceLocation
getLongitude
in interface IDeviceLocation
public void setLongitude(java.lang.Double longitude)
public java.lang.Double getElevation()
IDeviceLocation
getElevation
in interface IDeviceLocation
public void setElevation(java.lang.Double elevation)
public static DeviceLocation copy(IDeviceLocation input) throws SiteWhereException
input
- SiteWhereException