javax.jcr.query.qom
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 Summary
 java.lang.String getChildSelectorName()
          Gets the name of the child selector.
 java.lang.String getParentSelectorName()
          Gets the name of the parent selector.
 

Method Detail

getChildSelectorName

java.lang.String getChildSelectorName()
Gets the name of the child selector.

Returns:
the selector name; non-null

getParentSelectorName

java.lang.String getParentSelectorName()
Gets the name of the parent selector.

Returns:
the selector name; non-null


Copyright © 2009 Day Software. All Rights Reserved.