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 |
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 Query clone()
clone
in class DslCloneable