Interface TripProducer

All Known Implementing Classes:
DefaultTripProducer

public interface TripProducer
Produce a GTFS Trip.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Field Details

  • 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 journey
      netexRoute - the NeTEx route
      gtfsRoute - the GTFS route
      shapeId - the optional shape id
      initialDestinationDisplay - 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.