org.onebusaway.transit_data_federation.impl.beans
Class BlockBeanServiceImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.beans.BlockBeanServiceImpl
All Implemented Interfaces:
BlockBeanService

@Component
public class BlockBeanServiceImpl
extends Object
implements BlockBeanService


Constructor Summary
BlockBeanServiceImpl()
           
 
Method Summary
 BlockBean getBlockForId(org.onebusaway.gtfs.model.AgencyAndId blockId)
           
 BlockInstanceBean getBlockInstance(org.onebusaway.gtfs.model.AgencyAndId blockId, long serviceDate)
           
 BlockTripBean getBlockTripAsBean(BlockTripEntry blockTrip)
           
 ScheduledBlockLocationBean getScheduledBlockLocationFromScheduledTime(org.onebusaway.gtfs.model.AgencyAndId blockId, long serviceDate, int scheduledTime)
           
 void setAgencyService(AgencyService agencyService)
           
 void setBlockCalendarService(BlockCalendarService blockCalendarService)
           
 void setScheduledBlockLocationService(ScheduledBlockLocationService scheduledBlockLocationService)
           
 void setStopTimeBeanService(StopTimeBeanService stopTimeBeanService)
           
 void setTransitGraphDao(TransitGraphDao graph)
           
 void setTripBeanService(TripBeanService tripBeanService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockBeanServiceImpl

public BlockBeanServiceImpl()
Method Detail

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.