org.onebusaway.transit_data_federation.services.beans
Interface BlockBeanService

All Known Implementing Classes:
BlockBeanServiceImpl

public interface BlockBeanService

Service methods to lookup a BlockBean representation of a block: a series of contiguous Trip objects.

Author:
bdferris
See Also:
BlockBean, Trip

Method Summary
 BlockBean getBlockForId(org.onebusaway.gtfs.model.AgencyAndId blockId)
           
 BlockInstanceBean getBlockInstance(org.onebusaway.gtfs.model.AgencyAndId blockId, long serviceDate)
           
 BlockTripBean getBlockTripAsBean(BlockTripEntry activeTrip)
           
 ScheduledBlockLocationBean getScheduledBlockLocationFromScheduledTime(org.onebusaway.gtfs.model.AgencyAndId blockId, long serviceDate, int scheduledTime)
           
 

Method Detail

getBlockForId

BlockBean getBlockForId(org.onebusaway.gtfs.model.AgencyAndId blockId)
Parameters:
block - see Trip.getBlockId()
Returns:
retrieve a bean representation of the specified block, or null if not found

getBlockTripAsBean

BlockTripBean getBlockTripAsBean(BlockTripEntry activeTrip)

getBlockInstance

BlockInstanceBean getBlockInstance(org.onebusaway.gtfs.model.AgencyAndId blockId,
                                   long serviceDate)

getScheduledBlockLocationFromScheduledTime

ScheduledBlockLocationBean getScheduledBlockLocationFromScheduledTime(org.onebusaway.gtfs.model.AgencyAndId blockId,
                                                                      long serviceDate,
                                                                      int scheduledTime)


Copyright © 2012 OneBusAway. All Rights Reserved.