public class DeviceAssignmentState extends java.lang.Object implements IDeviceAssignmentState, java.io.Serializable
Constructor and Description |
---|
DeviceAssignmentState() |
Modifier and Type | Method and Description |
---|---|
static DeviceAssignmentState |
copy(IDeviceAssignmentState source) |
java.util.Date |
getLastInteractionDate()
Date of last interaction with device.
|
IDeviceLocation |
getLastLocation()
Get last device location.
|
java.util.List<IDeviceAlert> |
getLatestAlerts()
Get last alert for each alert type.
|
java.util.List<IDeviceMeasurement> |
getLatestMeasurements()
Get last measurement for each measurement id.
|
java.util.Date |
getPresenceMissingDate()
Date when presence was determined to be missing.
|
void |
setLastInteractionDate(java.util.Date lastInteractionDate) |
void |
setLastLocation(DeviceLocation lastLocation) |
void |
setLatestAlerts(java.util.List<DeviceAlert> latestAlerts) |
void |
setLatestMeasurements(java.util.List<DeviceMeasurement> latestMeasurements) |
void |
setPresenceMissingDate(java.util.Date presenceMissingDate) |
public java.util.Date getLastInteractionDate()
IDeviceAssignmentState
getLastInteractionDate
in interface IDeviceAssignmentState
public void setLastInteractionDate(java.util.Date lastInteractionDate)
public java.util.Date getPresenceMissingDate()
IDeviceAssignmentState
getPresenceMissingDate
in interface IDeviceAssignmentState
public void setPresenceMissingDate(java.util.Date presenceMissingDate)
public IDeviceLocation getLastLocation()
IDeviceAssignmentState
getLastLocation
in interface IDeviceAssignmentState
public void setLastLocation(DeviceLocation lastLocation)
public java.util.List<IDeviceMeasurement> getLatestMeasurements()
IDeviceAssignmentState
getLatestMeasurements
in interface IDeviceAssignmentState
public void setLatestMeasurements(java.util.List<DeviceMeasurement> latestMeasurements)
public java.util.List<IDeviceAlert> getLatestAlerts()
IDeviceAssignmentState
getLatestAlerts
in interface IDeviceAssignmentState
public void setLatestAlerts(java.util.List<DeviceAlert> latestAlerts)
public static DeviceAssignmentState copy(IDeviceAssignmentState source) throws SiteWhereException
SiteWhereException