public enum RiderPositionType extends java.lang.Enum<RiderPositionType>
Enum Constant and Description |
---|
INVALID |
SEATED |
STANDING |
TRANSITION_TO_SEATED |
TRANSITION_TO_STANDING |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static RiderPositionType |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(RiderPositionType value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static RiderPositionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RiderPositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiderPositionType SEATED
public static final RiderPositionType STANDING
public static final RiderPositionType TRANSITION_TO_SEATED
public static final RiderPositionType TRANSITION_TO_STANDING
public static final RiderPositionType INVALID
public static RiderPositionType[] values()
for (RiderPositionType c : RiderPositionType.values()) System.out.println(c);
public static RiderPositionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RiderPositionType getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(RiderPositionType value)
value
- The enum constantpublic short getValue()