|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.persistence.sql.query.QueryObject
org.castor.cpa.persistence.sql.query.expression.Expression
public abstract class Expression
Abstract base class for all expressions.
Constructor Summary | |
---|---|
Expression()
|
Method Summary | |
---|---|
Compare |
equal(Expression expression)
Compare if this expression is equal to the given one. |
Compare |
greaterEqual(Expression expression)
Compare if this expression is greater than or equal to the given one. |
Compare |
greaterThan(Expression expression)
Compare if this expression is greater than the given one. |
Predicate |
isNotNull()
Check if this expression is not null. |
Predicate |
isNull()
Check if this expression is null. |
Compare |
lessEqual(Expression expression)
Compare if this expression is less than or equal to the given one. |
Compare |
lessThan(Expression expression)
Compare if this expression is less than the given one. |
Compare |
notEqual(Expression expression)
Compare if this expression is not equal to the given one. |
Methods inherited from class org.castor.cpa.persistence.sql.query.QueryObject |
---|
toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Expression()
Method Detail |
---|
public final Compare equal(Expression expression)
expression
- Right hand side of the compare.
public final Compare notEqual(Expression expression)
expression
- Right hand side of the compare.
public final Compare greaterThan(Expression expression)
expression
- Right hand side of the compare.
public final Compare greaterEqual(Expression expression)
expression
- Right hand side of the compare.
public final Compare lessEqual(Expression expression)
expression
- Right hand side of the compare.
public final Compare lessThan(Expression expression)
expression
- Right hand side of the compare.
public final Predicate isNull()
public final Predicate isNotNull()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |