org.onebusaway.transit_data_federation.impl.beans
Class BlockBeanServiceImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.beans.BlockBeanServiceImpl
- All Implemented Interfaces:
- BlockBeanService
@Component
public class BlockBeanServiceImpl
- extends Object
- implements BlockBeanService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockBeanServiceImpl
public BlockBeanServiceImpl()
setTransitGraphDao
public void setTransitGraphDao(TransitGraphDao graph)
setTripBeanService
public void setTripBeanService(TripBeanService tripBeanService)
setStopTimeBeanService
public void setStopTimeBeanService(StopTimeBeanService stopTimeBeanService)
setBlockCalendarService
public void setBlockCalendarService(BlockCalendarService blockCalendarService)
setScheduledBlockLocationService
public void setScheduledBlockLocationService(ScheduledBlockLocationService scheduledBlockLocationService)
setAgencyService
public void setAgencyService(AgencyService agencyService)
getBlockForId
public BlockBean getBlockForId(org.onebusaway.gtfs.model.AgencyAndId blockId)
- Specified by:
getBlockForId
in interface BlockBeanService
- Returns:
- retrieve a bean representation of the specified block, or null if
not found
getBlockTripAsBean
public BlockTripBean getBlockTripAsBean(BlockTripEntry blockTrip)
- Specified by:
getBlockTripAsBean
in interface BlockBeanService
getBlockInstance
public BlockInstanceBean getBlockInstance(org.onebusaway.gtfs.model.AgencyAndId blockId,
long serviceDate)
- Specified by:
getBlockInstance
in interface BlockBeanService
getScheduledBlockLocationFromScheduledTime
public ScheduledBlockLocationBean getScheduledBlockLocationFromScheduledTime(org.onebusaway.gtfs.model.AgencyAndId blockId,
long serviceDate,
int scheduledTime)
- Specified by:
getScheduledBlockLocationFromScheduledTime
in interface BlockBeanService
Copyright © 2012 OneBusAway. All Rights Reserved.