Package org.goplanit.gtfs.enums
Enum GtfsKeyType
- java.lang.Object
-
- java.lang.Enum<GtfsKeyType>
-
- org.goplanit.gtfs.enums.GtfsKeyType
-
- All Implemented Interfaces:
Serializable
,Comparable<GtfsKeyType>
public enum GtfsKeyType extends Enum<GtfsKeyType>
List of all available GTFS keys used in GTFS files- Author:
- markr
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<GtfsKeyType>
fromValue(String value)
Construct enum from given value (ignoring case)String
value()
Get the value of the enumstatic boolean
valueIn(EnumSet<GtfsKeyType> supportedKeys, String value)
Verify if value is present in provided enumset's values (ignoring case)static GtfsKeyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GtfsKeyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGENCY_ID
public static final GtfsKeyType AGENCY_ID
-
AGENCY_EMAIL
public static final GtfsKeyType AGENCY_EMAIL
-
AGENCY_FARE_URL
public static final GtfsKeyType AGENCY_FARE_URL
-
AGENCY_LANG
public static final GtfsKeyType AGENCY_LANG
-
AGENCY_NAME
public static final GtfsKeyType AGENCY_NAME
-
AGENCY_PHONE
public static final GtfsKeyType AGENCY_PHONE
-
AGENCY_TIMEZONE
public static final GtfsKeyType AGENCY_TIMEZONE
-
AGENCY_URL
public static final GtfsKeyType AGENCY_URL
-
ARRIVAL_TIME
public static final GtfsKeyType ARRIVAL_TIME
-
ATTRIBTUION_EMAIL
public static final GtfsKeyType ATTRIBTUION_EMAIL
-
ATTRIBUTION_ID
public static final GtfsKeyType ATTRIBUTION_ID
-
ATTRIBUTION_PHONE
public static final GtfsKeyType ATTRIBUTION_PHONE
-
ATTRIBUTION_URL
public static final GtfsKeyType ATTRIBUTION_URL
-
BIKES_ALLOWED
public static final GtfsKeyType BIKES_ALLOWED
-
BLOCK_ID
public static final GtfsKeyType BLOCK_ID
-
CONTAINS_ID
public static final GtfsKeyType CONTAINS_ID
-
CONTINUOUS_DROP_OFF
public static final GtfsKeyType CONTINUOUS_DROP_OFF
-
CONTINUOUS_PICKUP
public static final GtfsKeyType CONTINUOUS_PICKUP
-
CURRENCY_TYPE
public static final GtfsKeyType CURRENCY_TYPE
-
DATE
public static final GtfsKeyType DATE
-
DEFAULT_LANG
public static final GtfsKeyType DEFAULT_LANG
-
DEPARTURE_TIME
public static final GtfsKeyType DEPARTURE_TIME
-
DESTINATION_ID
public static final GtfsKeyType DESTINATION_ID
-
DIRECTION_ID
public static final GtfsKeyType DIRECTION_ID
-
DROP_OFF_TYPE
public static final GtfsKeyType DROP_OFF_TYPE
-
END_DATE
public static final GtfsKeyType END_DATE
-
END_TIME
public static final GtfsKeyType END_TIME
-
EXACT_TIMES
public static final GtfsKeyType EXACT_TIMES
-
EXCEPTION_TYPE
public static final GtfsKeyType EXCEPTION_TYPE
-
FARE_ID
public static final GtfsKeyType FARE_ID
-
FIELD_NAME
public static final GtfsKeyType FIELD_NAME
-
FEED_CONTACT_EMAIL
public static final GtfsKeyType FEED_CONTACT_EMAIL
-
FEED_CONTACT_URL
public static final GtfsKeyType FEED_CONTACT_URL
-
FEED_END_DATE
public static final GtfsKeyType FEED_END_DATE
-
FEED_LANG
public static final GtfsKeyType FEED_LANG
-
FEED_PUBLISHER_NAME
public static final GtfsKeyType FEED_PUBLISHER_NAME
-
FEED_PUBLISHER_URL
public static final GtfsKeyType FEED_PUBLISHER_URL
-
FEED_START_DATE
public static final GtfsKeyType FEED_START_DATE
-
FEED_VERSION
public static final GtfsKeyType FEED_VERSION
-
FIELD_VALUE
public static final GtfsKeyType FIELD_VALUE
-
FRIDAY
public static final GtfsKeyType FRIDAY
-
FROM_STOP_ID
public static final GtfsKeyType FROM_STOP_ID
-
HEADWAY_SECS
public static final GtfsKeyType HEADWAY_SECS
-
IS_AUTHORITY
public static final GtfsKeyType IS_AUTHORITY
-
IS_BIDIRECTIONAL
public static final GtfsKeyType IS_BIDIRECTIONAL
-
IS_PRODUCER
public static final GtfsKeyType IS_PRODUCER
-
IS_OPERATOR
public static final GtfsKeyType IS_OPERATOR
-
LANGUAGE
public static final GtfsKeyType LANGUAGE
-
LENGTH
public static final GtfsKeyType LENGTH
-
LEVEL_ID
public static final GtfsKeyType LEVEL_ID
-
LEVEL_INDEX
public static final GtfsKeyType LEVEL_INDEX
-
LEVEL_NAME
public static final GtfsKeyType LEVEL_NAME
-
LOCATION_TYPE
public static final GtfsKeyType LOCATION_TYPE
-
MAX_SLOPE
public static final GtfsKeyType MAX_SLOPE
-
MIN_TRANSFER_TIME
public static final GtfsKeyType MIN_TRANSFER_TIME
-
MIN_WIDTH
public static final GtfsKeyType MIN_WIDTH
-
MONDAY
public static final GtfsKeyType MONDAY
-
ORIGIN_ID
public static final GtfsKeyType ORIGIN_ID
-
ORGANIZATION_NAME
public static final GtfsKeyType ORGANIZATION_NAME
-
PARENT_STATION
public static final GtfsKeyType PARENT_STATION
-
PATHWAY_ID
public static final GtfsKeyType PATHWAY_ID
-
PATHWAY_MODE
public static final GtfsKeyType PATHWAY_MODE
-
PAYMENT_METHOD
public static final GtfsKeyType PAYMENT_METHOD
-
PICKUP_TYPE
public static final GtfsKeyType PICKUP_TYPE
-
PLATFORM_CODE
public static final GtfsKeyType PLATFORM_CODE
-
PRICE
public static final GtfsKeyType PRICE
-
RECORD_ID
public static final GtfsKeyType RECORD_ID
-
RECORD_SUB_ID
public static final GtfsKeyType RECORD_SUB_ID
-
REVERSE_SIGNPOSTED_AS
public static final GtfsKeyType REVERSE_SIGNPOSTED_AS
-
ROUTE_COLOR
public static final GtfsKeyType ROUTE_COLOR
-
ROUTE_DESC
public static final GtfsKeyType ROUTE_DESC
-
ROUTE_ID
public static final GtfsKeyType ROUTE_ID
-
ROUTE_LONG_NAME
public static final GtfsKeyType ROUTE_LONG_NAME
-
ROUTE_SHORT_NAME
public static final GtfsKeyType ROUTE_SHORT_NAME
-
ROUTE_SORT_ORDER
public static final GtfsKeyType ROUTE_SORT_ORDER
-
ROUTE_TEXT_COLOR
public static final GtfsKeyType ROUTE_TEXT_COLOR
-
ROUTE_TYPE
public static final GtfsKeyType ROUTE_TYPE
-
ROUTE_URL
public static final GtfsKeyType ROUTE_URL
-
SATURDAY
public static final GtfsKeyType SATURDAY
-
SERVICE_ID
public static final GtfsKeyType SERVICE_ID
-
SHAPE_DIST_TRAVELED
public static final GtfsKeyType SHAPE_DIST_TRAVELED
-
SHAPE_ID
public static final GtfsKeyType SHAPE_ID
-
SHAPE_PT_LAT
public static final GtfsKeyType SHAPE_PT_LAT
-
SHAPE_PT_LON
public static final GtfsKeyType SHAPE_PT_LON
-
SHAPE_PT_SEQUENCE
public static final GtfsKeyType SHAPE_PT_SEQUENCE
-
SIGNPOSTED_AS
public static final GtfsKeyType SIGNPOSTED_AS
-
START_DATE
public static final GtfsKeyType START_DATE
-
START_TIME
public static final GtfsKeyType START_TIME
-
STOP_CODE
public static final GtfsKeyType STOP_CODE
-
STOP_DESC
public static final GtfsKeyType STOP_DESC
-
STOP_HEADSIGN
public static final GtfsKeyType STOP_HEADSIGN
-
STOP_ID
public static final GtfsKeyType STOP_ID
-
STOP_LAT
public static final GtfsKeyType STOP_LAT
-
STOP_LON
public static final GtfsKeyType STOP_LON
-
STOP_NAME
public static final GtfsKeyType STOP_NAME
-
STOP_SEQUENCE
public static final GtfsKeyType STOP_SEQUENCE
-
STOP_TIMEZONE
public static final GtfsKeyType STOP_TIMEZONE
-
STOP_URL
public static final GtfsKeyType STOP_URL
-
SUNDAY
public static final GtfsKeyType SUNDAY
-
STAIR_COUNT
public static final GtfsKeyType STAIR_COUNT
-
TABLE_NAME
public static final GtfsKeyType TABLE_NAME
-
THURSDAY
public static final GtfsKeyType THURSDAY
-
TIMEPOINT
public static final GtfsKeyType TIMEPOINT
-
TO_STOP_ID
public static final GtfsKeyType TO_STOP_ID
-
TRANSFERS
public static final GtfsKeyType TRANSFERS
-
TRANSFER_DURATION
public static final GtfsKeyType TRANSFER_DURATION
-
TRANSFER_TYPE
public static final GtfsKeyType TRANSFER_TYPE
-
TRANSLATION
public static final GtfsKeyType TRANSLATION
-
TRAVERSAL_TIME
public static final GtfsKeyType TRAVERSAL_TIME
-
TUESDAY
public static final GtfsKeyType TUESDAY
-
TRIP_ID
public static final GtfsKeyType TRIP_ID
-
TRIP_HEADSIGN
public static final GtfsKeyType TRIP_HEADSIGN
-
TRIP_SHORT_NAME
public static final GtfsKeyType TRIP_SHORT_NAME
-
WEDNESDAY
public static final GtfsKeyType WEDNESDAY
-
WHEELCHAIR_ACCESSIBLE
public static final GtfsKeyType WHEELCHAIR_ACCESSIBLE
-
WHEELCHAIR_BOARDING
public static final GtfsKeyType WHEELCHAIR_BOARDING
-
ZONE_ID
public static final GtfsKeyType ZONE_ID
-
-
Method Detail
-
values
public static GtfsKeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GtfsKeyType c : GtfsKeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GtfsKeyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
Get the value of the enum- Returns:
- value of the enum
-
valueIn
public static boolean valueIn(EnumSet<GtfsKeyType> supportedKeys, String value)
Verify if value is present in provided enumset's values (ignoring case)- Parameters:
supportedKeys
- to checkvalue
- to check- Returns:
- true when present, false otherwise
-
fromValue
public static Optional<GtfsKeyType> fromValue(String value)
Construct enum from given value (ignoring case)- Parameters:
value
- to construct enum from- Returns:
- GtfsKeyType produced
-
-