org.apache.jackrabbit.spi.commons.query.qom
Class EquiJoinConditionImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
      extended by org.apache.jackrabbit.spi.commons.query.qom.JoinConditionImpl
          extended by org.apache.jackrabbit.spi.commons.query.qom.EquiJoinConditionImpl
All Implemented Interfaces:
EquiJoinCondition, JoinCondition

public class EquiJoinConditionImpl
extends JoinConditionImpl
implements EquiJoinCondition

EquiJoinConditionImpl...


Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
resolver
 
Method Summary
 Object accept(QOMTreeVisitor visitor, Object data)
          Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.
 String getProperty1Name()
          Gets the property name in the first selector.
 Name getProperty1QName()
          Gets the property name in the first selector.
 String getProperty2Name()
          Gets the property name in the second selector.
 Name getProperty2QName()
          Gets the property name in the second selector.
 String getSelector1Name()
          Gets the name of the first selector.
 Name getSelector1QName()
          Gets the name of the first selector.
 String getSelector2Name()
          Gets the name of the second selector.
 Name getSelector2QName()
          Gets the name of the second selector.
 String toString()
           
 
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSelector1Name

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

Specified by:
getSelector1Name in interface EquiJoinCondition
Returns:
the selector name; non-null

getProperty1Name

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

Specified by:
getProperty1Name in interface EquiJoinCondition
Returns:
the property name; non-null

getSelector2Name

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

Specified by:
getSelector2Name in interface EquiJoinCondition
Returns:
the selector name; non-null

getProperty2Name

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

Specified by:
getProperty2Name in interface EquiJoinCondition
Returns:
the property name; non-null

getSelector1QName

public Name getSelector1QName()
Gets the name of the first selector.

Returns:
the selector name; non-null

getSelector2QName

public Name getSelector2QName()
Gets the name of the second selector.

Returns:
the selector name; non-null

getProperty1QName

public Name getProperty1QName()
Gets the property name in the first selector.

Returns:
the property name; non-null

getProperty2QName

public Name getProperty2QName()
Gets the property name in the second selector.

Returns:
the property name; non-null

accept

public Object accept(QOMTreeVisitor visitor,
                     Object data)
              throws Exception
Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.

Specified by:
accept in class AbstractQOMNode
Parameters:
visitor - the visitor.
data - user defined data, which is passed to the visit method.
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


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