com.satline.expr.eval
Class BooleanValue

java.lang.Object
  extended by com.satline.expr.eval.ExpressionValue
      extended by com.satline.expr.eval.BooleanValue

public class BooleanValue
extends ExpressionValue


Field Summary
static BooleanValue FALSE
           
static BooleanValue TRUE
           
 
Fields inherited from class com.satline.expr.eval.ExpressionValue
NULL
 
Method Summary
 ExpressionValue evalAnd(ExpressionValue right)
           
 ExpressionValue evalCountFunction()
           
 ExpressionValue evalEquality(ExpressionValue right)
           
 ExpressionValue evalInequality(ExpressionValue right)
           
 ExpressionValue evalNegation()
           
 ExpressionValue evalOrTerm(ExpressionValue right)
           
static BooleanValue getInstance(boolean value)
           
 java.lang.Object getObjectValue()
           
 ExpressionType getType()
           
 boolean getValue()
           
 void setValue(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.satline.expr.eval.ExpressionValue
create, evalAbsFunction, evalAddition, evalAvgFunction, evalConcatenation, evalDivision, evalGreaterEqual, evalGreaterThan, evalInTerm, evalIsNotNull, evalIsNull, evalLengthFunction, evalLessEqual, evalLessThan, evalLike, evalLowerFunction, evalMatch, evalMaxFunction, evalMinFunction, evalMultiplication, evalNotLikeTerm, evalReplaceFunction, evalSignChange, evalSubstrFunction, evalSubtraction, evalSumFunction, evalTrimFunction, evalUpperFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FALSE

public static final BooleanValue FALSE

TRUE

public static final BooleanValue TRUE
Method Detail

getInstance

public static BooleanValue getInstance(boolean value)

getValue

public boolean getValue()
Returns:
Returns the value.

setValue

public void setValue(boolean value)
Parameters:
value - The value to set.

getType

public ExpressionType getType()
Specified by:
getType in class ExpressionValue

getObjectValue

public java.lang.Object getObjectValue()
Specified by:
getObjectValue in class ExpressionValue

evalAnd

public ExpressionValue evalAnd(ExpressionValue right)
                        throws ExpressionException
Overrides:
evalAnd in class ExpressionValue
Throws:
ExpressionException

evalCountFunction

public ExpressionValue evalCountFunction()
                                  throws ExpressionException
Overrides:
evalCountFunction in class ExpressionValue
Throws:
ExpressionException

evalEquality

public ExpressionValue evalEquality(ExpressionValue right)
                             throws ExpressionException
Overrides:
evalEquality in class ExpressionValue
Throws:
ExpressionException

evalInequality

public ExpressionValue evalInequality(ExpressionValue right)
                               throws ExpressionException
Overrides:
evalInequality in class ExpressionValue
Throws:
ExpressionException

evalNegation

public ExpressionValue evalNegation()
                             throws ExpressionException
Overrides:
evalNegation in class ExpressionValue
Throws:
ExpressionException

evalOrTerm

public ExpressionValue evalOrTerm(ExpressionValue right)
                           throws ExpressionException
Overrides:
evalOrTerm in class ExpressionValue
Throws:
ExpressionException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 null. All Rights Reserved.