public enum BinaryFunctor extends Enum<BinaryFunctor> implements org.eclipse.emf.common.util.Enumerator
SmmPackage.getBinaryFunctor()| Enum Constant and Description |
|---|
CUSTOM
The 'Custom' literal object.
|
DIVIDE
The 'Divide' literal object.
|
MINUS
The 'Minus' literal object.
|
MULTIPLY
The 'Multiply' literal object.
|
PLUS
The 'Plus' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_VALUE
The 'Custom' literal value.
|
static int |
DIVIDE_VALUE
The 'Divide' literal value.
|
static int |
MINUS_VALUE
The 'Minus' literal value.
|
static int |
MULTIPLY_VALUE
The 'Multiply' literal value.
|
static int |
PLUS_VALUE
The 'Plus' literal value.
|
static List<BinaryFunctor> |
VALUES
A public read-only list of all the 'Binary Functor' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static BinaryFunctor |
get(int value)
Returns the 'Binary Functor' literal with the specified integer value.
|
static BinaryFunctor |
get(String literal)
Returns the 'Binary Functor' literal with the specified literal value.
|
static BinaryFunctor |
getByName(String name)
Returns the 'Binary Functor' 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 BinaryFunctor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryFunctor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryFunctor PLUS
PLUS_VALUEpublic static final BinaryFunctor MINUS
MINUS_VALUEpublic static final BinaryFunctor MULTIPLY
MULTIPLY_VALUEpublic static final BinaryFunctor DIVIDE
DIVIDE_VALUEpublic static final BinaryFunctor CUSTOM
CUSTOM_VALUEpublic static final int PLUS_VALUE
PLUS,
Constant Field Valuespublic static final int MINUS_VALUE
MINUS,
Constant Field Valuespublic static final int MULTIPLY_VALUE
MULTIPLY,
Constant Field Valuespublic static final int DIVIDE_VALUE
DIVIDE,
Constant Field Valuespublic static final int CUSTOM_VALUE
CUSTOM,
Constant Field Valuespublic static final List<BinaryFunctor> VALUES
public static BinaryFunctor[] values()
for (BinaryFunctor c : BinaryFunctor.values()) System.out.println(c);
public static BinaryFunctor 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 BinaryFunctor get(String literal)
literal - the literal.null.public static BinaryFunctor getByName(String name)
name - the name.null.public static BinaryFunctor 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.Enumeratorpublic String toString()
toString in class Enum<BinaryFunctor>Copyright © 2018–2020 Atlanmod. All rights reserved.