org.onebusaway.transit_data_federation.impl.realtime.orbcad
Class OrbcadRecord
java.lang.Object
org.onebusaway.transit_data_federation.impl.realtime.orbcad.OrbcadRecord
public class OrbcadRecord
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrbcadRecord
public OrbcadRecord()
getVehicleId
public int getVehicleId()
setVehicleId
public void setVehicleId(int vehicleId)
getRouteId
public int getRouteId()
setRouteId
public void setRouteId(int routeId)
hasDirection
public boolean hasDirection()
getDirection
public int getDirection()
setDirection
public void setDirection(int direction)
getBlock
public int getBlock()
setBlock
public void setBlock(int block)
hasServiceType
public boolean hasServiceType()
getServiceType
public int getServiceType()
setServiceType
public void setServiceType(int serviceType)
hasScheduleDeviation
public boolean hasScheduleDeviation()
getScheduleDeviation
public int getScheduleDeviation()
- Vehicle's schedule deviation, in seconds early [+XXXXX] or late [-XXXXX].
Schedule deviation resolution is in minutes not seconds. If schedule
deviation is unknown (due to non-revenue service, Off-route, Logon, No
Show, No Response, Deahead, NoResponse, RSA Disable, etc), this field is
set to 99999.
- Returns:
- schedule deviation in seconds, where positive is early and negative
is late
setScheduleDeviation
public void setScheduleDeviation(int scheduleDeviation)
hasTimepointArrivalTime
public boolean hasTimepointArrivalTime()
getTimepointArrivalTime
public int getTimepointArrivalTime()
setTimepointArrivalTime
public void setTimepointArrivalTime(int timepointArrivalTime)
getTimepointId
public String getTimepointId()
setTimepointId
public void setTimepointId(String timepointId)
hasTimepointTime
public boolean hasTimepointTime()
getTimepointTime
public int getTimepointTime()
- Returns:
- the time, in minutes past midnight, which the vehicle is scheduled
to arrive at the next scheduling system timepoint
setTimepointTime
public void setTimepointTime(int timepointTime)
- Parameters:
timepointTime
- - the time, in minutes past midnight, which the
vehicle is scheduled to arrive at the next scheduling system
timepoint
hasLat
public boolean hasLat()
getLat
public double getLat()
setLat
public void setLat(double lat)
hasLon
public boolean hasLon()
getLon
public double getLon()
setLon
public void setLon(double lon)
getTime
public long getTime()
- Time of receipt of the last location report from the vehicle.
- Returns:
- time in seconds since 00:00:00 GMT January 1, 1970
setTime
public void setTime(long time)
getLogonRouteId
public int getLogonRouteId()
setLogonRouteId
public void setLogonRouteId(int logonRouteId)
getBlockNumber
public int getBlockNumber()
setBlockNumber
public void setBlockNumber(int blockNumber)
getOffRoute
public int getOffRoute()
setOffRoute
public void setOffRoute(int offRoute)
getRunId
public int getRunId()
setRunId
public void setRunId(int runId)
getNextSignTimepointId
public String getNextSignTimepointId()
setNextSignTimepointId
public void setNextSignTimepointId(String nextSignTimepointId)
Copyright © 2012 OneBusAway. All Rights Reserved.