public enum BikeAccess extends Enum<BikeAccess>
Enum Constant and Description |
---|
ALLOWED |
NOT_ALLOWED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static BikeAccess |
fromTrip(Trip trip) |
static BikeAccess |
fromTrip(org.onebusaway.gtfs.model.Trip gtfsTrip) |
static void |
setForTrip(Trip trip,
BikeAccess access) |
static void |
setForTrip(org.onebusaway.gtfs.model.Trip gtfsTrip,
BikeAccess access) |
static BikeAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BikeAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BikeAccess UNKNOWN
public static final BikeAccess NOT_ALLOWED
public static final BikeAccess ALLOWED
public static BikeAccess[] values()
for (BikeAccess c : BikeAccess.values()) System.out.println(c);
public static BikeAccess valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BikeAccess fromTrip(Trip trip)
public static void setForTrip(Trip trip, BikeAccess access)
public static BikeAccess fromTrip(org.onebusaway.gtfs.model.Trip gtfsTrip)
public static void setForTrip(org.onebusaway.gtfs.model.Trip gtfsTrip, BikeAccess access)
Copyright © 2019. All rights reserved.