org.onebusaway.transit_data_federation.impl
Class AgencyServiceImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.AgencyServiceImpl
- All Implemented Interfaces:
- AgencyService
@Component
public class AgencyServiceImpl
- extends Object
- implements AgencyService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgencyServiceImpl
public AgencyServiceImpl()
getTimeZoneForAgencyId
public TimeZone getTimeZoneForAgencyId(String agencyId)
- Description copied from interface:
AgencyService
- See
Agency.getTimezone()
.
- Specified by:
getTimeZoneForAgencyId
in interface AgencyService
- Parameters:
agencyId
- the id of the target agency
- Returns:
- the instantiated timezone object for the specified agencyId
getAllAgencyIds
public List<String> getAllAgencyIds()
- Specified by:
getAllAgencyIds
in interface AgencyService
getAgencyIdsAndCenterPoints
public Map<String,CoordinatePoint> getAgencyIdsAndCenterPoints()
- Description copied from interface:
AgencyService
- For each agency in a transit bundle, computes the center point of all the
stops operated by that agency.
- Specified by:
getAgencyIdsAndCenterPoints
in interface AgencyService
- Returns:
- the center point of all stops operated by each agency, keyed by
agency id
getAgencyIdsAndCoverageAreas
public Map<String,CoordinateBounds> getAgencyIdsAndCoverageAreas()
- Description copied from interface:
AgencyService
- For each agency in a transit bundle, computes the coordinate bounds of all
the stops operated by that agency.
- Specified by:
getAgencyIdsAndCoverageAreas
in interface AgencyService
- Returns:
- the coordinate bounds of all stops operated by each agency, keyed
by agency id
Copyright © 2012 OneBusAway. All Rights Reserved.