org.onebusaway.transit_data_federation.services.beans
Interface RouteBeanService


public interface RouteBeanService

Service for retrieving RouteCollectionEntry objects as RouteBean summary objects. Recall that the underlying representation of a route in a transit data federation bundle is a RouteCollectionEntry, not a Route.

Author:
bdferris
See Also:
RouteCollectionEntry, RouteBean

Method Summary
 RouteBean getRouteForId(org.onebusaway.gtfs.model.AgencyAndId routeId)
           
 StopsForRouteBean getStopsForRoute(org.onebusaway.gtfs.model.AgencyAndId routeId)
           
 

Method Detail

getRouteForId

RouteBean getRouteForId(org.onebusaway.gtfs.model.AgencyAndId routeId)
Parameters:
routeId - see RouteCollectionEntry.getId()
Returns:
the route bean representation of the route with the specified id, or null if not found

getStopsForRoute

StopsForRouteBean getStopsForRoute(org.onebusaway.gtfs.model.AgencyAndId routeId)
Parameters:
routeId - see RouteCollectionEntry.getId()
Returns:
the stops for the route with the specified bean, or null if not found


Copyright © 2012 OneBusAway. All Rights Reserved.