Module org.entur.netex.gtfs.export
Interface TripProducer
- All Known Implementing Classes:
DefaultTripProducer
public interface TripProducer
Produce a GTFS Trip.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.onebusaway.gtfs.model.Tripproduce(org.rutebanken.netex.model.ServiceJourney serviceJourney, org.rutebanken.netex.model.Route netexRoute, org.onebusaway.gtfs.model.Route gtfsRoute, org.onebusaway.gtfs.model.AgencyAndId shapeId, org.rutebanken.netex.model.DestinationDisplay initialDestinationDisplay) Return a GTFS Trip corresponding to the ServiceJourney or null if the ServiceJourney cannot be converted into a valid GTFS trip.
-
Field Details
-
GTFS_DIRECTION_OUTBOUND
- See Also:
-
GTFS_DIRECTION_INBOUND
- See Also:
-
-
Method Details
-
produce
org.onebusaway.gtfs.model.Trip produce(org.rutebanken.netex.model.ServiceJourney serviceJourney, org.rutebanken.netex.model.Route netexRoute, org.onebusaway.gtfs.model.Route gtfsRoute, org.onebusaway.gtfs.model.AgencyAndId shapeId, org.rutebanken.netex.model.DestinationDisplay initialDestinationDisplay) Return a GTFS Trip corresponding to the ServiceJourney or null if the ServiceJourney cannot be converted into a valid GTFS trip.- Parameters:
serviceJourney- the NeTEx service journeynetexRoute- the NeTEx routegtfsRoute- the GTFS routeshapeId- the optional shape idinitialDestinationDisplay- the initial destination display.- Returns:
- a GTFS Trip corresponding to the ServiceJourney or null if the ServiceJourney cannot be converted into a valid GTFS trip.
-