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, InstanceState state)
           
StopTimeInstance(BlockStopTimeEntry stopTime, InstanceState state, int frequencyOffset)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getArrivalTime()
           
 BlockInstance getBlockInstance()
           
 BlockSequence getBlockSequence()
           
 long getDepartureTime()
           
 FrequencyEntry getFrequency()
           
 FrequencyEntry getFrequencyLabel()
           
 int getFrequencyOffset()
           
 StopTimeInstance getNextStopTimeInstance()
           
 int getSequence()
           
 long getServiceDate()
           
 InstanceState getState()
           
 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,
                        InstanceState state)

StopTimeInstance

public StopTimeInstance(BlockStopTimeEntry stopTime,
                        InstanceState state,
                        int frequencyOffset)
Method Detail

getStopTime

public BlockStopTimeEntry getStopTime()

getState

public InstanceState getState()

getServiceDate

public long getServiceDate()

getFrequency

public FrequencyEntry getFrequency()

getFrequencyLabel

public FrequencyEntry getFrequencyLabel()

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 © 2012 OneBusAway. All Rights Reserved.