org.onebusaway.transit_data_federation.services.beans
Interface StopScheduleBeanService


public interface StopScheduleBeanService

Service methods for querying the full schedule at a particular stop, including the days the stop has service and the schedule on each of those service dates.

Author:
bdferris
See Also:
StopRouteScheduleBean, StopCalendarDaysBean

Method Summary
 StopCalendarDaysBean getCalendarForStop(org.onebusaway.gtfs.model.AgencyAndId stopId)
          Retrieve the service dates that a stop has service
 List<StopRouteScheduleBean> getScheduledArrivalsForStopAndDate(org.onebusaway.gtfs.model.AgencyAndId stopId, org.onebusaway.gtfs.model.calendar.ServiceDate date)
          Retrieve the full schedule for a particular stop on a particular service date
 

Method Detail

getScheduledArrivalsForStopAndDate

List<StopRouteScheduleBean> getScheduledArrivalsForStopAndDate(org.onebusaway.gtfs.model.AgencyAndId stopId,
                                                               org.onebusaway.gtfs.model.calendar.ServiceDate date)
Retrieve the full schedule for a particular stop on a particular service date

Parameters:
stopId - see Stop.getId()
date - the date of service
Returns:
the schedule for each route at the specified stop on the specified service date

getCalendarForStop

StopCalendarDaysBean getCalendarForStop(org.onebusaway.gtfs.model.AgencyAndId stopId)
Retrieve the service dates that a stop has service

Parameters:
stopId - see Stop.getId()
Returns:
the set of calendar days for which we have schedule data for the specified stop


Copyright © 2011 OneBusAway. All Rights Reserved.