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 java.lang.String
getAncestorSelectorName()
Gets the name of the ancestor selector.java.lang.String
getDescendantSelectorName()
Gets the name of the descendant selector.
-
-
-
Method Detail
-
getDescendantSelectorName
java.lang.String getDescendantSelectorName()
Gets the name of the descendant selector.- Returns:
- the selector name; non-null
-
getAncestorSelectorName
java.lang.String getAncestorSelectorName()
Gets the name of the ancestor selector.- Returns:
- the selector name; non-null
-
-