QueryObjectpublic final class AndCondition extends CompoundCondition
| Constructor | Description | 
|---|---|
AndCondition() | 
 Default constructor for an empty AND condition. 
 | 
AndCondition(AndCondition condition) | 
 Copy constructor to create a copy of given AND condition. 
 | 
AndCondition(Condition condition1,
            Condition condition2) | 
 Constructor for a compound condition that concatenates the 2 given conditions with
 an AND operator. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
accept(Visitor visitor) | 
 Accept method to handle incoming visitors. 
 | 
Condition | 
and(Condition condition) | 
 Builder method to concatenate the given condition with all others that have
 previously been added with an AND operator. 
 | 
protected void | 
append(Condition condition) | 
 Appends the specified condition to end of this list of conditions. 
 | 
Condition | 
not() | 
 Builder method to invert a condition. 
 | 
java.lang.String | 
toString() | 
 Method constructing query string. 
 | 
insert, iteratorpublic AndCondition()
public AndCondition(Condition condition1, Condition condition2)
condition1 - First condition.condition2 - Second condition.public AndCondition(AndCondition condition)
condition - AND condition to create a copy of.protected void append(Condition condition)
CompoundConditionappend in class CompoundConditioncondition - Condition to be appended to this list of conditions.public Condition and(Condition condition)
Conditionpublic Condition not()
Conditionpublic void accept(Visitor visitor)
visitor - Visitor to be handled.public java.lang.String toString()
toString in class java.lang.ObjectIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com