org.onebusaway.api.model.transit
Class ArrivalAndDepartureV2Bean

java.lang.Object
  extended by org.onebusaway.api.model.transit.ArrivalAndDepartureV2Bean
All Implemented Interfaces:
Serializable

public class ArrivalAndDepartureV2Bean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ArrivalAndDepartureV2Bean()
           
 
Method Summary
 long computeBestArrivalTime()
           
 long computeBestDepartureTime()
           
 int getBlockTripSequence()
           
 double getDistanceFromStop()
           
 FrequencyV2Bean getFrequency()
           
 Long getLastUpdateTime()
           
 int getNumberOfStopsAway()
           
 TimeIntervalV2 getPredictedArrivalInterval()
           
 long getPredictedArrivalTime()
           
 TimeIntervalV2 getPredictedDepartureInterval()
           
 long getPredictedDepartureTime()
           
 String getRouteId()
           
 String getRouteLongName()
           
 String getRouteShortName()
           
 TimeIntervalV2 getScheduledArrivalInterval()
           
 long getScheduledArrivalTime()
           
 TimeIntervalV2 getScheduledDepartureInterval()
           
 long getScheduledDepartureTime()
           
 long getServiceDate()
           
 List<String> getSituationIds()
           
 String getStatus()
           
 String getStopId()
           
 int getStopSequence()
           
 String getTripHeadsign()
           
 String getTripId()
           
 TripStatusV2Bean getTripStatus()
           
 String getVehicleId()
           
 boolean hasPredictedArrivalTime()
           
 boolean hasPredictedDepartureTime()
           
 boolean isArrivalEnabled()
           
 boolean isDepartureEnabled()
           
 boolean isPredicted()
           
 void setArrivalEnabled(boolean arrivalEnabled)
           
 void setBlockTripSequence(int blockTripSequence)
           
 void setDepartureEnabled(boolean departureEnabled)
           
 void setDistanceFromStop(double distanceFromStop)
           
 void setFrequency(FrequencyV2Bean frequency)
           
 void setLastUpdateTime(Long lastUpdateTime)
           
 void setNumberOfStopsAway(int numberOfStopsAway)
           
 void setPredicted(boolean predicted)
           
 void setPredictedArrivalInterval(TimeIntervalV2 predictedArrivalInterval)
           
 void setPredictedArrivalTime(long predictedArrivalTime)
           
 void setPredictedDepartureInterval(TimeIntervalV2 predictedDepartureInterval)
           
 void setPredictedDepartureTime(long predictedDepartureTime)
           
 void setRouteId(String routeId)
           
 void setRouteLongName(String routeLongName)
           
 void setRouteShortName(String routeShortName)
           
 void setScheduledArrivalInterval(TimeIntervalV2 scheduledArrivalInterval)
           
 void setScheduledArrivalTime(long scheduledArrivalTime)
           
 void setScheduledDepartureInterval(TimeIntervalV2 scheduledDepartureInterval)
           
 void setScheduledDepartureTime(long scheduledDepartureTime)
           
 void setServiceDate(long serviceDate)
           
 void setSituationIds(List<String> situationIds)
           
 void setStatus(String status)
           
 void setStopId(String stopId)
           
 void setStopSequence(int stopSequence)
           
 void setTripHeadsign(String tripHeadsign)
           
 void setTripId(String tripId)
           
 void setTripStatus(TripStatusV2Bean 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

ArrivalAndDepartureV2Bean

public ArrivalAndDepartureV2Bean()
Method Detail

getRouteId

public String getRouteId()

setRouteId

public void setRouteId(String routeId)

getRouteShortName

public String getRouteShortName()

setRouteShortName

public void setRouteShortName(String routeShortName)

getRouteLongName

public String getRouteLongName()

setRouteLongName

public void setRouteLongName(String routeLongName)

getTripId

public String getTripId()

setTripId

public void setTripId(String tripId)

getServiceDate

public long getServiceDate()

setServiceDate

public void setServiceDate(long serviceDate)

getVehicleId

public String getVehicleId()

setVehicleId

public void setVehicleId(String vehicleId)

getTripHeadsign

public String getTripHeadsign()

setTripHeadsign

public void setTripHeadsign(String tripHeadsign)

getStopId

public String getStopId()

setStopId

public void setStopId(String stopId)

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 TimeIntervalV2 getScheduledArrivalInterval()

setScheduledArrivalInterval

public void setScheduledArrivalInterval(TimeIntervalV2 scheduledArrivalInterval)

isDepartureEnabled

public boolean isDepartureEnabled()

setDepartureEnabled

public void setDepartureEnabled(boolean departureEnabled)

getScheduledDepartureTime

public long getScheduledDepartureTime()

setScheduledDepartureTime

public void setScheduledDepartureTime(long scheduledDepartureTime)

getScheduledDepartureInterval

public TimeIntervalV2 getScheduledDepartureInterval()

setScheduledDepartureInterval

public void setScheduledDepartureInterval(TimeIntervalV2 scheduledDepartureInterval)

getFrequency

public FrequencyV2Bean getFrequency()

setFrequency

public void setFrequency(FrequencyV2Bean frequency)

getStatus

public String getStatus()

setStatus

public void setStatus(String status)

isPredicted

public boolean isPredicted()

setPredicted

public void setPredicted(boolean predicted)

getLastUpdateTime

public Long getLastUpdateTime()

setLastUpdateTime

public void setLastUpdateTime(Long lastUpdateTime)

getDistanceFromStop

public double getDistanceFromStop()

setDistanceFromStop

public void setDistanceFromStop(double distanceFromStop)

getNumberOfStopsAway

public int getNumberOfStopsAway()

setNumberOfStopsAway

public void setNumberOfStopsAway(int numberOfStopsAway)

getTripStatus

public TripStatusV2Bean getTripStatus()

setTripStatus

public void setTripStatus(TripStatusV2Bean tripStatus)

getSituationIds

public List<String> getSituationIds()

setSituationIds

public void setSituationIds(List<String> situationIds)

hasPredictedArrivalTime

public boolean hasPredictedArrivalTime()

getPredictedArrivalTime

public long getPredictedArrivalTime()

setPredictedArrivalTime

public void setPredictedArrivalTime(long predictedArrivalTime)

getPredictedArrivalInterval

public TimeIntervalV2 getPredictedArrivalInterval()

setPredictedArrivalInterval

public void setPredictedArrivalInterval(TimeIntervalV2 predictedArrivalInterval)

hasPredictedDepartureTime

public boolean hasPredictedDepartureTime()

getPredictedDepartureTime

public long getPredictedDepartureTime()

setPredictedDepartureTime

public void setPredictedDepartureTime(long predictedDepartureTime)

getPredictedDepartureInterval

public TimeIntervalV2 getPredictedDepartureInterval()

setPredictedDepartureInterval

public void setPredictedDepartureInterval(TimeIntervalV2 predictedDepartureInterval)

computeBestArrivalTime

public long computeBestArrivalTime()

computeBestDepartureTime

public long computeBestDepartureTime()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.