atg.search.routing.command.search
Class NumOp

java.lang.Object
  extended by atg.core.util.Enum
      extended by atg.search.routing.command.search.NumOp
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class NumOp
extends Enum

Enumeration for numeric operators.

See Also:
Serialized Form

Nested Class Summary
static class NumOp.NumOpEditor
           
 
Nested classes/interfaces inherited from class atg.core.util.Enum
Enum.EnumEditor, Enum.LocaleEnumEditor
 
Field Summary
static NumOp BETWEEN
           
static java.lang.String CLASS_VERSION
          Class version string
static NumOp EQUAL
           
static NumOp GREATER
           
static NumOp GREATER_LESS
          Greater than the first, less than the second, i.e., between
static NumOp GREATER_LESSEQ
          greater than the first, lesseq than the second
static NumOp GREATEREQ
           
static NumOp GREATEREQ_LESS
          greatereq the first, less than the second
static NumOp GREATEREQ_LESSEQ
          greatereq the first, lesseq than the second, i.e., within
static NumOp LESS
           
static NumOp LESSEQ
           
static NumOp WITHIN
           
 
Method Summary
static boolean isRangeOp(NumOp opVal)
          Returns true if the operation accepts two operands.
static NumOp valueOf(java.lang.String pName)
           
 
Methods inherited from class atg.core.util.Enum
compareTo, getEnumClassInfo, getOrdinal, iterator, iterator, lookup, lookup, lookup, lookup, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


EQUAL

public static final NumOp EQUAL

GREATER

public static final NumOp GREATER

GREATEREQ

public static final NumOp GREATEREQ

LESS

public static final NumOp LESS

LESSEQ

public static final NumOp LESSEQ

BETWEEN

public static final NumOp BETWEEN

WITHIN

public static final NumOp WITHIN

GREATER_LESS

public static final NumOp GREATER_LESS
Greater than the first, less than the second, i.e., between


GREATER_LESSEQ

public static final NumOp GREATER_LESSEQ
greater than the first, lesseq than the second


GREATEREQ_LESS

public static final NumOp GREATEREQ_LESS
greatereq the first, less than the second


GREATEREQ_LESSEQ

public static final NumOp GREATEREQ_LESSEQ
greatereq the first, lesseq than the second, i.e., within

Method Detail

valueOf

public static NumOp valueOf(java.lang.String pName)

isRangeOp

public static boolean isRangeOp(NumOp opVal)
Returns true if the operation accepts two operands.

Parameters:
opVal -
Returns:
true if the operation accepts two operands.