Class IsNullPredicate
java.lang.Object
org.castor.cpa.persistence.sql.query.condition.Condition
org.castor.cpa.persistence.sql.query.condition.Predicate
org.castor.cpa.persistence.sql.query.condition.IsNullPredicate
- All Implemented Interfaces:
QueryObject
Predicate that checks expressions for being null or not null.
- Version:
- $Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ahmad Hassan, Ralf Joachim
-
Constructor Summary
ConstructorsConstructorDescriptionIsNullPredicate
(Expression expression) Construct a predicate that checks the given expression for being null.IsNullPredicate
(Expression expression, boolean evaluateTo) Construct a predicate that checks the given expression for being null. -
Method Summary
Methods inherited from class org.castor.cpa.persistence.sql.query.condition.Predicate
evaluateTo, expression, not
-
Constructor Details
-
IsNullPredicate
Construct a predicate that checks the given expression for being null.- Parameters:
expression
- Expression to check for null.
-
IsNullPredicate
Construct a predicate that checks the given expression for being null.- Parameters:
expression
- Expression to check for null.evaluateTo
- What is the expected result of the evaluation?
-
-
Method Details