org.onebusaway.transit_data_federation.bundle.tasks.transit_graph
Class RouteCollectionEntriesFactory
java.lang.Object
org.onebusaway.transit_data_federation.bundle.tasks.transit_graph.RouteCollectionEntriesFactory
@Component
public class RouteCollectionEntriesFactory
- extends Object
Compute RouteCollectionEntry
objects from RouteEntry
instances. Recall that route collections are virtual route objects that
bundle potentially multiple underlying RouteEntry
objects with the
same short name, depending on the setting of
setGroupRoutesByShortName(boolean)
.
This addresses the fact that some agencies break up what riders would
consider a single route into multiple route entries according to their own
organizational methods (different direction, different levels of service,
express vs local, etc).
- Author:
- bdferris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouteCollectionEntriesFactory
public RouteCollectionEntriesFactory()
setGtfsDao
public void setGtfsDao(org.onebusaway.gtfs.services.GtfsRelationalDao gtfsDao)
setUniqueService
public void setUniqueService(UniqueService uniqueService)
setGroupRoutesByShortName
public void setGroupRoutesByShortName(boolean groupRoutesByShortName)
processRouteCollections
public void processRouteCollections(TransitGraphImpl graph)
Copyright © 2012 OneBusAway. All Rights Reserved.