Package org.goplanit.gtfs.model
Class GtfsRoute
- java.lang.Object
-
- org.goplanit.gtfs.model.GtfsObject
-
- org.goplanit.gtfs.model.GtfsRoute
-
public class GtfsRoute extends GtfsObject
In memory representation of a GTFS entry in routes.txt- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static EnumSet<GtfsKeyType>
SUPPORTED_KEYS
Supported keys for a GTFS route instance
-
Constructor Summary
Constructors Constructor Description GtfsRoute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRouteId()
Get the route idEnumSet<GtfsKeyType>
getSupportedKeys()
All supported keys for this GTFS object-
Methods inherited from class org.goplanit.gtfs.model.GtfsObject
containsKey, get, put
-
-
-
-
Field Detail
-
SUPPORTED_KEYS
public static final EnumSet<GtfsKeyType> SUPPORTED_KEYS
Supported keys for a GTFS route instance
-
-
Method Detail
-
getSupportedKeys
public EnumSet<GtfsKeyType> getSupportedKeys()
All supported keys for this GTFS object- Specified by:
getSupportedKeys
in classGtfsObject
- Returns:
- supported keys
-
getRouteId
public String getRouteId()
Get the route id- Returns:
- route id
-
-