query
Class RelationalOperator

java.lang.Object
  extended byquery.RelationalOperator
All Implemented Interfaces:
Operator
Direct Known Subclasses:
Equals, GreaterThan, LesserThan, NotEquals

public abstract class RelationalOperator
extends java.lang.Object
implements Operator


Field Summary
protected  boolean booleanFixedData
           
protected  java.lang.String fieldName
           
protected  java.lang.Comparable fixedData
           
protected  boolean isBoolean
           
 
Constructor Summary
RelationalOperator(java.lang.String fieldName, boolean booleanFixedData)
           
RelationalOperator(java.lang.String fieldName, java.lang.Comparable fixedData)
           
 
Method Summary
protected  int compare(java.lang.Object object)
          Compares this object with the specified object for order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface query.Operator
getResult
 

Field Detail

fieldName

protected java.lang.String fieldName

fixedData

protected java.lang.Comparable fixedData

booleanFixedData

protected boolean booleanFixedData

isBoolean

protected boolean isBoolean
Constructor Detail

RelationalOperator

public RelationalOperator(java.lang.String fieldName,
                          java.lang.Comparable fixedData)

RelationalOperator

public RelationalOperator(java.lang.String fieldName,
                          boolean booleanFixedData)
Method Detail

compare

protected int compare(java.lang.Object object)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.