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(java.lang.String id)
          GtfsDao Interface
 java.util.Collection<Agency> getAllAgencies()
          Agency Methods
 java.util.Collection<ServiceCalendarDate> getAllCalendarDates()
          ServiceCalendarDate Methods
 java.util.Collection<ServiceCalendar> getAllCalendars()
          ServiceCalendar Methods
 java.util.Collection<FareAttribute> getAllFareAttributes()
          FareAttribute Methods
 java.util.Collection<FareRule> getAllFareRules()
          FareRule Methods
 java.util.Collection<Frequency> getAllFrequencies()
          Frequency Methods
 java.util.Collection<Pathway> getAllPathways()
          Pathway Methods
 java.util.Collection<Route> getAllRoutes()
          Route Methods
 java.util.Collection<ShapePoint> getAllShapePoints()
          ShapePoint Methods
 java.util.Collection<Stop> getAllStops()
          Stop Methods
 java.util.Collection<StopTime> getAllStopTimes()
          StopTime Methods
 java.util.Collection<Transfer> getAllTransfers()
          Transfer Methods
 java.util.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, setGenerateIds
 
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
 
Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
 

Constructor Detail

GtfsDaoImpl

public GtfsDaoImpl()
Method Detail

getAgencyForId

public Agency getAgencyForId(java.lang.String id)
GtfsDao Interface

Specified by:
getAgencyForId in interface GtfsDao

getAllAgencies

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

Specified by:
getAllAgencies in interface GtfsDao

getAllCalendarDates

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

Specified by:
getAllCalendarDates in interface GtfsDao

getAllCalendars

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

Specified by:
getAllCalendars in interface GtfsDao

getAllFareAttributes

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

Specified by:
getAllFareAttributes in interface GtfsDao

getAllFareRules

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

Specified by:
getAllFareRules in interface GtfsDao

getAllFrequencies

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

Specified by:
getAllFrequencies in interface GtfsDao

getAllRoutes

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

Specified by:
getAllRoutes in interface GtfsDao

getAllShapePoints

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

Specified by:
getAllShapePoints in interface GtfsDao

getAllStopTimes

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

Specified by:
getAllStopTimes in interface GtfsDao

getAllStops

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

Specified by:
getAllStops in interface GtfsDao

getAllTransfers

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

Specified by:
getAllTransfers in interface GtfsDao

getAllTrips

public java.util.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 java.util.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 © 2010 OneBusAway. All Rights Reserved.