|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onebusaway.transit_data.model.trips.TripStatusBean
public final class TripStatusBean
Constructor Summary | |
---|---|
TripStatusBean()
|
Method Summary | |
---|---|
TripBean |
getActiveTrip()
|
int |
getBlockTripSequence()
|
StopBean |
getClosestStop()
|
int |
getClosestStopTimeOffset()
The time offset, in seconds, from the closest stop to the current position of the transit vehicle among the stop times of the current trip. |
double |
getDistanceAlongTrip()
The vehicle's distance along the trip. |
FrequencyBean |
getFrequency()
|
double |
getLastKnownDistanceAlongTrip()
|
CoordinatePoint |
getLastKnownLocation()
|
double |
getLastKnownOrientation()
|
long |
getLastLocationUpdateTime()
|
long |
getLastUpdateTime()
|
CoordinatePoint |
getLocation()
|
StopBean |
getNextStop()
|
double |
getNextStopDistanceFromVehicle()
|
int |
getNextStopTimeOffset()
The time offset, in seconds, from the next stop to the current position of the transit vehicle according to the schedule. |
double |
getOrientation()
In degrees, 0º is East, 90º is North, 180º is West, and 270º is South |
String |
getPhase()
|
double |
getScheduledDistanceAlongTrip()
The vehicle's scheduled distance along the trip. |
double |
getScheduleDeviation()
|
long |
getServiceDate()
|
List<ServiceAlertBean> |
getSituations()
|
String |
getStatus()
|
double |
getTotalDistanceAlongTrip()
|
String |
getVehicleId()
|
boolean |
isDistanceAlongTripSet()
|
boolean |
isLastKnownDistanceAlongTripSet()
|
boolean |
isLastKnownOrientationSet()
|
boolean |
isOrientationSet()
|
boolean |
isPredicted()
|
boolean |
isScheduleDeviationSet()
|
void |
setActiveTrip(TripBean activeTrip)
|
void |
setBlockTripSequence(int blockTripSequence)
|
void |
setClosestStop(StopBean closestStop)
|
void |
setClosestStopTimeOffset(int closestStopTimeOffset)
See description in getClosestStopTimeOffset() . |
void |
setDistanceAlongTrip(double distanceAlongTrip)
See description in getDistanceAlongTrip() . |
void |
setFrequency(FrequencyBean frequency)
|
void |
setLastKnownDistanceAlongTrip(double lastKnownDistanceAlongTrip)
|
void |
setLastKnownLocation(CoordinatePoint lastKnownLocation)
|
void |
setLastKnownOrientation(double lastKnownOrientation)
|
void |
setLastLocationUpdateTime(long lastLocationUpdateTime)
|
void |
setLastUpdateTime(long time)
|
void |
setLocation(CoordinatePoint location)
|
void |
setNextStop(StopBean nextStop)
|
void |
setNextStopDistanceFromVehicle(double d)
|
void |
setNextStopTimeOffset(int nextStopTimeOffset)
|
void |
setOrientation(double orientation)
|
void |
setPhase(String phase)
|
void |
setPredicted(boolean predicted)
|
void |
setScheduledDistanceAlongTrip(double scheduledDistanceAlongTrip)
|
void |
setScheduleDeviation(double scheduleDeviation)
|
void |
setServiceDate(long serviceDate)
|
void |
setSituations(List<ServiceAlertBean> situations)
|
void |
setStatus(String status)
|
void |
setTotalDistanceAlongTrip(double totalDistanceAlongTrip)
|
void |
setVehicleId(String vehicleId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TripStatusBean()
Method Detail |
---|
public TripBean getActiveTrip()
public void setActiveTrip(TripBean activeTrip)
public int getBlockTripSequence()
public void setBlockTripSequence(int blockTripSequence)
public long getServiceDate()
public void setServiceDate(long serviceDate)
public FrequencyBean getFrequency()
public void setFrequency(FrequencyBean frequency)
public double getScheduledDistanceAlongTrip()
public void setScheduledDistanceAlongTrip(double scheduledDistanceAlongTrip)
public double getTotalDistanceAlongTrip()
public void setTotalDistanceAlongTrip(double totalDistanceAlongTrip)
public String getPhase()
public void setPhase(String phase)
public String getStatus()
public void setStatus(String status)
public boolean isDistanceAlongTripSet()
getDistanceAlongTrip()
has been setpublic void setDistanceAlongTrip(double distanceAlongTrip)
getDistanceAlongTrip()
.
distanceAlongTrip
- public double getDistanceAlongTrip()
public CoordinatePoint getLocation()
public void setLocation(CoordinatePoint location)
public boolean isOrientationSet()
public double getOrientation()
public void setOrientation(double orientation)
public StopBean getClosestStop()
public void setClosestStop(StopBean closestStop)
public int getClosestStopTimeOffset()
public void setClosestStopTimeOffset(int closestStopTimeOffset)
getClosestStopTimeOffset()
.
closestStopTimeOffset
- the time offset from the closest stop, in
secondspublic StopBean getNextStop()
public void setNextStop(StopBean nextStop)
public int getNextStopTimeOffset()
public void setNextStopTimeOffset(int nextStopTimeOffset)
public double getNextStopDistanceFromVehicle()
public void setNextStopDistanceFromVehicle(double d)
public boolean isPredicted()
public void setPredicted(boolean predicted)
public void setLastUpdateTime(long time)
public long getLastUpdateTime()
public long getLastLocationUpdateTime()
public void setLastLocationUpdateTime(long lastLocationUpdateTime)
public boolean isLastKnownDistanceAlongTripSet()
public double getLastKnownDistanceAlongTrip()
public void setLastKnownDistanceAlongTrip(double lastKnownDistanceAlongTrip)
public CoordinatePoint getLastKnownLocation()
public void setLastKnownLocation(CoordinatePoint lastKnownLocation)
public boolean isLastKnownOrientationSet()
public double getLastKnownOrientation()
public void setLastKnownOrientation(double lastKnownOrientation)
public boolean isScheduleDeviationSet()
public double getScheduleDeviation()
public void setScheduleDeviation(double scheduleDeviation)
public String getVehicleId()
public void setVehicleId(String vehicleId)
public List<ServiceAlertBean> getSituations()
public void setSituations(List<ServiceAlertBean> situations)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |