public enum CreatedThruKind extends Enum<CreatedThruKind> implements org.eclipse.emf.common.util.Enumerator
DoorsPackage.getCreatedThruKind()
Enum Constant and Description |
---|
COPYING_LITERAL
The 'Copying' literal object.
|
EXTRACTING_LITERAL
The 'Extracting' literal object.
|
MANUAL_INPUT_LITERAL
The 'Manual Input' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
COPYING
The 'Copying' literal value.
|
static int |
EXTRACTING
The 'Extracting' literal value.
|
static int |
MANUAL_INPUT
The 'Manual Input' literal value.
|
static List<CreatedThruKind> |
VALUES
A public read-only list of all the 'Created Thru Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CreatedThruKind |
get(int value)
Returns the 'Created Thru Kind' literal with the specified integer value.
|
static CreatedThruKind |
get(String literal)
Returns the 'Created Thru Kind' literal with the specified literal value.
|
static CreatedThruKind |
getByName(String name)
Returns the 'Created Thru Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static CreatedThruKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreatedThruKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreatedThruKind MANUAL_INPUT_LITERAL
MANUAL_INPUT
public static final CreatedThruKind EXTRACTING_LITERAL
EXTRACTING
public static final CreatedThruKind COPYING_LITERAL
COPYING
public static final int MANUAL_INPUT
MANUAL_INPUT_LITERAL
,
Constant Field Valuespublic static final int EXTRACTING
EXTRACTING_LITERAL
,
Constant Field Valuespublic static final int COPYING
COPYING_LITERAL
,
Constant Field Valuespublic static final List<CreatedThruKind> VALUES
public static CreatedThruKind[] values()
for (CreatedThruKind c : CreatedThruKind.values()) System.out.println(c);
public static CreatedThruKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CreatedThruKind get(String literal)
literal
- the literal.null
.public static CreatedThruKind getByName(String name)
name
- the name.null
.public static CreatedThruKind get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<CreatedThruKind>