public enum KnowledgeLevel extends java.lang.Enum<KnowledgeLevel> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
CONCRETE
The 'CONCRETE' literal object.
|
META
The 'META' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CONCRETE_VALUE
The 'CONCRETE' literal value.
|
static int |
META_VALUE
The 'META' literal value.
|
static java.util.List<KnowledgeLevel> |
VALUES
A public read-only list of all the 'Knowledge Level' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static KnowledgeLevel |
get(int value)
Returns the 'Knowledge Level' literal with the specified integer value.
|
static KnowledgeLevel |
get(java.lang.String literal)
Returns the 'Knowledge Level' literal with the specified literal value.
|
static KnowledgeLevel |
getByName(java.lang.String name)
Returns the 'Knowledge Level' 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 KnowledgeLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KnowledgeLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnowledgeLevel META
META_VALUE
public static final KnowledgeLevel CONCRETE
CONCRETE_VALUE
public static final int META_VALUE
If the meaning of 'META' literal object isn't clear, there really should be more of a description here...
META
,
Constant Field Valuespublic static final int CONCRETE_VALUE
If the meaning of 'CONCRETE' literal object isn't clear, there really should be more of a description here...
CONCRETE
,
Constant Field Valuespublic static final java.util.List<KnowledgeLevel> VALUES
public static KnowledgeLevel[] values()
for (KnowledgeLevel c : KnowledgeLevel.values()) System.out.println(c);
public static KnowledgeLevel 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 KnowledgeLevel get(java.lang.String literal)
literal
- the literal.null
.public static KnowledgeLevel getByName(java.lang.String name)
name
- the name.null
.public static KnowledgeLevel 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<KnowledgeLevel>