|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.expr.eval.ExpressionValue
local.tomas.expr.eval.BooleanValue
public class BooleanValue
Boolean expression value.
| Field Summary | |
|---|---|
static BooleanValue |
FALSE
Singleton for false. |
static BooleanValue |
TRUE
Singleton for true. |
| Fields inherited from class local.tomas.expr.eval.ExpressionValue |
|---|
NULL |
| Method Summary | |
|---|---|
ExpressionValue |
evalAnd(ExpressionValue right)
Evaluate and. |
ExpressionValue |
evalCountFunction()
Evaluate count function. |
ExpressionValue |
evalEquality(ExpressionValue right)
Evaluate equality comparison. |
ExpressionValue |
evalInequality(ExpressionValue right)
Evaluate inequality comparison. |
ExpressionValue |
evalNegation()
Evaluate negation. |
ExpressionValue |
evalOrTerm(ExpressionValue right)
Evaluate or term. |
static BooleanValue |
getInstance(boolean value)
Get singleton instance with specified value. |
Object |
getObjectValue()
Return the Java object representing this expression value. |
ExpressionType |
getType()
Get the type of this expression value. |
boolean |
getValue()
Get the value. |
void |
setValue(boolean value)
Set the value. |
String |
toString()
|
| Methods inherited from class local.tomas.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 |
|---|
public static final BooleanValue FALSE
public static final BooleanValue TRUE
| Method Detail |
|---|
public static BooleanValue getInstance(boolean value)
value - the value
public boolean getValue()
public void setValue(boolean value)
value - The value to set.public ExpressionType getType()
ExpressionValue
getType in class ExpressionValuepublic Object getObjectValue()
ExpressionValue
getObjectValue in class ExpressionValue
public ExpressionValue evalAnd(ExpressionValue right)
throws ExpressionException
ExpressionValue
evalAnd in class ExpressionValueright - right operand
ExpressionExceptionpublic ExpressionValue evalCountFunction()
ExpressionValue
evalCountFunction in class ExpressionValue
public ExpressionValue evalEquality(ExpressionValue right)
throws ExpressionException
ExpressionValue
evalEquality in class ExpressionValueright - right operand
ExpressionException
public ExpressionValue evalInequality(ExpressionValue right)
throws ExpressionException
ExpressionValue
evalInequality in class ExpressionValueright - right operand
ExpressionExceptionpublic ExpressionValue evalNegation()
ExpressionValue
evalNegation in class ExpressionValue
public ExpressionValue evalOrTerm(ExpressionValue right)
throws ExpressionException
ExpressionValue
evalOrTerm in class ExpressionValueright - right operand
ExpressionExceptionpublic String toString()
toString in class Object
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||