@Entity public class Arrival extends ArrivalDeparture
ArrivalDeparture.ArrivalsOrDepartures
Constructor and Description |
---|
Arrival(java.lang.String vehicleId,
java.util.Date time,
java.util.Date avlTime,
Block block,
int tripIndex,
int pathIndex)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
Arrival |
withUpdatedTime(java.util.Date newTime)
A copy constructor that creates a new Arrival by copying this
one but using the newTime.
|
equals, getArrivalsDeparturesDbIterator, getArrivalsDeparturesFromDb, getArrivalsDeparturesFromDb, getArrivalsDeparturesFromDb, getArrivalsDeparturesFromDb, getAvlTime, getBlock, getBlockId, getConfigRev, getDate, getDirectionId, getRouteId, getScheduleAdherence, getScheduledDate, getScheduledTime, getServiceId, getStop, getStopId, getStopPathIndex, getStopPathLength, getTime, getTripId, getTripIndex, getVehicleId, hashCode, isArrival, isDeparture, logCreation, onDelete, onLoad, onSave, onUpdate, toString
public Arrival(java.lang.String vehicleId, java.util.Date time, java.util.Date avlTime, Block block, int tripIndex, int pathIndex)
vehicleId
- time
- avlTime
- So can match arrival to the AVL report that generated itblock
- tripIndex
- stopPathIndex
- public Arrival withUpdatedTime(java.util.Date newTime)
newTime
-