javax.slee.profile.query
Class CompositeQueryExpression
java.lang.Object
javax.slee.profile.query.QueryExpression
javax.slee.profile.query.CompositeQueryExpression
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- And, Or
public abstract class CompositeQueryExpression
- extends QueryExpression
The CompositeQueryExpression class is the base class for all dynamic
query expressions that are containers of other query expressions.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeQueryExpression
public CompositeQueryExpression()
getExpressions
public final QueryExpression[] getExpressions()
- Get the query expressions that have been added to this composite expression.
- Returns:
- the query expressions that have been added to this composite expression.
add
protected final void add(QueryExpression expr)
throws java.lang.NullPointerException,
java.lang.IllegalArgumentException
- Add a query expression to this composite expression.
- Parameters:
expr - the expression to add.
- Throws:
java.lang.NullPointerException - if expr is null.
java.lang.IllegalArgumentException - if adding the query expression to this
composite expression would generate a cyclic expression.
Copyright © 2009. All Rights Reserved.