| org.mandarax.jdbc.server.sql.ConditionContext
All known Subclasses: org.mandarax.jdbc.server.sql.WhereClause, org.mandarax.jdbc.server.sql.CompoundCondition,
ConditionContext | public interface ConditionContext (Code) | | Simple interface for condition contexts (objects containing conditions).
author: Jens Dietrich version: 3.3.2 <29 December 2004> since: 3.0 |
Method Summary | |
public void | add(Condition condition) Add a condition to this context. | public void | add(int connective) Add a binary connective to this context. | public void | negateNext() Negate the condition that will be added next. | public void | replace(Condition oldCondition, Condition newCondition) Replace a child condition. | public void | setConditions(List newConditions, int newConnective) |
add | public void add(Condition condition)(Code) | | Add a condition to this context.
Parameters: condition - a condition |
add | public void add(int connective)(Code) | | Add a binary connective to this context.
For constant definitions, see CompoundCondition.
Parameters: connective - a connective |
negateNext | public void negateNext()(Code) | | Negate the condition that will be added next.
|
replace | public void replace(Condition oldCondition, Condition newCondition)(Code) | | Replace a child condition.
Parameters: oldCondition - the old condition Parameters: newCondition - the new condition |
setConditions | public void setConditions(List newConditions, int newConnective)(Code) | | Set the conditions (and connectives)
Parameters: newConditions - a list of conditions Parameters: newConnective - a new connectives |
|
|