Package org.goplanit.gtfs.model
Class GtfsObject
- java.lang.Object
-
- org.goplanit.gtfs.model.GtfsObject
-
- Direct Known Subclasses:
GtfsAgency,GtfsAttribution,GtfsCalendar,GtfsCalendarDate,GtfsFareAttribute,GtfsFareRule,GtfsFeedInfo,GtfsFrequency,GtfsLevel,GtfsPathway,GtfsRoute,GtfsShape,GtfsStop,GtfsStopTime,GtfsTransfer,GtfsTranslation,GtfsTrip
public abstract class GtfsObject extends Object
Base class for any GTFS memory model object with key value pairs for the data- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description GtfsObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(GtfsKeyType key)Stringget(GtfsKeyType key)abstract EnumSet<GtfsKeyType>getSupportedKeys()All supported keys for this GTFS objectStringput(GtfsKeyType key, String value)
-
-
-
Method Detail
-
get
public String get(GtfsKeyType key)
-
put
public String put(GtfsKeyType key, String value)
-
containsKey
public boolean containsKey(GtfsKeyType key)
-
getSupportedKeys
public abstract EnumSet<GtfsKeyType> getSupportedKeys()
All supported keys for this GTFS object- Returns:
- supported keys
-
-