org.sintef.mofscript.MOFScriptModel
Class ArithmeticOperator

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.sintef.mofscript.MOFScriptModel.ArithmeticOperator
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class ArithmeticOperator
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'Arithmetic Operator', and utility methods for working with them.

See Also:
MOFScriptModelPackage.getArithmeticOperator()

Field Summary
static int DIV
          The 'DIV' literal value
static ArithmeticOperator DIV_LITERAL
          The 'DIV' literal object
static int MINUS
          The 'MINUS' literal value
static ArithmeticOperator MINUS_LITERAL
          The 'MINUS' literal object
static int MULT
          The 'MULT' literal value
static ArithmeticOperator MULT_LITERAL
          The 'MULT' literal object
static int PLUS
          The 'PLUS' literal value
static ArithmeticOperator PLUS_LITERAL
          The 'PLUS' literal object
static java.util.List 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
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLUS

public static final int PLUS
The 'PLUS' literal value.

If the meaning of 'PLUS' literal object isn't clear, there really should be more of a description here...

See Also:
PLUS_LITERAL, Constant Field Values

MINUS

public static final int MINUS
The 'MINUS' literal value.

If the meaning of 'MINUS' literal object isn't clear, there really should be more of a description here...

See Also:
MINUS_LITERAL, Constant Field Values

MULT

public static final int MULT
The 'MULT' literal value.

If the meaning of 'MULT' literal object isn't clear, there really should be more of a description here...

See Also:
MULT_LITERAL, Constant Field Values

DIV

public static final int DIV
The 'DIV' literal value.

If the meaning of 'DIV' literal object isn't clear, there really should be more of a description here...

See Also:
DIV_LITERAL, Constant Field Values

PLUS_LITERAL

public static final ArithmeticOperator PLUS_LITERAL
The 'PLUS' literal object.

See Also:
PLUS

MINUS_LITERAL

public static final ArithmeticOperator MINUS_LITERAL
The 'MINUS' literal object.

See Also:
MINUS

MULT_LITERAL

public static final ArithmeticOperator MULT_LITERAL
The 'MULT' literal object.

See Also:
MULT

DIV_LITERAL

public static final ArithmeticOperator DIV_LITERAL
The 'DIV' literal object.

See Also:
DIV

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Arithmetic Operator' enumerators.

Method Detail

get

public static ArithmeticOperator get(java.lang.String literal)
Returns the 'Arithmetic Operator' literal with the specified literal value.


getByName

public static ArithmeticOperator getByName(java.lang.String name)
Returns the 'Arithmetic Operator' literal with the specified name.


get

public static ArithmeticOperator get(int value)
Returns the 'Arithmetic Operator' literal with the specified integer value.