public enum TermInfluenceProperty extends Enum<TermInfluenceProperty> implements Enumerator
GlossaryPackage.getTermInfluenceProperty()
Enum Constant and Description |
---|
NEGATIVE
The 'Negative' literal object.
|
NEUTRAL
The 'Neutral' literal object.
|
POSITIVE
The 'Positive' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
NEGATIVE_VALUE
The 'Negative' literal value.
|
static int |
NEUTRAL_VALUE
The 'Neutral' literal value.
|
static int |
POSITIVE_VALUE
The 'Positive' literal value.
|
static List<TermInfluenceProperty> |
VALUES
A public read-only list of all the 'Term Influence Property' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static TermInfluenceProperty |
get(int value)
Returns the 'Term Influence Property' literal with the specified integer value.
|
static TermInfluenceProperty |
get(String literal)
Returns the 'Term Influence Property' literal with the specified literal value.
|
static TermInfluenceProperty |
getByName(String name)
Returns the 'Term Influence Property' 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 TermInfluenceProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermInfluenceProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermInfluenceProperty NEUTRAL
NEUTRAL_VALUE
public static final TermInfluenceProperty POSITIVE
POSITIVE_VALUE
public static final TermInfluenceProperty NEGATIVE
NEGATIVE_VALUE
public static final int NEUTRAL_VALUE
If the meaning of 'Neutral' literal object isn't clear, there really should be more of a description here...
NEUTRAL
,
Constant Field Valuespublic static final int POSITIVE_VALUE
If the meaning of 'Positive' literal object isn't clear, there really should be more of a description here...
POSITIVE
,
Constant Field Valuespublic static final int NEGATIVE_VALUE
If the meaning of 'Negative' literal object isn't clear, there really should be more of a description here...
NEGATIVE
,
Constant Field Valuespublic static final List<TermInfluenceProperty> VALUES
public static TermInfluenceProperty[] values()
for (TermInfluenceProperty c : TermInfluenceProperty.values()) System.out.println(c);
public static TermInfluenceProperty 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 TermInfluenceProperty get(String literal)
literal
- the literal.null
.public static TermInfluenceProperty getByName(String name)
name
- the name.null
.public static TermInfluenceProperty get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<TermInfluenceProperty>