de.cau.cs.kieler.krep.editors.klp.klp
Enum Operator

java.lang.Object
  extended by java.lang.Enum<Operator>
      extended by de.cau.cs.kieler.krep.editors.klp.klp.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, Enumerator

public enum Operator
extends Enum<Operator>
implements Enumerator

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

See Also:
KlpPackage.getOperator()
Rating red
Generated:
This code was automatically generated.
Model element

Enum Constant Summary
ADD
          The 'Add' literal object.
AND
          The 'And' literal object.
DIV
          The 'Div' literal object.
EQ
          The 'Eq' literal object.
GE
          The 'Ge' literal object.
GT
          The 'Gt' literal object.
IADD
          The 'Iadd' literal object.
IAND
          The 'Iand' literal object.
IDIV
          The 'Idiv' literal object.
IEQ
          The 'Ieq' literal object.
IGE
          The 'Ige' literal object.
IGT
          The 'Igt' literal object.
ILE
          The 'Ile' literal object.
ILT
          The 'Ilt' literal object.
IMUL
          The 'Imul' literal object.
INEQ
          The 'Ineq' literal object.
IOR
          The 'Ior' literal object.
ISUB
          The 'Isub' literal object.
IXOR
          The 'Ixor' literal object.
LE
          The 'Le' literal object.
LT
          The 'Lt' literal object.
MUL
          The 'Mul' literal object.
NEQ
          The 'Neq' literal object.
OR
          The 'Or' literal object.
SUB
          The 'Sub' literal object.
XOR
          The 'Xor' literal object.
 
Field Summary
static int ADD_VALUE
          The 'Add' literal value.
static int AND_VALUE
          The 'And' literal value.
static int DIV_VALUE
          The 'Div' literal value.
static int EQ_VALUE
          The 'Eq' literal value.
static int GE_VALUE
          The 'Ge' literal value.
static int GT_VALUE
          The 'Gt' literal value.
static int IADD_VALUE
          The 'Iadd' literal value.
static int IAND_VALUE
          The 'Iand' literal value.
static int IDIV_VALUE
          The 'Idiv' literal value.
static int IEQ_VALUE
          The 'Ieq' literal value.
static int IGE_VALUE
          The 'Ige' literal value.
static int IGT_VALUE
          The 'Igt' literal value.
static int ILE_VALUE
          The 'Ile' literal value.
static int ILT_VALUE
          The 'Ilt' literal value.
static int IMUL_VALUE
          The 'Imul' literal value.
static int INEQ_VALUE
          The 'Ineq' literal value.
static int IOR_VALUE
          The 'Ior' literal value.
static int ISUB_VALUE
          The 'Isub' literal value.
static int IXOR_VALUE
          The 'Ixor' literal value.
static int LE_VALUE
          The 'Le' literal value.
static int LT_VALUE
          The 'Lt' literal value.
static int MUL_VALUE
          The 'Mul' literal value.
static int NEQ_VALUE
          The 'Neq' literal value.
static int OR_VALUE
          The 'Or' literal value.
static int SUB_VALUE
          The 'Sub' literal value.
static List<Operator> VALUES
          A public read-only list of all the 'Operator' enumerators.
static int XOR_VALUE
          The 'Xor' literal value.
 
Method Summary
static Operator get(int value)
          Returns the 'Operator' literal with the specified integer value.
static Operator get(String literal)
          Returns the 'Operator' literal with the specified literal value.
static Operator getByName(String name)
          Returns the 'Operator' 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 Operator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Operator[] 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

ADD

public static final Operator ADD
The 'Add' literal object.

See Also:
ADD_VALUE
Generated:
This code was automatically generated.
Ordered

IADD

public static final Operator IADD
The 'Iadd' literal object.

See Also:
IADD_VALUE
Generated:
This code was automatically generated.
Ordered

SUB

public static final Operator SUB
The 'Sub' literal object.

