public abstract class CompositeQueryExpression extends QueryExpression
CompositeQueryExpression
class is the base class for all dynamic
query expressions that are containers of other query expressions.Constructor and Description |
---|
CompositeQueryExpression() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(QueryExpression expr)
Add a query expression to this composite expression.
|
QueryExpression[] |
getExpressions()
Get the query expressions that have been added to this composite expression.
|
toString, toString
public final QueryExpression[] getExpressions()
protected final void add(QueryExpression expr) throws NullPointerException, IllegalArgumentException
expr
- the expression to add.NullPointerException
- if expr
is null
.IllegalArgumentException
- if adding the query expression to this
composite expression would generate a cyclic expression.