Package javax.jcr.query.qom
Interface DescendantNodeJoinCondition
-
- All Superinterfaces:
JoinCondition
- All Known Implementing Classes:
DescendantNodeJoinConditionImpl
public interface DescendantNodeJoinCondition extends JoinCondition
Tests whether thedescendantSelectornode is a descendant of theancestorSelectornode. A node-tuple satisfies the constraint only if:descendantSelectorNode.getAncestor(n).isSame(ancestorSelectorNode) && descendantSelectorNode.getDepth() > nwould return true some some non-negative integern, wheredescendantSelectorNodeis the node fordescendantSelectorandancestorSelectorNodeis the node forancestorSelector.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAncestorSelectorName()Gets the name of the ancestor selector.java.lang.StringgetDescendantSelectorName()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
-
-