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