public class MonitoredAreaRequest
extends java.lang.Object
Constructor and Description |
---|
MonitoredAreaRequest() |
Modifier and Type | Method and Description |
---|---|
DeviceView |
getDevice() |
java.lang.Double |
getDeviceLatitude()
Returns the latitude where the device is installed
|
java.lang.Double |
getDeviceLongitude()
Returns the longitude where the device is installed
|
java.util.UUID |
getId() |
java.lang.String |
getName()
Returns the name of the area
|
java.lang.Boolean |
isActive()
Returns true if the area is currently being monitored, false otherwise
|
void |
setActive(boolean active)
Flag the area as currently being monitored (true) or no longer being monitored (false)
|
void |
setDevice(DeviceView device) |
void |
setDeviceLatitude(java.lang.Double deviceLatitude)
Changes the latitude where the device is installed
|
void |
setDeviceLongitude(java.lang.Double deviceLongitude)
Changes the longitude where the device is installed
|
void |
setId(java.util.UUID id) |
void |
setName(java.lang.String name)
Changes the name of the area
|
public java.util.UUID getId()
public void setId(java.util.UUID id)
public DeviceView getDevice()
public void setDevice(DeviceView device)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new name of the areapublic java.lang.Double getDeviceLatitude()
public void setDeviceLatitude(java.lang.Double deviceLatitude)
deviceLatitude
- the latitude where the device is installedpublic java.lang.Double getDeviceLongitude()
public void setDeviceLongitude(java.lang.Double deviceLongitude)
deviceLongitude
- the new longitude where the device is installedpublic java.lang.Boolean isActive()
public void setActive(boolean active)
active
- true if the area is currently being monitored, false otherwise