org.onebusaway.transit_data.model
Class ArrivalAndDepartureBean

java.lang.Object
  extended by org.onebusaway.transit_data.model.ApplicationBean
      extended by org.onebusaway.transit_data.model.ArrivalAndDepartureBean
All Implemented Interfaces:
Serializable

public class ArrivalAndDepartureBean
extends ApplicationBean

See Also:
Serialized Form

Constructor Summary
ArrivalAndDepartureBean()
           
 
Method Summary
 long computeBestArrivalTime()
           
 long computeBestDepartureTime()
           
 int getBlockTripSequence()
           
 double getDistanceFromStop()
           
 FrequencyBean getFrequency()
           
 Long getLastUpdateTime()
           
 int getNumberOfStopsAway()
           
 TimeIntervalBean getPredictedArrivalInterval()
           
 long getPredictedArrivalTime()
           
 TimeIntervalBean getPredictedDepartureInterval()
           
 long getPredictedDepartureTime()
           
 String getRouteShortName()
           
 TimeIntervalBean getScheduledArrivalInterval()
           
 long getScheduledArrivalTime()
           
 TimeIntervalBean getScheduledDepartureInterval()
           
 long getScheduledDepartureTime()
           
 HistogramBean getScheduleDeviationHistogram()
           
 long getServiceDate()
           
 List<ServiceAlertBean> getSituations()
           
 String getStatus()
           
 StopBean getStop()
           
 int getStopSequence()
           
 TripBean getTrip()
           
 String getTripHeadsign()
           
 TripStatusBean getTripStatus()
           
 String getVehicleId()
           
 boolean hasPredictedArrivalTime()
           
 boolean hasPredictedDepartureTime()
           
 boolean isArrivalEnabled()
           
 boolean isDepartureEnabled()
           
 boolean isDistanceFromStopSet()
           
 boolean isPredicted()
           
 void setArrivalEnabled(boolean arrivalEnabled)
           
 void setBlockTripSequence(int blockTripSequence)
           
 void setDepartureEnabled(boolean departureEnabled)
           
 void setDistanceFromStop(double distanceFromStop)
           
 void setFrequency(FrequencyBean frequency)
           
 void setLastUpdateTime(Long lastUpdateTime)
           
 void setNumberOfStopsAway(int numberOfStopsAway)
           
 void setPredicted(boolean predicted)
           
 void setPredictedArrivalInterval(TimeIntervalBean predictedArrivalInterval)
           
 void setPredictedArrivalTime(long predictedArrivalTime)
           
 void setPredictedDepartureInterval(TimeIntervalBean predictedDepartureInterval)
           
 void setPredictedDepartureTime(long predictedDepartureTime)
           
 void setRouteShortName(String routeShortName)
           
 void setScheduledArrivalInterval(TimeIntervalBean scheduledArrivalInterval)
           
 void setScheduledArrivalTime(long scheduledArrivalTime)
           
 void setScheduledDepartureInterval(TimeIntervalBean scheduledDepartureInterval)
           
 void setScheduledDepartureTime(long scheduledDepartureTime)
           
 void setScheduleDeviationHistogram(HistogramBean scheduleDeviationHistogram)
           
 void setServiceDate(long serviceDate)
           
 void setSituations(List<ServiceAlertBean> situations)
           
 void setStatus(String status)
           
 void setStop(StopBean stop)
           
 void setStopSequence(int stopSequence)
           
 void setTrip(TripBean trip)
           
 void setTripHeadsign(String tripHeadsign)
           
 void setTripStatus(TripStatusBean tripStatus)
           
 void setVehicleId(String vehicleId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrivalAndDepartureBean

public ArrivalAndDepartureBean()
Method Detail

getTrip

public TripBean getTrip()

setTrip

public void setTrip(TripBean trip)

getServiceDate

public long getServiceDate()

setServiceDate

public void setServiceDate(long serviceDate)

getVehicleId

public String getVehicleId()

setVehicleId

public void setVehicleId(String vehicleId)

getStop

public StopBean getStop()

setStop

public void setStop(StopBean stop)

getStopSequence

public int getStopSequence()

setStopSequence

public void setStopSequence(int stopSequence)

getBlockTripSequence

public int getBlockTripSequence()

setBlockTripSequence

public void setBlockTripSequence(int blockTripSequence)

isArrivalEnabled

public boolean isArrivalEnabled()

setArrivalEnabled

public void setArrivalEnabled(boolean arrivalEnabled)

getScheduledArrivalTime

public long getScheduledArrivalTime()

setScheduledArrivalTime

public void setScheduledArrivalTime(long scheduledArrivalTime)

getScheduledArrivalInterval

public TimeIntervalBean getScheduledArrivalInterval()

setScheduledArrivalInterval

public void setScheduledArrivalInterval(TimeIntervalBean scheduledArrivalInterval)

getPredictedArrivalTime

public long getPredictedArrivalTime()

setPredictedArrivalTime

public void setPredictedArrivalTime(long predictedArrivalTime)

getPredictedArrivalInterval

public TimeIntervalBean getPredictedArrivalInterval()

setPredictedArrivalInterval

public void setPredictedArrivalInterval(TimeIntervalBean predictedArrivalInterval)

isDepartureEnabled

public boolean isDepartureEnabled()

setDepartureEnabled

public void setDepartureEnabled(boolean departureEnabled)

getScheduledDepartureTime

public long getScheduledDepartureTime()

setScheduledDepartureTime

public void setScheduledDepartureTime(long scheduledDepartureTime)

getScheduledDepartureInterval

public TimeIntervalBean getScheduledDepartureInterval()

setScheduledDepartureInterval

public void setScheduledDepartureInterval(TimeIntervalBean scheduledDepartureInterval)

getPredictedDepartureTime

public long getPredictedDepartureTime()

setPredictedDepartureTime

public void setPredictedDepartureTime(long predictedDepartureTime)

getPredictedDepartureInterval

public TimeIntervalBean getPredictedDepartureInterval()

setPredictedDepartureInterval

public void setPredictedDepartureInterval(TimeIntervalBean predictedDepartureInterval)

getFrequency

public FrequencyBean getFrequency()

setFrequency

public void setFrequency(FrequencyBean frequency)

isPredicted

public boolean isPredicted()

setPredicted

public void setPredicted(boolean predicted)

getLastUpdateTime

public Long getLastUpdateTime()

setLastUpdateTime

public void setLastUpdateTime(Long lastUpdateTime)

getStatus

public String getStatus()

setStatus

public void setStatus(String status)

isDistanceFromStopSet

public boolean isDistanceFromStopSet()

getDistanceFromStop

public double getDistanceFromStop()

setDistanceFromStop

public void setDistanceFromStop(double distanceFromStop)

getNumberOfStopsAway

public int getNumberOfStopsAway()

setNumberOfStopsAway

public void setNumberOfStopsAway(int numberOfStopsAway)

getRouteShortName

public String getRouteShortName()

setRouteShortName

public void setRouteShortName(String routeShortName)

getTripHeadsign

public String getTripHeadsign()

setTripHeadsign

public void setTripHeadsign(String tripHeadsign)

getTripStatus

public TripStatusBean getTripStatus()

setTripStatus

public void setTripStatus(TripStatusBean tripStatus)

getSituations

public List<ServiceAlertBean> getSituations()

setSituations

public void setSituations(List<ServiceAlertBean> situations)

getScheduleDeviationHistogram

public HistogramBean getScheduleDeviationHistogram()

setScheduleDeviationHistogram

public void setScheduleDeviationHistogram(HistogramBean scheduleDeviationHistogram)

hasPredictedArrivalTime

public boolean hasPredictedArrivalTime()

hasPredictedDepartureTime

public boolean hasPredictedDepartureTime()

computeBestArrivalTime

public long computeBestArrivalTime()

computeBestDepartureTime

public long computeBestDepartureTime()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.