Package javax.jcr.query.qom
Interface SameNode
- All Superinterfaces:
Constraint
- All Known Implementing Classes:
SameNodeImpl
Tests whether the
selector
node is reachable by
absolute path path
.
A node-tuple satisfies the constraint only if:
selectorNode.isSame(session.getNode(path))would return true, where
selectorNode
is the node for the
specified selector.- Since:
- JCR 2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()
Gets the absolute path.Gets the name of the selector against which to apply this constraint.