@Entity
public class ZoneSequence
extends java.lang.Object
Constructor and Description |
---|
ZoneSequence() |
ZoneSequence(MonitoredArea area,
java.lang.String name,
int[] zoneNumbers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
MonitoredArea |
getArea()
Returns the area that contains the zoneSequence
|
java.util.UUID |
getId()
Returns the ID of the zone sequence
|
java.lang.String |
getName() |
java.util.Set<ZoneSequenceStatistics> |
getStatistics()
Returns the statistics related to the zone sequence
|
java.util.Set<Transit> |
getTransits()
Returns the transits that went through the zone sequence
|
int[] |
getZoneNumbers()
Returns the ordered sequence of zone identifiers represented by this entity
|
int |
hashCode() |
boolean |
isActive()
Returns true if the zone is still in use, false otherwise
|
void |
setActive(boolean active)
Changes the indication whether or not the zone is still in use
|
void |
setArea(MonitoredArea area)
Changes the area that contains the zoneSequence
|
void |
setName(java.lang.String name) |
void |
setStatistics(java.util.Set<ZoneSequenceStatistics> statistics)
Changes the statistics related tot he zone sequence
|
void |
setTransits(java.util.Set<Transit> transits)
Changes the transits that went through the zone sequence
|
void |
setZoneNumbers(int[] zoneNumbers)
Changes the ordered sequence of zone identifiers represented by this entity
|
public ZoneSequence()
public ZoneSequence(MonitoredArea area, java.lang.String name, int[] zoneNumbers)
public java.util.UUID getId()
public MonitoredArea getArea()
public void setArea(MonitoredArea area)
area
- the new area that contains the zoneSequencepublic java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Set<Transit> getTransits()
public void setTransits(java.util.Set<Transit> transits)
transits
- the new transits that went through the zone sequencepublic java.util.Set<ZoneSequenceStatistics> getStatistics()
public void setStatistics(java.util.Set<ZoneSequenceStatistics> statistics)
statistics
- the new statistics related tot he zone sequencepublic int[] getZoneNumbers()
public void setZoneNumbers(int[] zoneNumbers)
zoneNumbers
- the new ordered sequence of zone identifiers represented by this entitypublic boolean isActive()
public void setActive(boolean active)
active
- true if the zone is still in use, false otherwisepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object