public enum Influence extends Enum<Influence> implements org.eclipse.emf.common.util.Enumerator
SmmPackage.getInfluence()| Enum Constant and Description |
|---|
NEGATIVE
The 'Negative' literal object.
|
POSITIVE
The 'Positive' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NEGATIVE_VALUE
The 'Negative' literal value.
|
static int |
POSITIVE_VALUE
The 'Positive' literal value.
|
static List<Influence> |
VALUES
A public read-only list of all the 'Influence' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Influence |
get(int value)
Returns the 'Influence' literal with the specified integer value.
|
static Influence |
get(String literal)
Returns the 'Influence' literal with the specified literal value.
|
static Influence |
getByName(String name)
Returns the 'Influence' 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 Influence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Influence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Influence POSITIVE
POSITIVE_VALUEpublic static final Influence NEGATIVE
NEGATIVE_VALUEpublic static final int POSITIVE_VALUE
POSITIVE,
Constant Field Valuespublic static final int NEGATIVE_VALUE
NEGATIVE,
Constant Field Valuespublic static Influence[] values()
for (Influence c : Influence.values()) System.out.println(c);
public static Influence 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 Influence get(String literal)
literal - the literal.null.public static Influence getByName(String name)
name - the name.null.public static Influence get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.EnumeratorCopyright © 2018–2020 Atlanmod. All rights reserved.