Class StifTripLoaderSupport
- java.lang.Object
-
- org.onebusaway.transit_data_federation.bundle.tasks.stif.StifTripLoaderSupport
-
public class StifTripLoaderSupport extends Object
Create a mapping from Destination Sign Code (DSC) to GTFS Trip objects using data in STIF, MTA's internal format.
-
-
Constructor Summary
Constructors Constructor Description StifTripLoaderSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.onebusaway.gtfs.services.GtfsMutableRelationalDaogetGtfsDao()TripIdentifiergetIdentifierForStifTrip(TripRecord tripRecord, StifTrip rawTrip)StringgetStopIdForLocation(String originLocation)Private MethodsintgetTotalTripCount()List<org.onebusaway.gtfs.model.Trip>getTripsForIdentifier(TripIdentifier id)voidputStopIdForLocation(String location, String stopId)static ServiceCodescheduleIdForGtfsDayCode(String dayCode)voidsetGtfsDao(org.onebusaway.gtfs.services.GtfsMutableRelationalDao dao)
-
-
-
Method Detail
-
setGtfsDao
public void setGtfsDao(org.onebusaway.gtfs.services.GtfsMutableRelationalDao dao)
-
scheduleIdForGtfsDayCode
public static ServiceCode scheduleIdForGtfsDayCode(String dayCode)
-
getTotalTripCount
public int getTotalTripCount()
-
getIdentifierForStifTrip
public TripIdentifier getIdentifierForStifTrip(TripRecord tripRecord, StifTrip rawTrip)
-
getTripsForIdentifier
public List<org.onebusaway.gtfs.model.Trip> getTripsForIdentifier(TripIdentifier id)
-
getGtfsDao
public org.onebusaway.gtfs.services.GtfsMutableRelationalDao getGtfsDao()
-
-