Package javax.jcr.query.qom
Interface DescendantNodeJoinCondition
-
- All Superinterfaces:
JoinCondition
- All Known Implementing Classes:
DescendantNodeJoinConditionImpl
public interface DescendantNodeJoinCondition extends JoinCondition
Tests whether thedescendantSelector
node is a descendant of theancestorSelector
node. A node-tuple satisfies the constraint only if:descendantSelectorNode.getAncestor(n).isSame(ancestorSelectorNode) && descendantSelectorNode.getDepth() > n
would return true some some non-negative integern
, wheredescendantSelectorNode
is the node fordescendantSelector
andancestorSelectorNode
is the node forancestorSelector
.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAncestorSelectorName()
Gets the name of the ancestor selector.String
getDescendantSelectorName()
Gets the name of the descendant selector.
-