atg.search.routing.command.search
Class Field.Op

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

public static class Field.Op
extends Enum

Field operations. Only EQUAL (identical to EXACT) and STARTS designate a field as searchable--all others are for filtering and constraining. It is an error not to include at least one searchable field. Note that range operators require two parameters. See SearchPropertyEditors.

See Also:
Serialized Form

Nested Class Summary
static class Field.Op.OpEditor
           
 
Nested classes/interfaces inherited from class atg.core.util.Enum
Enum.EnumEditor, Enum.LocaleEnumEditor
 
Field Summary
static Field.Op BETWEEN
          Greater than the first, less than the second.
static java.lang.String CLASS_VERSION
          Class version string
static Field.Op CONTAINS
          Contains
static Field.Op ENDS
          Ends with
static Field.Op EQUAL
          Equal to.
static Field.Op EXACT
          Exactly the same.
static Field.Op GREATER
          Greater than
static Field.Op GREATER_LESS
          Greater than the first, less than the second.
static Field.Op GREATER_LESSEQ
          Greater than the first, less than or equal to the second
static Field.Op GREATEREQ
          Greater than or equal to
static Field.Op GREATEREQ_LESS
          Greater than or equal to the first, less than the second
static Field.Op GREATEREQ_LESSEQ
          Greater than or equal to the first, less than or equal to the second.
static Field.Op LESS
          Less than
static Field.Op LESSEQ
          Less than or equal to
static Field.Op STARTS
          Starts with
static Field.Op WITHIN
          Greater than or equal to the first, less than or equal to the second.
 
Method Summary
static boolean isRangeOp(Field.Op opVal)
          Indicates whether the operation is a range operation
static Field.Op 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 final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

EQUAL

public static final Field.Op EQUAL
Equal to. Same as EXACT


GREATER

public static final Field.Op GREATER
Greater than


GREATEREQ

public static final Field.Op GREATEREQ
Greater than or equal to


LESS

public static final Field.Op LESS
Less than


LESSEQ

public static final Field.Op LESSEQ
Less than or equal to


BETWEEN

public static final Field.Op BETWEEN
Greater than the first, less than the second. Same as GREATER_LESS


WITHIN

public static final Field.Op WITHIN
Greater than or equal to the first, less than or equal to the second. Same as GREATEREQ_LESSEQ


GREATER_LESS

public static final Field.Op GREATER_LESS
Greater than the first, less than the second. Same as BETWEEN


GREATER_LESSEQ

public static final Field.Op GREATER_LESSEQ
Greater than the first, less than or equal to the second


GREATEREQ_LESS

public static final Field.Op GREATEREQ_LESS
Greater than or equal to the first, less than the second


GREATEREQ_LESSEQ

public static final Field.Op GREATEREQ_LESSEQ
Greater than or equal to the first, less than or equal to the second. Same as WITHIN


STARTS

public static final Field.Op STARTS
Starts with


EXACT

public static final Field.Op EXACT
Exactly the same. Same as EQUAL


CONTAINS

public static final Field.Op CONTAINS
Contains


ENDS

public static final Field.Op ENDS
Ends with

Method Detail

valueOf

public static Field.Op valueOf(java.lang.String pName)

isRangeOp

public static boolean isRangeOp(Field.Op opVal)
Indicates whether the operation is a range operation

Parameters:
opVal - an operation
Returns:
whether the operation is a range operation