A node in a search query expression.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
Add a new child to the given parent node. The parent node may be
the current node, or any of its immediate or transitive child nodes.
Parameters: parentNode - The parent node where the child should be inserted Parameters: child - The child node to be added
Add a child after the given node. The after node may be
an immediate or transitive child of the current node.
Parameters: afterNode - node after which the child should be inserted Parameters: child - child node to be added
Return the nesting level of the given node in the query tree,
i.e. the number of parent links one has to traverse to reach the root node.
A node attached to the root node has a level of 1.
the node level
Returns the complete node path of the current node, i.e. the node ids
traversed to the root node separated by dashes ("-").
e.g.
1.path --> 1
|- 2.path --> 1-2
|- 3.path --> 1-2-3
the complete node path of the current node
Returns true if the node and its children should not be displayed in a
query editor or report.
true if the node and its children should not be displayed
Return true if this node is a "value" node, i.e. is used to represent
a scalar value in the query. Used for JSTL node handling.
true for scalar value nodes
Remove a child node. Also searches all subtrees if the node
is node an immediate child.
Parameters: child - the child to be deleted the parent node of the deleted child, or null if the child does not exist
Set the parent of this node. If the node is not included
in the parent's children list, it is added automatically.
Parameters: parent - the parent to be sed