|
||||||||
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
org.castor.cpa.persistence.sql.query.condition.CompoundCondition
public abstract class CompoundCondition
Compound condition is the abstract base class for AndCondition and OrCondition.
Constructor Summary | |
---|---|
protected |
CompoundCondition()
Default constructor. |
protected |
CompoundCondition(CompoundCondition condition)
Copy constructor. |
Method Summary | |
---|---|
protected void |
append(Condition condition)
Appends the specified condition to end of this list of conditions. |
protected void |
insert(Condition condition)
Inserts the specified condition at begin of this list of conditions. |
java.util.Iterator<Condition> |
iterator()
Returns an iterator over the elements in this list in proper sequence. |
Methods inherited from class org.castor.cpa.persistence.sql.query.condition.Condition |
---|
and, not, or |
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 |
---|
protected CompoundCondition()
protected CompoundCondition(CompoundCondition condition)
condition
- Compound condition to create a copy of.Method Detail |
---|
protected final void insert(Condition condition)
condition
- Condition to be inserted to this list of conditions.protected void append(Condition condition)
condition
- Condition to be appended to this list of conditions.public final java.util.Iterator<Condition> iterator()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |