public enum UnaryOperator extends java.lang.Enum<UnaryOperator> implements org.eclipse.emf.common.util.Enumerator
DatavaluePackage.getUnaryOperator()| Enum Constant and Description |
|---|
NOT
The 'NOT' literal object.
|
POS
The 'POS' literal object.
|
PRE
The 'PRE' literal object.
|
SUC
The 'SUC' literal object.
|
UNSET
The 'UNSET' literal object.
|
VAL
The 'VAL' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NOT_VALUE
The 'NOT' literal value.
|
static int |
POS_VALUE
The 'POS' literal value.
|
static int |
PRE_VALUE
The 'PRE' literal value.
|
static int |
SUC_VALUE
The 'SUC' literal value.
|
static int |
UNSET_VALUE
The 'UNSET' literal value.
|
static int |
VAL_VALUE
The 'VAL' literal value.
|
static java.util.List<UnaryOperator> |
VALUES
A public read-only list of all the 'Unary Operator' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperator |
get(int value)
Returns the 'Unary Operator' literal with the specified integer value.
|
static UnaryOperator |
get(java.lang.String literal)
Returns the 'Unary Operator' literal with the specified literal value.
|
static UnaryOperator |
getByName(java.lang.String name)
Returns the 'Unary Operator' 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 UnaryOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperator UNSET
UNSET_VALUEpublic static final UnaryOperator NOT
NOT_VALUEpublic static final UnaryOperator POS
POS_VALUEpublic static final UnaryOperator VAL
VAL_VALUEpublic static final UnaryOperator SUC
SUC_VALUEpublic static final UnaryOperator PRE
PRE_VALUEpublic static final int UNSET_VALUE
If the meaning of 'UNSET' literal object isn't clear, there really should be more of a description here...
UNSET,
Constant Field Valuespublic static final int NOT_VALUE
If the meaning of 'NOT' literal object isn't clear, there really should be more of a description here...
NOT,
Constant Field Valuespublic static final int POS_VALUE
If the meaning of 'POS' literal object isn't clear, there really should be more of a description here...
POS,
Constant Field Valuespublic static final int VAL_VALUE
If the meaning of 'VAL' literal object isn't clear, there really should be more of a description here...
VAL,
Constant Field Valuespublic static final int SUC_VALUE
If the meaning of 'SUC' literal object isn't clear, there really should be more of a description here...
SUC,
Constant Field Valuespublic static final int PRE_VALUE
If the meaning of 'PRE' literal object isn't clear, there really should be more of a description here...
PRE,
Constant Field Valuespublic static final java.util.List<UnaryOperator> VALUES
public static UnaryOperator[] values()
for (UnaryOperator c : UnaryOperator.values()) System.out.println(c);
public static UnaryOperator 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 UnaryOperator get(java.lang.String literal)
literal - the literal.null.public static UnaryOperator getByName(java.lang.String name)
name - the name.null.public static UnaryOperator get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<UnaryOperator>