Class GtfsTrip


  • public class GtfsTrip
    extends GtfsObject
    In memory representation of a GTFS entry in trips.txt
    Author:
    markr
    • Field Detail

      • SUPPORTED_KEYS

        public static final EnumSet<GtfsKeyType> SUPPORTED_KEYS
        Supported keys for a GTFS trip instance
    • Constructor Detail

      • GtfsTrip

        public GtfsTrip()
    • Method Detail

      • getTripId

        public String getTripId()
        Get the trip id
        Returns:
        trip id
      • getServiceId

        public String getServiceId()
        Get the service id
        Returns:
        service id
      • getRouteId

        public String getRouteId()
        Get the route id for this trip
        Returns:
        route id
      • toString

        public String toString()
        String of all key value pairs of this GTFS entity
        Overrides:
        toString in class Object
        Returns:
        created string