org.onebusaway.transit_data_federation.services.blocks
Class BlockTripInstance
java.lang.Object
org.onebusaway.transit_data_federation.services.blocks.BlockTripInstance
public class BlockTripInstance
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockTripInstance
public BlockTripInstance(BlockTripEntry blockTrip,
InstanceState state)
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.