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