QJCC homepage

biz.chitec.quarterback.util.logic
Class GreaterThanOrEqualsExpr

java.lang.Object
  extended bybiz.chitec.quarterback.util.logic.ArithmeticExpr
      extended bybiz.chitec.quarterback.util.logic.GreaterThanOrEqualsExpr
All Implemented Interfaces:
java.lang.Cloneable, LogicExpr

public class GreaterThanOrEqualsExpr
extends ArithmeticExpr

Logical expression checking whether a certain value in the universe is less than a given number

The value in the universe has to be of type Number, otherwise checks will always return false.

Version:
$Id: 2f21683b21c3e5c2ebcb16ca31e909b1a8a98fdd $
Author:
chitec/Dirk Hillbrecht 2001. Distributed under the terms of the GNU LGPL.

Nested Class Summary
 
Nested classes inherited from class biz.chitec.quarterback.util.logic.LogicExpr
LogicExpr.Converter, LogicExpr.UniverseGenerator
 
Field Summary
 
Fields inherited from class biz.chitec.quarterback.util.logic.ArithmeticExpr
key, numbercomparator, value
 
Constructor Summary
GreaterThanOrEqualsExpr(java.lang.Object kx, java.lang.Comparable vx)
           
GreaterThanOrEqualsExpr(java.lang.Object kx, double vx)
           
GreaterThanOrEqualsExpr(java.lang.Object kx, int vx)
           
 
Method Summary
protected  boolean doCompare(int universevalue)
           
protected  boolean doEvaluate(java.lang.Comparable universevalue)
           
protected  java.lang.String getSQLComparatorSign()
           
 
Methods inherited from class biz.chitec.quarterback.util.logic.ArithmeticExpr
clone, convertValues, equals, evaluate, getInternalVars, getResultSet, getValue, isReady, isTreeReady, sqlString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreaterThanOrEqualsExpr

public GreaterThanOrEqualsExpr(java.lang.Object kx,
                               java.lang.Comparable vx)

GreaterThanOrEqualsExpr

public GreaterThanOrEqualsExpr(java.lang.Object kx,
                               int vx)

GreaterThanOrEqualsExpr

public GreaterThanOrEqualsExpr(java.lang.Object kx,
                               double vx)
Method Detail

doEvaluate

protected boolean doEvaluate(java.lang.Comparable universevalue)
Specified by:
doEvaluate in class ArithmeticExpr

doCompare

protected boolean doCompare(int universevalue)
Specified by:
doCompare in class ArithmeticExpr

getSQLComparatorSign

protected java.lang.String getSQLComparatorSign()
Specified by:
getSQLComparatorSign in class ArithmeticExpr

QJCC homepage