org.onebusaway.transit_data_federation.impl.transit_graph
public class TripEntryImpl extends Object implements TripEntry, Serializable
Constructor and Description |
---|
TripEntryImpl() |
Modifier and Type | Method and Description |
---|---|
BlockEntryImpl |
getBlock() |
String |
getDirectionId() |
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. |
org.onebusaway.gtfs.model.AgencyAndId |
getId()
TripEntry Interface |
RouteEntry |
getRoute() |
RouteCollectionEntry |
getRouteCollection() |
org.onebusaway.gtfs.model.calendar.LocalizedServiceId |
getServiceId() |
org.onebusaway.gtfs.model.AgencyAndId |
getShapeId() |
List<StopTimeEntry> |
getStopTimes() |
double |
getTotalTripDistance() |
TripEntryImpl |
setBlock(BlockEntryImpl block) |
TripEntryImpl |
setDirectionId(String directionId) |
void |
setFrequencyLabel(FrequencyEntry frequencyLabel) |
TripEntryImpl |
setId(org.onebusaway.gtfs.model.AgencyAndId id) |
TripEntryImpl |
setRoute(RouteEntryImpl route) |
TripEntryImpl |
setServiceId(org.onebusaway.gtfs.model.calendar.LocalizedServiceId serviceId) |
void |
setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId) |
void |
setStopTimes(List<StopTimeEntry> stopTimes) |
void |
setTotalTripDistance(double totalTripDistance) |
String |
toString() |
public TripEntryImpl setId(org.onebusaway.gtfs.model.AgencyAndId id)
public TripEntryImpl setRoute(RouteEntryImpl route)
public TripEntryImpl setDirectionId(String directionId)
public TripEntryImpl setBlock(BlockEntryImpl block)
public TripEntryImpl setServiceId(org.onebusaway.gtfs.model.calendar.LocalizedServiceId serviceId)
public void setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
public void setStopTimes(List<StopTimeEntry> stopTimes)
public void setTotalTripDistance(double totalTripDistance)
public void setFrequencyLabel(FrequencyEntry frequencyLabel)
public org.onebusaway.gtfs.model.AgencyAndId getId()
TripEntry
Interfacepublic RouteEntry getRoute()
public RouteCollectionEntry getRouteCollection()
getRouteCollection
in interface TripEntry
public String getDirectionId()
getDirectionId
in interface TripEntry
public BlockEntryImpl getBlock()
public org.onebusaway.gtfs.model.calendar.LocalizedServiceId getServiceId()
getServiceId
in interface TripEntry
public org.onebusaway.gtfs.model.AgencyAndId getShapeId()
getShapeId
in interface TripEntry
public List<StopTimeEntry> getStopTimes()
getStopTimes
in interface TripEntry
public double getTotalTripDistance()
getTotalTripDistance
in interface TripEntry
public FrequencyEntry getFrequencyLabel()
TripEntry
Frequency.getExactTimes()
override value of 2 in their frequencies.txt GTFS), we attach the
FrequencyEntry
associated with this trip.getFrequencyLabel
in interface TripEntry
Copyright © 2014 OneBusAway. All Rights Reserved.