public enum ExecutionType extends java.lang.Enum<ExecutionType> implements org.eclipse.emf.common.util.Enumerator
PatternLanguagePackage.getExecutionType()
Enum Constant and Description |
---|
INCREMENTAL
The 'Incremental' literal object.
|
SEARCH
The 'Search' literal object.
|
UNSPECIFIED
The 'Unspecified' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
INCREMENTAL_VALUE
The 'Incremental' literal value.
|
static int |
SEARCH_VALUE
The 'Search' literal value.
|
static int |
UNSPECIFIED_VALUE
The 'Unspecified' literal value.
|
static java.util.List<ExecutionType> |
VALUES
A public read-only list of all the 'Execution Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionType |
get(int value)
Returns the 'Execution Type' literal with the specified integer value.
|
static ExecutionType |
get(java.lang.String literal)
Returns the 'Execution Type' literal with the specified literal value.
|
static ExecutionType |
getByName(java.lang.String name)
Returns the 'Execution 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 ExecutionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionType UNSPECIFIED
UNSPECIFIED_VALUE
public static final ExecutionType SEARCH
SEARCH_VALUE
public static final ExecutionType INCREMENTAL
INCREMENTAL_VALUE
public static final int UNSPECIFIED_VALUE
If the meaning of 'Unspecified' literal object isn't clear, there really should be more of a description here...
UNSPECIFIED
,
Constant Field Valuespublic static final int SEARCH_VALUE
If the meaning of 'Search' literal object isn't clear, there really should be more of a description here...
SEARCH
,
Constant Field Valuespublic static final int INCREMENTAL_VALUE
If the meaning of 'Incremental' literal object isn't clear, there really should be more of a description here...
INCREMENTAL
,
Constant Field Valuespublic static final java.util.List<ExecutionType> VALUES
public static ExecutionType[] values()
for (ExecutionType c : ExecutionType.values()) System.out.println(c);
public static ExecutionType 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 ExecutionType get(java.lang.String literal)
literal
- the literal.null
.public static ExecutionType getByName(java.lang.String name)
name
- the name.null
.public static ExecutionType 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<ExecutionType>