@Entity
public class MonitoredArea
extends java.lang.Object
Constructor and Description |
---|
MonitoredArea() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
DetectionParameters |
getDetectionParameters()
Returns the parameters of the detection algorithm used for the area
|
Device |
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
|
java.util.Set<Zone> |
getZones()
Returns the zoneNumbersSequence that are watched in the area
|
java.util.Set<ZoneSequence> |
getZoneSequences()
Returns the zone sequences related to the area
|
int |
hashCode() |
java.lang.Boolean |
isActive()
Returns true if the area is currently being monitored, false otherwise
|
void |
setActive(java.lang.Boolean active)
Flag the area as currently being monitored (true) or no longer being monitored (false)
|
void |
setDetectionParameters(DetectionParameters detectionParameters)
Changes the parameters of the detection algorithm used for the area
|
void |
setDevice(Device device)
Changes the physical device deployed to monitor the area
|
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)
Changes the ID of the area
|
void |
setName(java.lang.String name)
Changes the name of the area
|
void |
setZones(java.util.Set<Zone> zones)
Changes the zoneNumbersSequence that are watched in the area
|
void |
setZoneSequences(java.util.Set<ZoneSequence> zoneSequences)
Changes the zone sequences related to the area
|
public void setId(java.util.UUID id)
id
- the new ID of the areapublic java.util.UUID getId()
public 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.String getName()
public void setName(java.lang.String name)
name
- the new name of the areapublic java.util.Set<Zone> getZones()
public void setZones(java.util.Set<Zone> zones)
zones
- the new zoneNumbersSequence that are watched in the areapublic DetectionParameters getDetectionParameters()
public void setDetectionParameters(DetectionParameters detectionParameters)
detectionParameters
- the new parameters of the detection algorithm used for the areapublic Device getDevice()
public void setDevice(Device device)
device
- the new physical device deployed to monitor the areapublic java.util.Set<ZoneSequence> getZoneSequences()
public void setZoneSequences(java.util.Set<ZoneSequence> zoneSequences)
zoneSequences
- the new zone sequences related to the areapublic java.lang.Boolean isActive()
public void setActive(java.lang.Boolean active)
active
- true if the area is currently being monitored, false otherwisepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object