See Also:
SUB_VALUE
Generated:
This code was automatically generated.
Ordered

MUL

public static final Operator MUL
The 'Mul' literal object.

See Also:
MUL_VALUE
Generated:
This code was automatically generated.
Ordered

DIV

public static final Operator DIV
The 'Div' literal object.

See Also:
DIV_VALUE
Generated:
This code was automatically generated.
Ordered

AND

public static final Operator AND
The 'And' literal object.

See Also:
AND_VALUE
Generated:
This code was automatically generated.
Ordered

OR

public static final Operator OR
The 'Or' literal object.

See Also:
OR_VALUE
Generated:
This code was automatically generated.
Ordered

XOR

public static final Operator XOR
The 'Xor' literal object.

See Also:
XOR_VALUE
Generated:
This code was automatically generated.
Ordered

LT

public static final Operator LT
The 'Lt' literal object.

See Also:
LT_VALUE
Generated:
This code was automatically generated.
Ordered

LE

public static final Operator LE
The 'Le' literal object.

See Also:
LE_VALUE
Generated:
This code was automatically generated.
Ordered

EQ

public static final Operator EQ
The 'Eq' literal object.

See Also:
EQ_VALUE
Generated:
This code was automatically generated.
Ordered

GE

public static final Operator GE
The 'Ge' literal object.

See Also:
GE_VALUE
Generated:
This code was automatically generated.
Ordered

GT

public static final Operator GT
The 'Gt' literal object.

See Also:
GT_VALUE
Generated:
This code was automatically generated.
Ordered

NEQ

public static final Operator NEQ
The 'Neq' literal object.

See Also:
NEQ_VALUE
Generated:
This code was automatically generated.
Ordered

ISUB

public static final Operator ISUB
The 'Isub' literal object.

See Also:
ISUB_VALUE
Generated:
This code was automatically generated.
Ordered

IMUL

public static final Operator IMUL
The 'Imul' literal object.

See Also:
IMUL_VALUE
Generated:
This code was automatically generated.
Ordered

IDIV

public static final Operator IDIV
The 'Idiv' literal object.

See Also:
IDIV_VALUE
Generated:
This code was automatically generated.
Ordered

IAND

public static final Operator IAND
The 'Iand' literal object.

See Also:
IAND_VALUE
Generated:
This code was automatically generated.
Ordered

IOR

public static final Operator IOR
The 'Ior' literal object.

See Also:
IOR_VALUE
Generated:
This code was automatically generated.
Ordered

IXOR

public static final Operator IXOR
The 'Ixor' literal object.

See Also:
IXOR_VALUE
Generated:
This code was automatically generated.
Ordered

ILT

public static final Operator ILT
The 'Ilt' literal object.

See Also:
ILT_VALUE
Generated:
This code was automatically generated.
Ordered

ILE

public static final Operator ILE
The 'Ile' literal object.

See Also:
ILE_VALUE
Generated:
This code was automatically generated.
Ordered

IEQ

public static final Operator IEQ
The 'Ieq' literal object.

See Also:
IEQ_VALUE
Generated:
This code was automatically generated.
Ordered

IGE

public static final Operator IGE
The 'Ige' literal object.

See Also:
IGE_VALUE
Generated:
This code was automatically generated.
Ordered

IGT

public static final Operator IGT
The 'Igt' literal object.

See Also:
IGT_VALUE
Generated:
This code was automatically generated.
Ordered

INEQ

public static final Operator INEQ
The 'Ineq' literal object.

See Also:
INEQ_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

ADD_VALUE

public static final int ADD_VALUE
The 'Add' literal value.

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

See Also:
ADD, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=add
literal=ADD
Ordered

IADD_VALUE

public static final int IADD_VALUE
The 'Iadd' literal value.

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

See Also:
IADD, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=iadd
literal=IADD
Ordered

SUB_VALUE

public static final int SUB_VALUE
The 'Sub' literal value.

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

