public enum ExpansionKind extends java.lang.Enum<ExpansionKind> implements org.eclipse.emf.common.util.Enumerator
From package UML::Actions.
UMLPackage.getExpansionKind()
Enum Constant and Description |
---|
ITERATIVE_LITERAL
The 'Iterative' literal object
|
PARALLEL_LITERAL
The 'Parallel' literal object
|
STREAM_LITERAL
The 'Stream' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
ITERATIVE
The 'Iterative' literal value
|
static int |
PARALLEL
The 'Parallel' literal value
|
static int |
STREAM
The 'Stream' literal value
|
static java.util.List<ExpansionKind> |
VALUES
A public read-only list of all the 'Expansion Kind' enumerators
|
Modifier and Type | Method and Description |
---|---|
static ExpansionKind |
get(int value)
Returns the 'Expansion Kind' literal with the specified integer value
|
static ExpansionKind |
get(java.lang.String literal)
Returns the 'Expansion Kind' literal with the specified literal value
|
static ExpansionKind |
getByName(java.lang.String name)
Returns the 'Expansion Kind' 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 ExpansionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpansionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpansionKind PARALLEL_LITERAL
PARALLEL
public static final ExpansionKind ITERATIVE_LITERAL
ITERATIVE
public static final ExpansionKind STREAM_LITERAL
STREAM
public static final int PARALLEL
PARALLEL_LITERAL
,
Constant Field Valuespublic static final int ITERATIVE
ITERATIVE_LITERAL
,
Constant Field Valuespublic static final int STREAM
STREAM_LITERAL
,
Constant Field Valuespublic static final java.util.List<ExpansionKind> VALUES
public static ExpansionKind[] values()
for (ExpansionKind c : ExpansionKind.values()) System.out.println(c);
public static ExpansionKind 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 ExpansionKind get(java.lang.String literal)
literal
- the literal.null
.public static ExpansionKind getByName(java.lang.String name)
name
- the name.null
.public static ExpansionKind 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<ExpansionKind>