org.knime.base.node.rules
Enum Rule.Operators

java.lang.Object
  extended by java.lang.Enum<Rule.Operators>
      extended by org.knime.base.node.rules.Rule.Operators
All Implemented Interfaces:
Serializable, Comparable<Rule.Operators>
Enclosing class:
Rule

public static enum Rule.Operators
extends Enum<Rule.Operators>

Enumeration for all possible operators used in a rule.

Author:
Thorsten Meinl, University of Konstanz

Enum Constant Summary
AND
          Boolean AND.
EQ
          Numeric or string equal.
GE
          Numeric greater than or equal.
GT
          Numeric greater than.
IN
          Set matching.
LE
          Numeric lower than or equal.
LIKE
          Wildcard matching (* and ? as wildcards).
LT
          Numeric lower than.
MISSING
          Test for missing value.
NOT
          Boolean NOT.
OR
          Boolean OR.
XOR
          Boolean XOR.
 
Method Summary
 String toString()
          
static Rule.Operators valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Rule.Operators[] 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

GT

public static final Rule.Operators GT
Numeric greater than.


LT

public static final Rule.Operators LT
Numeric lower than.


GE

public static final Rule.Operators GE
Numeric greater than or equal.


LE

public static final Rule.Operators LE
Numeric lower than or equal.


EQ

public static final Rule.Operators EQ
Numeric or string equal.


AND

public static final Rule.Operators AND
Boolean AND.


OR

public static final Rule.Operators OR
Boolean OR.


XOR

public static final Rule.Operators XOR
Boolean XOR.


NOT

public static final Rule.Operators NOT
Boolean NOT.


MISSING

public static final Rule.Operators MISSING
Test for missing value.


LIKE

public static final Rule.Operators LIKE
Wildcard matching (* and ? as wildcards).


IN

public static final Rule.Operators IN
Set matching.

Method Detail

values

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

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

valueOf

public static Rule.Operators 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

toString

public String toString()

Overrides:
toString in class Enum<Rule.Operators>


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.