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

All Superinterfaces:
JoinCondition
All Known Implementing Classes:
EquiJoinConditionImpl

public interface EquiJoinCondition
extends JoinCondition

Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.

A node-tuple satisfies the constraint only if:

The query is invalid if:

Since:
JCR 2.0

Method Summary
 String getProperty1Name()
          Gets the property name in the first selector.
 String getProperty2Name()
          Gets the property name in the second selector.
 String getSelector1Name()
          Gets the name of the first selector.
 String getSelector2Name()
          Gets the name of the second selector.
 

Method Detail

getSelector1Name

String getSelector1Name()
Gets the name of the first selector.

Returns:
the selector name; non-null

getProperty1Name

String getProperty1Name()
Gets the property name in the first selector.

Returns:
the property name; non-null

getSelector2Name

String getSelector2Name()
Gets the name of the second selector.

Returns:
the selector name; non-null

getProperty2Name

String getProperty2Name()
Gets the property name in the second selector.

Returns:
the property name; non-null


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