public enum TypeClassKind extends Enum<TypeClassKind> implements org.eclipse.emf.common.util.Enumerator
IntegrityPackage.getTypeClassKind()
Enum Constant and Description |
---|
NODE
The 'Node' literal object.
|
NONE
The 'None' literal object.
|
SEGMENT
The 'Segment' literal object.
|
SHAREDITEM
The 'Shareditem' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
NODE_VALUE
The 'Node' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
SEGMENT_VALUE
The 'Segment' literal value.
|
static int |
SHAREDITEM_VALUE
The 'Shareditem' literal value.
|
static List<TypeClassKind> |
VALUES
A public read-only list of all the 'Type Class Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static TypeClassKind |
get(int value)
Returns the 'Type Class Kind' literal with the specified integer value.
|
static TypeClassKind |
get(String literal)
Returns the 'Type Class Kind' literal with the specified literal value.
|
static TypeClassKind |
getByName(String name)
Returns the 'Type Class 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 TypeClassKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeClassKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeClassKind NONE
NONE_VALUE
public static final TypeClassKind SEGMENT
SEGMENT_VALUE
public static final TypeClassKind NODE
NODE_VALUE
public static final TypeClassKind SHAREDITEM
SHAREDITEM_VALUE
public static final int NONE_VALUE
NONE
,
Constant Field Valuespublic static final int SEGMENT_VALUE
SEGMENT
,
Constant Field Valuespublic static final int NODE_VALUE
NODE
,
Constant Field Valuespublic static final int SHAREDITEM_VALUE
SHAREDITEM
,
Constant Field Valuespublic static final List<TypeClassKind> VALUES
public static TypeClassKind[] values()
for (TypeClassKind c : TypeClassKind.values()) System.out.println(c);
public static TypeClassKind 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 TypeClassKind get(String literal)
literal
- the literal.null
.public static TypeClassKind getByName(String name)
name
- the name.null
.public static TypeClassKind 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<TypeClassKind>