org.onebusaway.transit_data_federation.services.realtime
Class ArrivalAndDepartureInstance

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.realtime.ArrivalAndDepartureInstance

public class ArrivalAndDepartureInstance
extends Object


Constructor Summary
ArrivalAndDepartureInstance(BlockInstance blockInstance, BlockStopTimeEntry blockStopTime)
           
ArrivalAndDepartureInstance(BlockInstance blockInstance, BlockStopTimeEntry blockStopTime, ArrivalAndDepartureTime scheduledTime)
           
 
Method Summary
 long getBestArrivalTime()
           
 long getBestDepartureTime()
           
 BlockInstance getBlockInstance()
           
 BlockLocation getBlockLocation()
           
 BlockSequence getBlockSequence()
           
 BlockStopTimeEntry getBlockStopTime()
           
 BlockTripEntry getBlockTrip()
           
 FrequencyEntry getFrequency()
           
 TimeIntervalBean getPredictedArrivalInterval()
           
 long getPredictedArrivalTime()
           
 TimeIntervalBean getPredictedDepartureInterval()
           
 long getPredictedDepartureTime()
           
 long getScheduledArrivalTime()
           
 long getScheduledDepartureTime()
           
 long getServiceDate()
          Convenience Methods
 StopEntry getStop()
           
 boolean isPredictedArrivalTimeSet()
           
 boolean isPredictedDepartureTimeSet()
           
 void setBlockLocation(BlockLocation blockLocation)
           
 void setBlockSequence(BlockSequence blockSequence)
           
 void setPredictedArrivalInterval(TimeIntervalBean predictedArrivalInterval)
           
 void setPredictedArrivalTime(long predictedArrivalTime)
           
 void setPredictedDepartureInterval(TimeIntervalBean predictedDepartureInterval)
           
 void setPredictedDepartureTime(long predictedDepartureTime)
           
 void setScheduledArrivalTime(long scheduledArrivalTime)
           
 void setScheduledDepartureTime(long scheduledDepartureTime)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrivalAndDepartureInstance

public ArrivalAndDepartureInstance(BlockInstance blockInstance,
                                   BlockStopTimeEntry blockStopTime,
                                   ArrivalAndDepartureTime scheduledTime)

ArrivalAndDepartureInstance

public ArrivalAndDepartureInstance(BlockInstance blockInstance,
                                   BlockStopTimeEntry blockStopTime)
Method Detail

getBlockInstance

public BlockInstance getBlockInstance()

getBlockStopTime

public BlockStopTimeEntry getBlockStopTime()

getBlockLocation

public BlockLocation getBlockLocation()

setBlockLocation

public void setBlockLocation(BlockLocation blockLocation)

getBlockSequence

public BlockSequence getBlockSequence()

setBlockSequence

public void setBlockSequence(BlockSequence blockSequence)

setScheduledArrivalTime

public void setScheduledArrivalTime(long scheduledArrivalTime)

getScheduledArrivalTime

public long getScheduledArrivalTime()

setScheduledDepartureTime

public void setScheduledDepartureTime(long scheduledDepartureTime)

getScheduledDepartureTime

public long getScheduledDepartureTime()

isPredictedArrivalTimeSet

public boolean isPredictedArrivalTimeSet()

getPredictedArrivalTime

public long getPredictedArrivalTime()

setPredictedArrivalTime

public void setPredictedArrivalTime(long predictedArrivalTime)

getPredictedArrivalInterval

public TimeIntervalBean getPredictedArrivalInterval()

setPredictedArrivalInterval

public void setPredictedArrivalInterval(TimeIntervalBean predictedArrivalInterval)

isPredictedDepartureTimeSet

public boolean isPredictedDepartureTimeSet()

getPredictedDepartureTime

public long getPredictedDepartureTime()

setPredictedDepartureTime

public void setPredictedDepartureTime(long predictedDepartureTime)

getPredictedDepartureInterval

public TimeIntervalBean getPredictedDepartureInterval()

setPredictedDepartureInterval

public void setPredictedDepartureInterval(TimeIntervalBean predictedDepartureInterval)

getServiceDate

public long getServiceDate()
Convenience Methods


getBestArrivalTime

public long getBestArrivalTime()

getBestDepartureTime

public long getBestDepartureTime()

getFrequency

public FrequencyEntry getFrequency()

getBlockTrip

public BlockTripEntry getBlockTrip()

getStop

public StopEntry getStop()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.