|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.query.condition.Condition
org.castor.cpa.persistence.sql.query.condition.Predicate
org.castor.cpa.persistence.sql.query.condition.IsNullPredicate
public final class IsNullPredicate
Predicate that checks expressions for being null or not null.
| Constructor Summary | |
|---|---|
IsNullPredicate(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 | |
|---|---|
void |
accept(Visitor visitor)
Accept method to handle incoming visitors. |
String |
toString()
Method constructing query string. |
| Methods inherited from class org.castor.cpa.persistence.sql.query.condition.Predicate |
|---|
evaluateTo, expression, not |
| Methods inherited from class org.castor.cpa.persistence.sql.query.condition.Condition |
|---|
and, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IsNullPredicate(Expression expression)
expression - Expression to check for null.
public IsNullPredicate(Expression expression,
boolean evaluateTo)
expression - Expression to check for null.evaluateTo - What is the expected result of the evaluation?| Method Detail |
|---|
public void accept(Visitor visitor)
visitor - Visitor to be handled.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||