Enum EventRecord.BoardAlightFlag
- java.lang.Object
-
- java.lang.Enum<EventRecord.BoardAlightFlag>
-
- org.onebusaway.transit_data_federation.bundle.tasks.stif.model.EventRecord.BoardAlightFlag
-
- All Implemented Interfaces:
Serializable,Comparable<EventRecord.BoardAlightFlag>
- Enclosing class:
- EventRecord
public static enum EventRecord.BoardAlightFlag extends Enum<EventRecord.BoardAlightFlag>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventRecord.BoardAlightFlagget(int boardAlightFlag)intgetCode()static EventRecord.BoardAlightFlagvalueOf(String name)Returns the enum constant of this type with the specified name.static EventRecord.BoardAlightFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEITHER
public static final EventRecord.BoardAlightFlag NEITHER
-
BOARDING
public static final EventRecord.BoardAlightFlag BOARDING
-
ALIGHTING
public static final EventRecord.BoardAlightFlag ALIGHTING
-
BOTH
public static final EventRecord.BoardAlightFlag BOTH
-
INVALID
public static final EventRecord.BoardAlightFlag INVALID
-
-
Method Detail
-
values
public static EventRecord.BoardAlightFlag[] 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 (EventRecord.BoardAlightFlag c : EventRecord.BoardAlightFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventRecord.BoardAlightFlag 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
-
getCode
public int getCode()
-
get
public static EventRecord.BoardAlightFlag get(int boardAlightFlag)
-
-