de.uka.ipd.sdq.stoex
Enum CompareOperations

java.lang.Object
  extended by java.lang.Enum<CompareOperations>
      extended by de.uka.ipd.sdq.stoex.CompareOperations
All Implemented Interfaces:
Serializable, Comparable<CompareOperations>

public enum CompareOperations
extends Enum<CompareOperations>

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

See Also:
StoexPackage.getCompareOperations()

Enum Constant Summary
EQUALS
          The 'EQUALS' literal object.
GREATER
          The 'GREATER' literal object.
GREATEREQUAL
          The 'GREATEREQUAL' literal object.
LESS
          The 'LESS' literal object.
LESSEQUAL
          The 'LESSEQUAL' literal object.
NOTEQUAL
          The 'NOTEQUAL' literal object.
 
Field Summary
static String copyright
           
static int EQUALS_VALUE
          The 'EQUALS' literal value.
static int GREATER_VALUE
          The 'GREATER' literal value.
static int GREATEREQUAL_VALUE
          The 'GREATEREQUAL' literal value.
static int LESS_VALUE
          The 'LESS' literal value.
static int LESSEQUAL_VALUE
          The 'LESSEQUAL' literal value.
static int NOTEQUAL_VALUE
          The 'NOTEQUAL' literal value.
static List<CompareOperations> VALUES
          A public read-only list of all the 'Compare Operations' enumerators.
 
Method Summary
static CompareOperations get(int value)
          Returns the 'Compare Operations' literal with the specified integer value.
static CompareOperations get(String literal)
          Returns the 'Compare Operations' literal with the specified literal value.
static CompareOperations getByName(String name)
          Returns the 'Compare Operations' 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 CompareOperations valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompareOperations[] 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

GREATER

public static final CompareOperations GREATER
The 'GREATER' literal object.

See Also:
GREATER_VALUE

EQUALS

public static final CompareOperations EQUALS
The 'EQUALS' literal object.

See Also:
EQUALS_VALUE

LESS

public static final CompareOperations LESS
The 'LESS' literal object.

See Also:
LESS_VALUE

NOTEQUAL

public static final CompareOperations NOTEQUAL
The 'NOTEQUAL' literal object.

See Also:
NOTEQUAL_VALUE

LESSEQUAL

public static final CompareOperations LESSEQUAL
The 'LESSEQUAL' literal object.

See Also:
LESSEQUAL_VALUE

GREATEREQUAL

public static final CompareOperations GREATEREQUAL
The 'GREATEREQUAL' literal object.

See Also:
GREATEREQUAL_VALUE
Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

GREATER_VALUE

public static final int GREATER_VALUE
The 'GREATER' literal value.

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

See Also:
GREATER, Constant Field Values

EQUALS_VALUE

public static final int EQUALS_VALUE
The 'EQUALS' literal value.

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

See Also:
EQUALS, Constant Field Values

LESS_VALUE

public static final int LESS_VALUE
The 'LESS' literal value.

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

See Also:
LESS, Constant Field Values

NOTEQUAL_VALUE

public static final int NOTEQUAL_VALUE
The 'NOTEQUAL' literal value.

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

See Also:
NOTEQUAL, Constant Field Values

LESSEQUAL_VALUE

public static final int LESSEQUAL_VALUE
The 'LESSEQUAL' literal value.

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

See Also:
LESSEQUAL, Constant Field Values

GREATEREQUAL_VALUE

public static final int GREATEREQUAL_VALUE
The 'GREATEREQUAL' literal value.

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

See Also:
GREATEREQUAL, Constant Field Values

VALUES

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

Method Detail

values

public static CompareOperations[] 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 (CompareOperations c : CompareOperations.values())
    System.out.println(c);

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

valueOf

public static CompareOperations 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 CompareOperations get(String literal)
Returns the 'Compare Operations' literal with the specified literal value.


getByName

public static CompareOperations getByName(String name)
Returns the 'Compare Operations' literal with the specified name.


get

public static CompareOperations get(int value)
Returns the 'Compare Operations' literal with the specified integer value.


getValue

public int getValue()


getName

public String getName()


getLiteral

public String getLiteral()


toString

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

Overrides:
toString in class Enum<CompareOperations>