public class DeviceMeasurement extends DeviceEvent implements IDeviceMeasurement, java.io.Serializable
| Constructor and Description |
|---|
DeviceMeasurement() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceMeasurement |
copy(IDeviceMeasurement input)
Create a copy of an SPI object.
|
java.lang.String |
getName()
Get measurement name.
|
java.lang.Double |
getValue()
Get measurement value.
|
void |
setName(java.lang.String name) |
void |
setValue(java.lang.Double value) |
compareTo, copy, getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken, setAssetId, setAssetModuleId, setAssignmentType, setDeviceAssignmentToken, setEventDate, setEventType, setId, setReceivedDate, setSiteTokenaddOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteTokenaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatapublic java.lang.String getName()
IMeasurementEntrygetName in interface IMeasurementEntrypublic void setName(java.lang.String name)
public java.lang.Double getValue()
IMeasurementEntrygetValue in interface IMeasurementEntrypublic void setValue(java.lang.Double value)
public static DeviceMeasurement copy(IDeviceMeasurement input) throws SiteWhereException
input - SiteWhereException