|
||||||||
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.condition.Condition
public abstract class Condition
Abstract base class for all conditions.
Constructor Summary | |
---|---|
Condition()
|
Method Summary | |
---|---|
Condition |
and(Condition condition)
Builder method to concatenate the given condition with all others that have previously been added with an AND operator. |
abstract Condition |
not()
Builder method to invert a condition. |
Condition |
or(Condition condition)
Builder method to concatenate the given condition with all others that have previously been added with an OR operator. |
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 Condition()
Method Detail |
---|
public Condition and(Condition condition)
condition
- Condition to concatenate.
public Condition or(Condition condition)
condition
- Condition to concatenate.
public abstract Condition not()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |