Package javax.jcr.query.qom
Interface ChildNode
-
- All Superinterfaces:
Constraint
- All Known Implementing Classes:
ChildNodeImpl
public interface ChildNode extends Constraint
Tests whether theselector
node is a child of a node reachable by absolute pathpath
.A node-tuple satisfies the constraint only if:
selectorNode.getParent().isSame(session.getNode(path))
would return true, whereselectorNode
is the node for the specified selector.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getParentPath()
Gets the absolute path.java.lang.String
getSelectorName()
Gets the name of the selector against which to apply this constraint.
-