org.onebusaway.gtfs.impl
Class GtfsDaoImpl

java.lang.Object
  extended by org.onebusaway.gtfs.impl.GenericDaoImpl
      extended by org.onebusaway.gtfs.impl.GtfsDaoImpl
All Implemented Interfaces:
GenericDao, GenericMutableDao, GtfsDao, GtfsMutableDao
Direct Known Subclasses:
GtfsRelationalDaoImpl

public class GtfsDaoImpl
extends GenericDaoImpl
implements GtfsMutableDao


Constructor Summary
GtfsDaoImpl()
           
 
Method Summary
 Agency getAgencyForId(String id)
          GtfsDao Interface
 Collection<Agency> getAllAgencies()
          Agency Methods
 Collection<ServiceCalendarDate> getAllCalendarDates()
          ServiceCalendarDate Methods
 Collection<ServiceCalendar> getAllCalendars()
          ServiceCalendar Methods
 Collection<FareAttribute> getAllFareAttributes()
          FareAttribute Methods
 Collection<FareRule> getAllFareRules()
          FareRule Methods
 Collection<Frequency> getAllFrequencies()
          Frequency Methods
 Collection<Pathway> getAllPathways()
          Pathway Methods
 Collection<Route> getAllRoutes()
          Route Methods
 Collection<ShapePoint> getAllShapePoints()
          ShapePoint Methods
 Collection<Stop> getAllStops()
          Stop Methods
 Collection<StopTime> getAllStopTimes()
          StopTime Methods
 Collection<Transfer> getAllTransfers()
          Transfer Methods
 Collection<Trip> getAllTrips()
          Trip Methods
 ServiceCalendarDate getCalendarDateForId(int id)
           
 ServiceCalendar getCalendarForId(int id)
           
 FareAttribute getFareAttributeForId(AgencyAndId id)
           
 FareRule getFareRuleForId(int id)
           
 Frequency getFrequencyForId(int id)
           
 Pathway getPathwayForId(AgencyAndId id)
           
 Route getRouteForId(AgencyAndId id)
           
 ShapePoint getShapePointForId(int id)
           
 Stop getStopForId(AgencyAndId id)
           
 StopTime getStopTimeForId(int id)
           
 Transfer getTransferForId(int id)
           
 Trip getTripForId(AgencyAndId id)
           
 
Methods inherited from class org.onebusaway.gtfs.impl.GenericDaoImpl
clearAllEntitiesForType, close, flush, getAllEntitiesForType, getEntitiesByIdForEntityType, getEntityClasses, getEntityForId, open, removeEntity, saveEntity, saveOrUpdateEntity, setGenerateIds, updateEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.gtfs.services.GenericMutableDao
clearAllEntitiesForType, close, flush, open, removeEntity, saveEntity, saveOrUpdateEntity, updateEntity
 
Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
 

Constructor Detail

GtfsDaoImpl

public GtfsDaoImpl()
Method Detail

getAgencyForId

public Agency getAgencyForId(String id)
GtfsDao Interface

Specified by:
getAgencyForId in interface GtfsDao

getAllAgencies

public Collection<Agency> getAllAgencies()
Description copied from interface: GtfsDao
Agency Methods

Specified by:
getAllAgencies in interface GtfsDao

getAllCalendarDates

public Collection<ServiceCalendarDate> getAllCalendarDates()
Description copied from interface: GtfsDao
ServiceCalendarDate Methods

Specified by:
getAllCalendarDates in interface GtfsDao

getAllCalendars

public Collection<ServiceCalendar> getAllCalendars()
Description copied from interface: GtfsDao
ServiceCalendar Methods

Specified by:
getAllCalendars in interface GtfsDao

getAllFareAttributes

public Collection<FareAttribute> getAllFareAttributes()
Description copied from interface: GtfsDao
FareAttribute Methods

Specified by:
getAllFareAttributes in interface GtfsDao

getAllFareRules

public Collection<FareRule> getAllFareRules()
Description copied from interface: GtfsDao
FareRule Methods

Specified by:
getAllFareRules in interface GtfsDao

getAllFrequencies

public Collection<Frequency> getAllFrequencies()
Description copied from interface: GtfsDao
Frequency Methods

Specified by:
getAllFrequencies in interface GtfsDao

getAllRoutes

public Collection<Route> getAllRoutes()
Description copied from interface: GtfsDao
Route Methods

Specified by:
getAllRoutes in interface GtfsDao

getAllShapePoints

public Collection<ShapePoint> getAllShapePoints()
Description copied from interface: GtfsDao
ShapePoint Methods

Specified by:
getAllShapePoints in interface GtfsDao

getAllStopTimes

public Collection<StopTime> getAllStopTimes()
Description copied from interface: GtfsDao
StopTime Methods

Specified by:
getAllStopTimes in interface GtfsDao

getAllStops

public Collection<Stop> getAllStops()
Description copied from interface: GtfsDao
Stop Methods

Specified by:
getAllStops in interface GtfsDao

getAllTransfers

public Collection<Transfer> getAllTransfers()
Description copied from interface: GtfsDao
Transfer Methods

Specified by:
getAllTransfers in interface GtfsDao

getAllTrips

public Collection<Trip> getAllTrips()
Description copied from interface: GtfsDao
Trip Methods

Specified by:
getAllTrips in interface GtfsDao

getCalendarDateForId

public ServiceCalendarDate getCalendarDateForId(int id)
Specified by:
getCalendarDateForId in interface GtfsDao

getCalendarForId

public ServiceCalendar getCalendarForId(int id)
Specified by:
getCalendarForId in interface GtfsDao

getFareAttributeForId

public FareAttribute getFareAttributeForId(AgencyAndId id)
Specified by:
getFareAttributeForId in interface GtfsDao

getFareRuleForId

public FareRule getFareRuleForId(int id)
Specified by:
getFareRuleForId in interface GtfsDao

getFrequencyForId

public Frequency getFrequencyForId(int id)
Specified by:
getFrequencyForId in interface GtfsDao

getAllPathways

public Collection<Pathway> getAllPathways()
Description copied from interface: GtfsDao
Pathway Methods

Specified by:
getAllPathways in interface GtfsDao

getPathwayForId

public Pathway getPathwayForId(AgencyAndId id)
Specified by:
getPathwayForId in interface GtfsDao

getRouteForId

public Route getRouteForId(AgencyAndId id)
Specified by:
getRouteForId in interface GtfsDao

getShapePointForId

public ShapePoint getShapePointForId(int id)
Specified by:
getShapePointForId in interface GtfsDao

getStopForId

public Stop getStopForId(AgencyAndId id)
Specified by:
getStopForId in interface GtfsDao

getStopTimeForId

public StopTime getStopTimeForId(int id)
Specified by:
getStopTimeForId in interface GtfsDao

getTransferForId

public Transfer getTransferForId(int id)
Specified by:
getTransferForId in interface GtfsDao

getTripForId

public Trip getTripForId(AgencyAndId id)
Specified by:
getTripForId in interface GtfsDao


Copyright © 2011 OneBusAway. All Rights Reserved.