public enum TermCategory extends Enum<TermCategory> implements Enumerator
GlossaryPackage.getTermCategory()| Enum Constant and Description |
|---|
GOBJECT
The 'GOBJECT' literal object.
|
GVERB
The 'GVERB' literal object.
|
KEYWORD
The 'KEYWORD' literal object.
|
OTHER
The 'OTHER' literal object.
|
QUESTION
The 'QUESTION' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GOBJECT_VALUE
The 'GOBJECT' literal value.
|
static int |
GVERB_VALUE
The 'GVERB' literal value.
|
static int |
KEYWORD_VALUE
The 'KEYWORD' literal value.
|
static int |
OTHER_VALUE
The 'OTHER' literal value.
|
static int |
QUESTION_VALUE
The 'QUESTION' literal value.
|
static List<TermCategory> |
VALUES
A public read-only list of all the 'Term Category' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static TermCategory |
get(int value)
Returns the 'Term Category' literal with the specified integer value.
|
static TermCategory |
get(String literal)
Returns the 'Term Category' literal with the specified literal value.
|
static TermCategory |
getByName(String name)
Returns the 'Term Category' 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 TermCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermCategory KEYWORD
KEYWORD_VALUEpublic static final TermCategory GVERB
GVERB_VALUEpublic static final TermCategory GOBJECT
GOBJECT_VALUEpublic static final TermCategory QUESTION
QUESTION_VALUEpublic static final TermCategory OTHER
OTHER_VALUEpublic static final int KEYWORD_VALUE
If the meaning of 'KEYWORD' literal object isn't clear, there really should be more of a description here...
KEYWORD,
Constant Field Valuespublic static final int GVERB_VALUE
If the meaning of 'GVERB' literal object isn't clear, there really should be more of a description here...
GVERB,
Constant Field Valuespublic static final int GOBJECT_VALUE
If the meaning of 'GOBJECT' literal object isn't clear, there really should be more of a description here...
GOBJECT,
Constant Field Valuespublic static final int QUESTION_VALUE
If the meaning of 'QUESTION' literal object isn't clear, there really should be more of a description here...
QUESTION,
Constant Field Valuespublic static final int OTHER_VALUE
If the meaning of 'OTHER' literal object isn't clear, there really should be more of a description here...
OTHER,
Constant Field Valuespublic static final List<TermCategory> VALUES
public static TermCategory[] values()
for (TermCategory c : TermCategory.values()) System.out.println(c);
public static TermCategory 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 TermCategory get(String literal)
literal - the literal.null.public static TermCategory getByName(String name)
name - the name.null.public static TermCategory get(int value)
value - the integer value.null.public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<TermCategory>