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
public class SameNodeJoinConditionImpl extends JoinConditionImpl implements SameNodeJoinCondition
SameNodeJoinConditionImpl
...
-
-
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
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.String
getSelector2Path()
Gets the path relative to the second selector.Name
getSelector2QName()
Gets the name of the second selector.Path
getSelector2QPath()
Gets the path relative to the second selector.String
toString()
-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
-
-
-
-
Method Detail
-
getSelector1Name
public String getSelector1Name()
Gets the name of the first selector.- Specified by:
getSelector1Name
in interfaceSameNodeJoinCondition
- Returns:
- the selector name; non-null
-
getSelector2Name
public String getSelector2Name()
Gets the name of the second selector.- Specified by:
getSelector2Name
in interfaceSameNodeJoinCondition
- Returns:
- the selector name; non-null
-
getSelector2Path
public String getSelector2Path()
Gets the path relative to the second selector.- Specified by:
getSelector2Path
in interfaceSameNodeJoinCondition
- Returns:
- the relative path, or null for none
-
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
-
getSelector2QPath
public Path getSelector2QPath()
Gets the path relative to the second selector.- Returns:
- the relative path, or null for none
-
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
-
-