|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArithmeticOperator>
org.eclipse.mofscript.MOFScriptModel.ArithmeticOperator
public enum ArithmeticOperator
A representation of the literals of the enumeration 'Arithmetic Operator', and utility methods for working with them.
MOFScriptModelPackage.getArithmeticOperator()
Enum Constant Summary | |
---|---|
DIV_LITERAL
The 'DIV' literal object |
|
MINUS_LITERAL
The 'MINUS' literal object |
|
MULT_LITERAL
The 'MULT' literal object |
|
PLUS_LITERAL
The 'PLUS' literal object |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
DIV
The 'DIV' literal value |
static int |
MINUS
The 'MINUS' literal value |
static int |
MULT
The 'MULT' literal value |
static int |
PLUS
The 'PLUS' literal value |
static java.util.List<ArithmeticOperator> |
VALUES
A public read-only list of all the 'Arithmetic Operator' enumerators |
Method Summary | |
---|---|
static ArithmeticOperator |
get(int value)
Returns the 'Arithmetic Operator' literal with the specified integer value |
static ArithmeticOperator |
get(java.lang.String literal)
Returns the 'Arithmetic Operator' literal with the specified literal value |
static ArithmeticOperator |
getByName(java.lang.String name)
Returns the 'Arithmetic 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 ArithmeticOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArithmeticOperator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArithmeticOperator PLUS_LITERAL
PLUS
public static final ArithmeticOperator MINUS_LITERAL
MINUS
public static final ArithmeticOperator MULT_LITERAL
MULT
public static final ArithmeticOperator DIV_LITERAL
DIV
Field Detail |
---|
public static final java.lang.String copyright
public static final int PLUS
If the meaning of 'PLUS' literal object isn't clear, there really should be more of a description here...
PLUS_LITERAL
,
Constant Field Valuespublic static final int MINUS
If the meaning of 'MINUS' literal object isn't clear, there really should be more of a description here...
MINUS_LITERAL
,
Constant Field Valuespublic static final int MULT
If the meaning of 'MULT' literal object isn't clear, there really should be more of a description here...
MULT_LITERAL
,
Constant Field Valuespublic static final int DIV
If the meaning of 'DIV' literal object isn't clear, there really should be more of a description here...
DIV_LITERAL
,
Constant Field Valuespublic static final java.util.List<ArithmeticOperator> VALUES
Method Detail |
---|
public static ArithmeticOperator[] values()
for (ArithmeticOperator c : ArithmeticOperator.values()) System.out.println(c);
public static ArithmeticOperator 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 name
java.lang.NullPointerException
- if the argument is nullpublic static ArithmeticOperator get(java.lang.String literal)
public static ArithmeticOperator getByName(java.lang.String name)
public static ArithmeticOperator get(int value)
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<ArithmeticOperator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |