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