@Entity
public class ZoneSequenceStatistics
extends java.lang.Object
Constructor and Description |
---|
ZoneSequenceStatistics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.UUID |
getId()
Returns the ID of the statistics
|
java.time.Instant |
getTimeSince()
Returns the beginning of the time interval to which the statistcis are related
|
long |
getVehiclePassed()
Returns the number of vehicles that have passed during the observed time interval
|
ZoneSequence |
getZoneSequence()
Returns the zone sequence to which the statistics are tied
|
int |
hashCode() |
void |
setTimeSince(java.time.Instant timeSince)
Changes the beginning of the time interval to which the statistcis are related
|
void |
setVehiclePassed(long vehiclePassed)
Changes the number of vehicles that have passed during the observed time interval
|
void |
setZoneSequence(ZoneSequence zoneSequence)
Changes the zone sequence to which the statistics are tied
|
public java.util.UUID getId()
public java.time.Instant getTimeSince()
public void setTimeSince(java.time.Instant timeSince)
timeSince
- the new beginning of the time interval to which the statistcis are relatedpublic long getVehiclePassed()
public void setVehiclePassed(long vehiclePassed)
vehiclePassed
- the new number of vehicles passed during the observed time intervalpublic ZoneSequence getZoneSequence()
public void setZoneSequence(ZoneSequence zoneSequence)
zoneSequence
- the zone sequence to which the statistics are tiedpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object