@Entity
public class Transit
extends java.lang.Object
Constructor and Description |
---|
Transit() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.time.Instant |
getEnd()
Returns the end time of the transit
|
java.util.UUID |
getId()
Returns the ID of the transit
|
java.util.List<DetectedObjectMovement> |
getMovements()
Returns the movements recorded during the transit
|
java.time.Instant |
getReceiveTime()
Returns the time when the transit was registered by the server
|
java.time.Instant |
getStart()
Returns the start time of the transit
|
ZoneSequence |
getZoneSequence()
Returns the zone sequence through which the transit happened
|
int |
hashCode() |
void |
setEnd(java.time.Instant end)
Changes the end time of the transit
|
void |
setMovements(java.util.List<DetectedObjectMovement> movements)
Sets the movements recorded during the transit
|
void |
setReceiveTime(java.time.Instant receiveTime)
Changes the time when the transit was registered by the server
|
void |
setStart(java.time.Instant start)
Changes the start time of the transit
|
void |
setZoneSequence(ZoneSequence zoneSequence)
Changes the zone sequence through which the transit happened
|
public java.util.UUID getId()
public java.time.Instant getReceiveTime()
public void setReceiveTime(java.time.Instant receiveTime)
receiveTime
- the new time when the transit was registered by the serverpublic ZoneSequence getZoneSequence()
public void setZoneSequence(ZoneSequence zoneSequence)
zoneSequence
- the new zone sequence through which the transit happenedpublic java.time.Instant getStart()
public void setStart(java.time.Instant start)
start
- the new start time of the transitpublic java.time.Instant getEnd()
public void setEnd(java.time.Instant end)
end
- the end time of the transitpublic java.util.List<DetectedObjectMovement> getMovements()
public void setMovements(java.util.List<DetectedObjectMovement> movements)
movements
- the movements recorded during the transitpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object