public abstract class AbstractLeafQuery extends Query
| Constructor and Description |
|---|
AbstractLeafQuery() |
| Modifier and Type | Method and Description |
|---|---|
List<Query> |
getChildQueries()
Returns all the children of the query in question.
|
boolean |
isEmptyQuery() |
boolean |
removeChildQuery(Query toRemove)
Remove 'toRemove', if 'toRemove' is currently a child of this Query object.
|
boolean |
replaceChildQuery(Query toReplace,
Query replacement)
Swap 'replacement' in as a replacement, if 'toReplace' is currently a child of this Query object.
|
clone, deepClonepublic List<Query> getChildQueries()
QueryList is provided as a copy - changes made to it do not impact the originating Query object
in any way.getChildQueries in class Querypublic boolean replaceChildQuery(Query toReplace, Query replacement)
QueryreplaceChildQuery in class Querypublic boolean removeChildQuery(Query toRemove)
QueryremoveChildQuery in class Querypublic boolean isEmptyQuery()
isEmptyQuery in class Query