se.cambio.cds.gdl.model.expression
Enum OperatorKind

Package class diagram package OperatorKind
java.lang.Object
  extended by java.lang.Enum<OperatorKind>
      extended by se.cambio.cds.gdl.model.expression.OperatorKind
All Implemented Interfaces:
Serializable, Comparable<OperatorKind>

public enum OperatorKind
extends Enum<OperatorKind>


Enum Constant Summary
ADDITION
          Arithmetic operators
AND
          Logical operators
ASSIGNMENT
          Assignment operator
DIVISION
           
EQUALITY
          Relational operators
EXPONENT
           
FOR_ALL
          Conditional operators
GREATER_THAN
           
GREATER_THAN_OR_EQUAL
           
INEQUAL
           
IS_A
          Terminological reasoning
IS_NOT_A
           
LESS_THAN
           
LESS_THAN_OR_EQUAL
           
MULTIPLICATION
           
NOT
           
OR
           
SUBSTRATION
           
 
Method Summary
 String getName()
           
 String getSymbol()
           
 String toString()
           
static OperatorKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperatorKind[] 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

ADDITION

public static final OperatorKind ADDITION
Arithmetic operators


SUBSTRATION

public static final OperatorKind SUBSTRATION

MULTIPLICATION

public static final OperatorKind MULTIPLICATION

DIVISION

public static final OperatorKind DIVISION

EXPONENT

public static final OperatorKind EXPONENT

AND

public static final OperatorKind AND
Logical operators


OR

public static final OperatorKind OR

NOT

public static final OperatorKind NOT

EQUALITY

public static final OperatorKind EQUALITY
Relational operators


INEQUAL

public static final OperatorKind INEQUAL

LESS_THAN

public static final OperatorKind LESS_THAN

LESS_THAN_OR_EQUAL

public static final OperatorKind LESS_THAN_OR_EQUAL

GREATER_THAN

public static final OperatorKind GREATER_THAN

GREATER_THAN_OR_EQUAL

public static final OperatorKind GREATER_THAN_OR_EQUAL

ASSIGNMENT

public static final OperatorKind ASSIGNMENT
Assignment operator


IS_A

public static final OperatorKind IS_A
Terminological reasoning


IS_NOT_A

public static final OperatorKind IS_NOT_A

FOR_ALL

public static final OperatorKind FOR_ALL
Conditional operators

Method Detail

values

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

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

valueOf

public static OperatorKind 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

getName

public String getName()

getSymbol

public String getSymbol()

toString

public String toString()
Overrides:
toString in class Enum<OperatorKind>


Copyright © 2013 Cambio. All Rights Reserved.