public enum DirectionType extends java.lang.Enum<DirectionType>
TOSDevicePackage.getDirectionType()| Enum Constant and Description |
|---|
LEFT_RIGHT
The 'LEFT RIGHT' literal object.
|
OTHER
The 'OTHER' literal object.
|
STRAIGHT
The 'STRAIGHT' literal object.
|
STRAIGHT_LEFT
The 'STRAIGHT LEFT' literal object.
|
STRAIGHT_RIGHT
The 'STRAIGHT RIGHT' literal object.
|
STRAIGHT_TURNS
The 'STRAIGHT TURNS' literal object.
|
TURN_LEFT
The 'TURN LEFT' literal object.
|
TURN_RIGHT
The 'TURN RIGHT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
LEFT_RIGHT_VALUE
The 'LEFT RIGHT' literal value.
|
static int |
OTHER_VALUE
The 'OTHER' literal value.
|
static int |
STRAIGHT_LEFT_VALUE
The 'STRAIGHT LEFT' literal value.
|
static int |
STRAIGHT_RIGHT_VALUE
The 'STRAIGHT RIGHT' literal value.
|
static int |
STRAIGHT_TURNS_VALUE
The 'STRAIGHT TURNS' literal value.
|
static int |
STRAIGHT_VALUE
The 'STRAIGHT' literal value.
|
static int |
TURN_LEFT_VALUE
The 'TURN LEFT' literal value.
|
static int |
TURN_RIGHT_VALUE
The 'TURN RIGHT' literal value.
|
static java.util.List<DirectionType> |
VALUES
A public read-only list of all the 'Direction Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectionType |
get(int value)
Returns the 'Direction Type' literal with the specified integer value.
|
static DirectionType |
get(java.lang.String literal)
Returns the 'Direction Type' literal with the specified literal value.
|
static DirectionType |
getByName(java.lang.String name)
Returns the 'Direction Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static DirectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionType STRAIGHT
STRAIGHT_VALUEpublic static final DirectionType TURN_RIGHT
TURN_RIGHT_VALUEpublic static final DirectionType TURN_LEFT
TURN_LEFT_VALUEpublic static final DirectionType OTHER
OTHER_VALUEpublic static final DirectionType STRAIGHT_TURNS
STRAIGHT_TURNS_VALUEpublic static final DirectionType STRAIGHT_LEFT
STRAIGHT_LEFT_VALUEpublic static final DirectionType STRAIGHT_RIGHT
STRAIGHT_RIGHT_VALUEpublic static final DirectionType LEFT_RIGHT
LEFT_RIGHT_VALUEpublic static final int STRAIGHT_VALUE
STRAIGHT,
Constant Field Valuespublic static final int TURN_RIGHT_VALUE
TURN_RIGHT,
Constant Field Valuespublic static final int TURN_LEFT_VALUE
TURN_LEFT,
Constant Field Valuespublic static final int OTHER_VALUE
OTHER,
Constant Field Valuespublic static final int STRAIGHT_TURNS_VALUE
STRAIGHT_TURNS,
Constant Field Valuespublic static final int STRAIGHT_LEFT_VALUE
STRAIGHT_LEFT,
Constant Field Valuespublic static final int STRAIGHT_RIGHT_VALUE
STRAIGHT_RIGHT,
Constant Field Valuespublic static final int LEFT_RIGHT_VALUE
LEFT_RIGHT,
Constant Field Valuespublic static final java.util.List<DirectionType> VALUES
public static DirectionType[] values()
for (DirectionType c : DirectionType.values()) System.out.println(c);
public static DirectionType 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 DirectionType get(java.lang.String literal)
literal - the literal.null.public static DirectionType getByName(java.lang.String name)
name - the name.null.public static DirectionType get(int value)
value - the integer value.null.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<DirectionType>Data In Motion GmbH all rights reserved