public enum Roll extends java.lang.Enum<Roll>
EsxPackage.getRoll()
Enum Constant and Description |
---|
OFF
The 'OFF' literal object.
|
ON
The 'ON' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
OFF_VALUE
The 'OFF' literal value.
|
static int |
ON_VALUE
The 'ON' literal value.
|
static java.util.List<Roll> |
VALUES
A public read-only list of all the 'Roll' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static Roll |
get(int value)
Returns the 'Roll' literal with the specified integer value.
|
static Roll |
get(java.lang.String literal)
Returns the 'Roll' literal with the specified literal value.
|
static Roll |
getByName(java.lang.String name)
Returns the 'Roll' 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 Roll |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Roll[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int OFF_VALUE
If the meaning of 'OFF' literal object isn't clear, there really should be more of a description here...
OFF
,
Constant Field Valuespublic static final int ON_VALUE
If the meaning of 'ON' literal object isn't clear, there really should be more of a description here...
ON
,
Constant Field Valuespublic static final java.util.List<Roll> VALUES
public static Roll[] values()
for (Roll c : Roll.values()) System.out.println(c);
public static Roll 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 Roll get(java.lang.String literal)
public static Roll getByName(java.lang.String name)
public static Roll get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<Roll>