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... 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(QOMTreeVisitor visitor, java.lang.Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.java.lang.StringgetSelector1Name()Gets the name of the first selector.NamegetSelector1QName()Gets the name of the first selector.java.lang.StringgetSelector2Name()Gets the name of the second selector.java.lang.StringgetSelector2Path()Gets the path relative to the second selector.NamegetSelector2QName()Gets the name of the second selector.PathgetSelector2QPath()Gets the path relative to the second selector.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getSelector1Name
public java.lang.String getSelector1Name()
Gets the name of the first selector.- Specified by:
 getSelector1Namein interfaceSameNodeJoinCondition- Returns:
 - the selector name; non-null
 
 
- 
getSelector2Name
public java.lang.String getSelector2Name()
Gets the name of the second selector.- Specified by:
 getSelector2Namein interfaceSameNodeJoinCondition- Returns:
 - the selector name; non-null
 
 
- 
getSelector2Path
public java.lang.String getSelector2Path()
Gets the path relative to the second selector.- Specified by:
 getSelector2Pathin 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 java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.Exception
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:
 java.lang.Exception
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -