Class ChildNodeJoinConditionImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.JoinConditionImpl
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(QOMTreeVisitor visitor, Object data)
Accepts avisitor
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
-
-
-
-
Method Detail
-
getChildSelectorName
public String getChildSelectorName()
Gets the name of the child selector.- Specified by:
getChildSelectorName
in interfaceChildNodeJoinCondition
- Returns:
- the selector name; non-null
-
getParentSelectorName
public String getParentSelectorName()
Gets the name of the parent selector.- Specified by:
getParentSelectorName
in interfaceChildNodeJoinCondition
- 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 avisitor
and calls the appropriate visit method depending on the type of this QOM node.- Specified by:
accept
in classAbstractQOMNode
- Parameters:
visitor
- the visitor.data
- user defined data, which is passed to the visit method.- Throws:
Exception
-
-