com.partnersoft.io
Enum DataFilterOperator

java.lang.Object
  extended by java.lang.Enum<DataFilterOperator>
      extended by com.partnersoft.io.DataFilterOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataFilterOperator>

public enum DataFilterOperator
extends java.lang.Enum<DataFilterOperator>

Operand constants for DataRecordFilters.

Copyright 2009 Partner Software

Author:
Rich Stepanski

Enum Constant Summary
AND
           
EQUALS
           
GREATER_THAN
           
GREATER_THAN_OR_EQUAL
           
LESS_THAN
           
LESS_THAN_OR_EQUAL
           
LIKE
           
NOT_EQUAL
           
OR
           
 
Method Summary
abstract  java.lang.String getStringEquivalent()
          Returns a String representation, ie.
static DataFilterOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataFilterOperator[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AND

public static final DataFilterOperator AND

OR

public static final DataFilterOperator OR

GREATER_THAN

public static final DataFilterOperator GREATER_THAN

GREATER_THAN_OR_EQUAL

public static final DataFilterOperator GREATER_THAN_OR_EQUAL

LESS_THAN

public static final DataFilterOperator LESS_THAN

LESS_THAN_OR_EQUAL

public static final DataFilterOperator LESS_THAN_OR_EQUAL

EQUALS

public static final DataFilterOperator EQUALS

NOT_EQUAL

public static final DataFilterOperator NOT_EQUAL

LIKE

public static final DataFilterOperator LIKE
Method Detail

values

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

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

valueOf

public static DataFilterOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getStringEquivalent

public abstract java.lang.String getStringEquivalent()
Returns a String representation, ie. '=' for EQUAL, '>=' for GREATER_THAN_OR_EQUAL.