org.onebusaway.transit_data_federation.impl.narrative
Class NarrativeServiceImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.narrative.NarrativeServiceImpl
- All Implemented Interfaces:
- NarrativeService
@Component
public class NarrativeServiceImpl
- extends Object
- implements NarrativeService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NarrativeServiceImpl
public NarrativeServiceImpl()
setBundle
public void setBundle(FederatedTransitDataBundle bundle)
setStopTimeNarrativeProvider
public void setStopTimeNarrativeProvider(NarrativeProviderImpl provider)
setup
@PostConstruct
@Refreshable(dependsOn="narrativeData")
public void setup()
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
getAgencyForId
public AgencyNarrative getAgencyForId(String agencyId)
NarrativeService
Interface
- Specified by:
getAgencyForId
in interface NarrativeService
getStopForId
public StopNarrative getStopForId(org.onebusaway.gtfs.model.AgencyAndId stopId)
- Specified by:
getStopForId
in interface NarrativeService
getStopTimeForEntry
public StopTimeNarrative getStopTimeForEntry(StopTimeEntry entry)
- Specified by:
getStopTimeForEntry
in interface NarrativeService
getRouteCollectionForId
public RouteCollectionNarrative getRouteCollectionForId(org.onebusaway.gtfs.model.AgencyAndId routeCollectionId)
- Specified by:
getRouteCollectionForId
in interface NarrativeService
getTripForId
public TripNarrative getTripForId(org.onebusaway.gtfs.model.AgencyAndId tripId)
- Specified by:
getTripForId
in interface NarrativeService
getShapePointsForId
public ShapePoints getShapePointsForId(org.onebusaway.gtfs.model.AgencyAndId id)
- Specified by:
getShapePointsForId
in interface NarrativeService
Copyright © 2012 OneBusAway. All Rights Reserved.