org.onebusaway.transit_data_federation.services.blocks
Class BlockTripInstance

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.blocks.BlockTripInstance

public class BlockTripInstance
extends Object


Constructor Summary
BlockTripInstance(BlockTripEntry blockTrip, InstanceState state)
           
 
Method Summary
 BlockTripEntry getBlockTrip()
           
 FrequencyEntry getFrequencyLabel()
          If the InstanceState associated wit this block trip instance has a FrequencyEntry (see InstanceState.getFrequency()), it is returned.
 long getServiceDate()
           
 InstanceState getState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockTripInstance

public BlockTripInstance(BlockTripEntry blockTrip,
                         InstanceState state)
Method Detail

getBlockTrip

public BlockTripEntry getBlockTrip()

getState

public InstanceState getState()

getServiceDate

public long getServiceDate()

getFrequencyLabel

public FrequencyEntry getFrequencyLabel()
If the InstanceState associated wit this block trip instance has a FrequencyEntry (see InstanceState.getFrequency()), it is returned. Otherwise, if the TripEntry associated with this block trip instance has a FrequencyEntry (see TripEntry.getFrequencyLabel()), then it is returned. Otherwise, null is returned.

Returns:


Copyright © 2012 OneBusAway. All Rights Reserved.