public class SimpleMonitoredAreaView
extends java.lang.Object
Constructor and Description |
---|
SimpleMonitoredAreaView() |
SimpleMonitoredAreaView(MonitoredArea monitoredArea) |
SimpleMonitoredAreaView(java.util.UUID id,
java.lang.Double deviceLatitude,
java.lang.Double deviceLongitude,
java.lang.String name,
ParametersView detectionParameters,
DeviceView device,
java.lang.Boolean active) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getActive() |
ParametersView |
getDetectionParameters()
Returns the parameters of the detection algorithm used for the area
|
DeviceView |
getDevice()
Returns the physical device deployed to monitor the area
|
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()
Returns the ID of the area
|
java.lang.String |
getName()
Returns the name of the area
|
int |
getNumberOfActiveStreams()
Returns the number of active streams for monitored area
|
int |
hashCode() |
java.lang.Boolean |
isActive() |
void |
setActive(java.lang.Boolean active) |
void |
setDetectionParameters(ParametersView detectionParameters) |
void |
setDevice(DeviceView device) |
void |
setDeviceLatitude(java.lang.Double deviceLatitude) |
void |
setDeviceLongitude(java.lang.Double deviceLongitude) |
void |
setId(java.util.UUID id) |
void |
setName(java.lang.String name) |
void |
setNumberOfActiveStreams(int numberOfActiveStreams)
Changes the the number of active streams for monitored area
|
public SimpleMonitoredAreaView()
public SimpleMonitoredAreaView(MonitoredArea monitoredArea)
public SimpleMonitoredAreaView(java.util.UUID id, java.lang.Double deviceLatitude, java.lang.Double deviceLongitude, java.lang.String name, ParametersView detectionParameters, DeviceView device, java.lang.Boolean active)
public java.util.UUID getId()
public java.lang.Double getDeviceLatitude()
public java.lang.Double getDeviceLongitude()
public java.lang.String getName()
public ParametersView getDetectionParameters()
public DeviceView getDevice()
public java.lang.Boolean isActive()
public void setId(java.util.UUID id)
public void setDeviceLatitude(java.lang.Double deviceLatitude)
public void setDeviceLongitude(java.lang.Double deviceLongitude)
public void setName(java.lang.String name)
public void setDetectionParameters(ParametersView detectionParameters)
public void setDevice(DeviceView device)
public void setActive(java.lang.Boolean active)
public java.lang.Boolean getActive()
public int getNumberOfActiveStreams()
public void setNumberOfActiveStreams(int numberOfActiveStreams)
numberOfActiveStreams
- the number of active streams for monitored areapublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object