See Also:
SUB, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=sub
literal=SUB
Ordered

MUL_VALUE

public static final int MUL_VALUE
The 'Mul' literal value.

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

See Also:
MUL, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=mul
literal=MUL
Ordered

DIV_VALUE

public static final int DIV_VALUE
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, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=div
literal=DIV
Ordered

AND_VALUE

public static final int AND_VALUE
The 'And' literal value.

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

See Also:
AND, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=and
literal=AND
Ordered

OR_VALUE

public static final int OR_VALUE
The 'Or' literal value.

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

See Also:
OR, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=or
literal=OR
Ordered

XOR_VALUE

public static final int XOR_VALUE
The 'Xor' literal value.

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

See Also:
XOR, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=xor
literal=XOR
Ordered

LT_VALUE

public static final int LT_VALUE
The 'Lt' literal value.

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

See Also:
LT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=lt
literal=LT
Ordered

LE_VALUE

public static final int LE_VALUE
The 'Le' literal value.

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

See Also:
LE, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=le
literal=LE
Ordered

EQ_VALUE

public static final int EQ_VALUE
The 'Eq' literal value.

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

See Also:
EQ, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=eq
literal=EQ
Ordered

GE_VALUE

public static final int GE_VALUE
The 'Ge' literal value.

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

See Also:
GE, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ge
literal=GE
Ordered

GT_VALUE

public static final int GT_VALUE
The 'Gt' literal value.

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

See Also:
GT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=gt
literal=GT
Ordered

NEQ_VALUE

public static final int NEQ_VALUE
The 'Neq' literal value.

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

See Also:
NEQ, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=neq
literal=NEQ
Ordered

ISUB_VALUE

public static final int ISUB_VALUE
The 'Isub' literal value.

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

See Also:
ISUB, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=isub
literal=ISUB
Ordered

IMUL_VALUE

public static final int IMUL_VALUE
The 'Imul' literal value.

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

See Also:
IMUL, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=imul
literal=IMUL
Ordered

IDIV_VALUE

public static final int IDIV_VALUE
The 'Idiv' literal value.

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

See Also:
IDIV, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=idiv
literal=IDIV
Ordered

IAND_VALUE

public static final int IAND_VALUE
The 'Iand' literal value.

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

See Also:
IAND, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=iand
literal=IAND
Ordered

IOR_VALUE

public static final int IOR_VALUE
The 'Ior' literal value.

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

See Also:
IOR, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ior
literal=IOR
Ordered

IXOR_VALUE

public static final int IXOR_VALUE
The 'Ixor' literal value.

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

See Also:
IXOR, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ixor
literal=IXOR
Ordered

ILT_VALUE

public static final int ILT_VALUE
The 'Ilt' literal value.

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

See Also:
ILT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ilt
literal=ILT
Ordered

ILE_VALUE

public static final int ILE_VALUE
The 'Ile' literal value.

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

See Also:
ILE, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ile
literal=ILE
Ordered

IEQ_VALUE

public static final int IEQ_VALUE
The 'Ieq' literal value.

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

See Also:
IEQ, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ieq
literal=IEQ
Ordered

IGE_VALUE

public static final int IGE_VALUE
The 'Ige' literal value.

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

See Also:
IGE, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ige
literal=IGE
Ordered

IGT_VALUE

public static final int IGT_VALUE
The 'Igt' literal value.

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

See Also:
IGT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=igt
literal=IGT
Ordered

INEQ_VALUE

public static final int INEQ_VALUE
The 'Ineq' literal value.

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

See Also:
INEQ, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ineq
literal=INEQ
Ordered

VALUES

public static final List<Operator> VALUES
A public read-only list of all the 'Operator' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

public static Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Operator c : Operator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static Operator get(String literal)
Returns the 'Operator' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static Operator getByName(String name)
Returns the 'Operator' literal with the specified name.

Generated:
This code was automatically generated.

get

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

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<Operator>
Generated:
This code was automatically generated.