|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.slee.profile.query.QueryExpression
javax.slee.profile.query.CompositeQueryExpression
javax.slee.profile.query.And
public final class And
The And class is a composite dynamic query expression that
successfully matches with a profile only if all nested query expressions
also match with the profile.
| Constructor Summary | |
|---|---|
And(QueryExpression[] exprs)
Create an And query expression initially populated with the
expressions contained in the specified array. |
|
And(QueryExpression expr1,
QueryExpression expr2)
Create an And query expression initially populated with the two
specified query expressions. |
|
| Method Summary | |
|---|---|
And |
and(QueryExpression expr)
Add the specified query expression to this composite expression. |
protected void |
toString(java.lang.StringBuffer buf)
Get a string representation for this query expression. |
| Methods inherited from class javax.slee.profile.query.CompositeQueryExpression |
|---|
add, getExpressions |
| Methods inherited from class javax.slee.profile.query.QueryExpression |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public And(QueryExpression expr1,
QueryExpression expr2)
And query expression initially populated with the two
specified query expressions.
expr1 - the first query expression to add.expr2 - the second query expression to add.
java.lang.NullPointerException - if either argument is null.public And(QueryExpression[] exprs)
And query expression initially populated with the
expressions contained in the specified array.
exprs - the query expressions to add.
java.lang.NullPointerException - if exprs is null or
contains null elements.
java.lang.IllegalArgumentException - if the length of exprs is
less than 2.| Method Detail |
|---|
public And and(QueryExpression expr)
throws java.lang.NullPointerException,
java.lang.IllegalArgumentException
expr - the query expression to add.
this.
java.lang.NullPointerException - if expr is null.
java.lang.IllegalArgumentException - if adding the query expression to this
composite expression would generate a cyclic expression.protected void toString(java.lang.StringBuffer buf)
QueryExpression
toString in class QueryExpressionbuf - a string buffer the string representation should be appended to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||