Class SameNodeJoinConditionImpl
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.SameNodeJoinConditionImpl
- All Implemented Interfaces:
JoinCondition,SameNodeJoinCondition
SameNodeJoinConditionImpl...-
Method Summary
Modifier and TypeMethodDescriptionaccept(QOMTreeVisitor visitor, Object data) Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.Gets the name of the first selector.Gets the name of the first selector.Gets the name of the second selector.Gets the path relative to the second selector.Gets the name of the second selector.Gets the path relative to the second selector.toString()
-
Method Details
-
getSelector1Name
Gets the name of the first selector.- Specified by:
getSelector1Namein interfaceSameNodeJoinCondition- Returns:
- the selector name; non-null
-
getSelector2Name
Gets the name of the second selector.- Specified by:
getSelector2Namein interfaceSameNodeJoinCondition- Returns:
- the selector name; non-null
-
getSelector2Path
Gets the path relative to the second selector.- Specified by:
getSelector2Pathin interfaceSameNodeJoinCondition- Returns:
- the relative path, or null for none
-
getSelector1QName
Gets the name of the first selector.- Returns:
- the selector name; non-null
-
getSelector2QName
Gets the name of the second selector.- Returns:
- the selector name; non-null
-
getSelector2QPath
Gets the path relative to the second selector.- Returns:
- the relative path, or null for none
-
accept
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
toString
-