public enum BikeAccess extends Enum<BikeAccess>
| Enum Constant and Description |
|---|
ALLOWED |
NOT_ALLOWED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BikeAccess |
fromTrip(org.onebusaway.gtfs.model.Trip trip) |
static void |
setForTrip(org.onebusaway.gtfs.model.Trip trip,
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(org.onebusaway.gtfs.model.Trip trip)
public static void setForTrip(org.onebusaway.gtfs.model.Trip trip,
BikeAccess access)
Copyright © 2018. All rights reserved.