public enum ModuleModeKind extends Enum<ModuleModeKind> implements org.eclipse.emf.common.util.Enumerator
DoorsPackage.getModuleModeKind()
Enum Constant and Description |
---|
CLOSE_LITERAL
The 'Close' literal object.
|
EDIT_LITERAL
The 'Edit' literal object.
|
READ_LITERAL
The 'Read' literal object.
|
SHARE_LITERAL
The 'Share' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CLOSE
The 'Close' literal value.
|
static int |
EDIT
The 'Edit' literal value.
|
static int |
READ
The 'Read' literal value.
|
static int |
SHARE
The 'Share' literal value.
|
static List<ModuleModeKind> |
VALUES
A public read-only list of all the 'Module Mode Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ModuleModeKind |
get(int value)
Returns the 'Module Mode Kind' literal with the specified integer value.
|
static ModuleModeKind |
get(String literal)
Returns the 'Module Mode Kind' literal with the specified literal value.
|
static ModuleModeKind |
getByName(String name)
Returns the 'Module Mode 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 ModuleModeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleModeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleModeKind CLOSE_LITERAL
CLOSE
public static final ModuleModeKind READ_LITERAL
READ
public static final ModuleModeKind SHARE_LITERAL
SHARE
public static final ModuleModeKind EDIT_LITERAL
EDIT
public static final int CLOSE
CLOSE_LITERAL
,
Constant Field Valuespublic static final int READ
READ_LITERAL
,
Constant Field Valuespublic static final int SHARE
SHARE_LITERAL
,
Constant Field Valuespublic static final int EDIT
EDIT_LITERAL
,
Constant Field Valuespublic static final List<ModuleModeKind> VALUES
public static ModuleModeKind[] values()
for (ModuleModeKind c : ModuleModeKind.values()) System.out.println(c);
public static ModuleModeKind 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 ModuleModeKind get(String literal)
literal
- the literal.null
.public static ModuleModeKind getByName(String name)
name
- the name.null
.public static ModuleModeKind 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<ModuleModeKind>