public enum ObjectKind extends Enum<ObjectKind> implements org.eclipse.emf.common.util.Enumerator
DoorsPackage.getObjectKind()
Enum Constant and Description |
---|
CELL_LITERAL
The 'Cell' literal object.
|
DEFAULT_LITERAL
The 'Default' literal object.
|
ROW_LITERAL
The 'Row' literal object.
|
TABLE_LITERAL
The 'Table' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CELL
The 'Cell' literal value.
|
static int |
DEFAULT
The 'Default' literal value.
|
static int |
ROW
The 'Row' literal value.
|
static int |
TABLE
The 'Table' literal value.
|
static List<ObjectKind> |
VALUES
A public read-only list of all the 'Object Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ObjectKind |
get(int value)
Returns the 'Object Kind' literal with the specified integer value.
|
static ObjectKind |
get(String literal)
Returns the 'Object Kind' literal with the specified literal value.
|
static ObjectKind |
getByName(String name)
Returns the 'Object 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 ObjectKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectKind DEFAULT_LITERAL
DEFAULT
public static final ObjectKind TABLE_LITERAL
TABLE
public static final ObjectKind ROW_LITERAL
ROW
public static final ObjectKind CELL_LITERAL
CELL
public static final int DEFAULT
DEFAULT_LITERAL
,
Constant Field Valuespublic static final int TABLE
TABLE_LITERAL
,
Constant Field Valuespublic static final int ROW
ROW_LITERAL
,
Constant Field Valuespublic static final int CELL
CELL_LITERAL
,
Constant Field Valuespublic static final List<ObjectKind> VALUES
public static ObjectKind[] values()
for (ObjectKind c : ObjectKind.values()) System.out.println(c);
public static ObjectKind 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 ObjectKind get(String literal)
literal
- the literal.null
.public static ObjectKind getByName(String name)
name
- the name.null
.public static ObjectKind 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<ObjectKind>