org.apache.jackrabbit.core.query.jsr283.qom
Interface ChildNodeJoinCondition

All Superinterfaces:
JoinCondition
All Known Implementing Classes:
ChildNodeJoinConditionImpl

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.

The query is invalid if:

Since:
JCR 2.0

Method Summary
 String getChildSelectorName()
          Gets the name of the child selector.
 String getParentSelectorName()
          Gets the name of the parent selector.
 

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


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.