org.onebusaway.transit_data_federation.services.transit_graph
Interface TripEntry
- All Known Implementing Classes:
- TripEntryImpl
public interface TripEntry
getId
org.onebusaway.gtfs.model.AgencyAndId getId()
getRoute
RouteEntry getRoute()
getRouteCollection
RouteCollectionEntry getRouteCollection()
getDirectionId
String getDirectionId()
getBlock
BlockEntry getBlock()
getServiceId
org.onebusaway.gtfs.model.calendar.LocalizedServiceId getServiceId()
getShapeId
org.onebusaway.gtfs.model.AgencyAndId getShapeId()
getStopTimes
List<StopTimeEntry> getStopTimes()
getTotalTripDistance
double getTotalTripDistance()
- Returns:
- distance, in meters
getFrequencyLabel
FrequencyEntry getFrequencyLabel()
- For trips that are operated with a fixed schedule, but marketed to riders
as headway-based service (by applying a
Frequency.getExactTimes()
override value of 2 in their frequencies.txt GTFS), we attach the
FrequencyEntry
associated with this trip.
- Returns:
Copyright © 2012 OneBusAway. All Rights Reserved.