public enum ContextEnum extends java.lang.Enum<ContextEnum> implements org.eclipse.emf.common.util.Enumerator
VeplPackage.getContextEnum()| Enum Constant and Description |
|---|
CHRONICLE
The 'Chronicle' literal object.
|
IMMEDIATE
The 'Immediate' literal object.
|
NOT_SET
The 'Not set' literal object.
|
STRICT
The 'Strict' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CHRONICLE_VALUE
The 'Chronicle' literal value.
|
static int |
IMMEDIATE_VALUE
The 'Immediate' literal value.
|
static int |
NOT_SET_VALUE
The 'Not set' literal value.
|
static int |
STRICT_VALUE
The 'Strict' literal value.
|
static java.util.List<ContextEnum> |
VALUES
A public read-only list of all the 'Context Enum' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ContextEnum |
get(int value)
Returns the 'Context Enum' literal with the specified integer value.
|
static ContextEnum |
get(java.lang.String literal)
Returns the 'Context Enum' literal with the specified literal value.
|
static ContextEnum |
getByName(java.lang.String name)
Returns the 'Context Enum' 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 ContextEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContextEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextEnum NOT_SET
NOT_SET_VALUEpublic static final ContextEnum CHRONICLE
CHRONICLE_VALUEpublic static final ContextEnum IMMEDIATE
IMMEDIATE_VALUEpublic static final ContextEnum STRICT
STRICT_VALUEpublic static final int NOT_SET_VALUE
If the meaning of 'Not set' literal object isn't clear, there really should be more of a description here...
NOT_SET,
Constant Field Valuespublic static final int CHRONICLE_VALUE
If the meaning of 'Chronicle' literal object isn't clear, there really should be more of a description here...
CHRONICLE,
Constant Field Valuespublic static final int IMMEDIATE_VALUE
If the meaning of 'Immediate' literal object isn't clear, there really should be more of a description here...
IMMEDIATE,
Constant Field Valuespublic static final int STRICT_VALUE
If the meaning of 'Strict' literal object isn't clear, there really should be more of a description here...
STRICT,
Constant Field Valuespublic static final java.util.List<ContextEnum> VALUES
public static ContextEnum[] values()
for (ContextEnum c : ContextEnum.values()) System.out.println(c);
public static ContextEnum 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 ContextEnum get(java.lang.String literal)
literal - the literal.null.public static ContextEnum getByName(java.lang.String name)
name - the name.null.public static ContextEnum get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<ContextEnum>