Interface ChildNodeJoinCondition

  • All Superinterfaces:
    JoinCondition

    public interface ChildNodeJoinCondition
    extends JoinCondition
    Tests whether the childSelector node is a child of the parentSelector node. A node-tuple satisfies the constraint only if:
      childSelectorNode.getParent().isSame(parentSelectorNode)
    would return true, where childSelectorNode is the node for childSelector and parentSelectorNode is the node for parentSelector.
    Since:
    JCR 2.0
    • Method Detail

      • getChildSelectorName

        String getChildSelectorName()
        Gets the name of the child selector.
        Returns:
        the selector name; non-null
      • getParentSelectorName

        String getParentSelectorName()
        Gets the name of the parent selector.
        Returns:
        the selector name; non-null