com.raritantechnologies.searchApp
Class BooleanComboField

java.lang.Object
  extended bycom.raritantechnologies.searchApp.BooleanComboField

public class BooleanComboField
extends java.lang.Object

Bean wrapper class for nested Boolean searches. Contains an operator string "AND", "OR", "NOT" and an OrderedMap of fields that will be connected by the operator.


Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
static java.lang.String AND
           
static java.lang.String OR
           
 
Constructor Summary
BooleanComboField(java.lang.String operator, OrderedMap fields)
           
 
Method Summary
 OrderedMap getFields()
          returns the OrderedMap containing the fields that are to be combined.
 java.lang.String getOperator()
          returns the boolean operator: possible value are "AND" and "OR".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AND

public static final java.lang.String AND
See Also:
Constant Field Values

OR

public static final java.lang.String OR
See Also:
Constant Field Values
Constructor Detail

BooleanComboField

public BooleanComboField(java.lang.String operator,
                         OrderedMap fields)
Method Detail

getOperator

public java.lang.String getOperator()
returns the boolean operator: possible value are "AND" and "OR".


getFields

public OrderedMap getFields()
returns the OrderedMap containing the fields that are to be combined.