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

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.ChildNodeJoinConditionImpl
All Implemented Interfaces:
ChildNodeJoinCondition, JoinCondition

public class ChildNodeJoinConditionImpl
extends JoinConditionImpl
implements ChildNodeJoinCondition

ChildNodeJoinConditionImpl...


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 getChildSelectorName()
          Gets the name of the child selector.
 Name getChildSelectorQName()
          Gets the name of the child selector.
 String getParentSelectorName()
          Gets the name of the parent selector.
 Name getParentSelectorQName()
          Gets the name of the parent 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

getChildSelectorName

public String getChildSelectorName()
Gets the name of the child selector.

Specified by:
getChildSelectorName in interface ChildNodeJoinCondition
Returns:
the selector name; non-null

getParentSelectorName

public String getParentSelectorName()
Gets the name of the parent selector.

Specified by:
getParentSelectorName in interface ChildNodeJoinCondition
Returns:
the selector name; non-null

getChildSelectorQName

public Name getChildSelectorQName()
Gets the name of the child selector.

Returns:
the selector name; non-null

getParentSelectorQName

public Name getParentSelectorQName()
Gets the name of the parent selector.

Returns:
the selector 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.