org.onebusaway.transit_data_federation.services.tripplanner
Class StopTimeInstance

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.tripplanner.StopTimeInstance

public class StopTimeInstance
extends Object


Field Summary
static int UNSPECIFIED_FREQUENCY_OFFSET
           
 
Constructor Summary
StopTimeInstance(BlockStopTimeEntry stopTime, Date serviceDate)
           
StopTimeInstance(BlockStopTimeEntry stopTime, long serviceDate)
           
StopTimeInstance(BlockStopTimeEntry stopTime, long serviceDate, FrequencyEntry frequency)
           
StopTimeInstance(BlockStopTimeEntry stopTime, long serviceDate, FrequencyEntry frequency, int frequencyOffset)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getArrivalTime()
           
 BlockInstance getBlockInstance()
           
 BlockSequence getBlockSequence()
           
 long getDepartureTime()
           
 FrequencyEntry getFrequency()
           
 int getFrequencyOffset()
           
 StopTimeInstance getNextStopTimeInstance()
           
 int getSequence()
           
 long getServiceDate()
           
 StopEntry getStop()
           
 BlockStopTimeEntry getStopTime()
           
 BlockTripEntry getTrip()
           
 int hashCode()
           
 boolean isFrequencyOffsetSpecified()
           
static boolean isFrequencyOffsetSpecified(int frequencyOffset)
           
 void setBlockSequence(BlockSequence blockSequence)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSPECIFIED_FREQUENCY_OFFSET

public static final int UNSPECIFIED_FREQUENCY_OFFSET
See Also:
Constant Field Values
Constructor Detail

StopTimeInstance

public StopTimeInstance(BlockStopTimeEntry stopTime,
                        Date serviceDate)

StopTimeInstance

public StopTimeInstance(BlockStopTimeEntry stopTime,
                        long serviceDate)

StopTimeInstance

public StopTimeInstance(BlockStopTimeEntry stopTime,
                        long serviceDate,
                        FrequencyEntry frequency)

StopTimeInstance

public StopTimeInstance(BlockStopTimeEntry stopTime,
                        long serviceDate,
                        FrequencyEntry frequency,
                        int frequencyOffset)
Method Detail

getStopTime

public BlockStopTimeEntry getStopTime()

getServiceDate

public long getServiceDate()

getFrequency

public FrequencyEntry getFrequency()

isFrequencyOffsetSpecified

public boolean isFrequencyOffsetSpecified()

getFrequencyOffset

public int getFrequencyOffset()

getBlockInstance

public BlockInstance getBlockInstance()

getTrip

public BlockTripEntry getTrip()

getSequence

public int getSequence()

getStop

public StopEntry getStop()

getArrivalTime

public long getArrivalTime()

getDepartureTime

public long getDepartureTime()

getNextStopTimeInstance

public StopTimeInstance getNextStopTimeInstance()

getBlockSequence

public BlockSequence getBlockSequence()

setBlockSequence

public void setBlockSequence(BlockSequence blockSequence)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

isFrequencyOffsetSpecified

public static boolean isFrequencyOffsetSpecified(int frequencyOffset)


Copyright © 2011 OneBusAway. All Rights Reserved.