org.onebusaway.transit_data_federation.services.transit_graph
Interface BlockConfigurationEntry

All Superinterfaces:
HasBlockStopTimes, HasIndexedBlockStopTimes
All Known Implementing Classes:
BlockConfigurationEntryImpl

public interface BlockConfigurationEntry
extends HasIndexedBlockStopTimes

A block configuration i

Author:
bdferris

Method Summary
 BlockEntry getBlock()
           
 double getDistanceAlongBlockForIndex(int blockSequence)
           
 List<FrequencyEntry> getFrequencies()
          A block with frequency information can be one of two types: 1) A traditional frequency-based block where the block configuration defines the trip patterns for the entire frequency range.
 ServiceIdActivation getServiceIds()
           
 double getTotalBlockDistance()
           
 List<BlockTripEntry> getTrips()
           
 
Methods inherited from interface org.onebusaway.transit_data_federation.services.blocks.HasIndexedBlockStopTimes
getArrivalTimeForIndex, getDepartureTimeForIndex
 
Methods inherited from interface org.onebusaway.transit_data_federation.services.transit_graph.HasBlockStopTimes
getStopTimes
 

Method Detail

getBlock

BlockEntry getBlock()

getServiceIds

ServiceIdActivation getServiceIds()

getTrips

List<BlockTripEntry> getTrips()

getFrequencies

List<FrequencyEntry> getFrequencies()
A block with frequency information can be one of two types: 1) A traditional frequency-based block where the block configuration defines the trip patterns for the entire frequency range. 2) A frequency-in-name-only block where block trips are operated on a fixed schedule, but marketed as frequency-based to riders.

Returns:
the frequency entries associated with the trips of this block configuration, or null if it's not a frequency-based block

getTotalBlockDistance

double getTotalBlockDistance()
Returns:
distance, in meters

getDistanceAlongBlockForIndex

double getDistanceAlongBlockForIndex(int blockSequence)


Copyright © 2012 OneBusAway. All Rights Reserved.