|
ModeShape Distribution 3.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.query.model.DescendantNodeJoinCondition
@Immutable public class DescendantNodeJoinCondition
A join condition that evaluates to true only when the named node is a descendant of another named node.
| Constructor Summary | |
|---|---|
DescendantNodeJoinCondition(SelectorName ancestorSelectorName,
SelectorName descendantSelectorName)
Create a join condition that determines whether the node identified by the descendant selector is indeed a descendant of the node identified by the ancestor selector. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation. |
SelectorName |
ancestorSelectorName()
Get the name of the selector for the ancestor node. |
SelectorName |
descendantSelectorName()
Get the name of the selector for the descedant node. |
boolean |
equals(Object obj)
|
String |
getAncestorSelectorName()
|
String |
getDescendantSelectorName()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DescendantNodeJoinCondition(SelectorName ancestorSelectorName,
SelectorName descendantSelectorName)
ancestorSelectorName - the name of the ancestor selectordescendantSelectorName - the name of the descendant selector| Method Detail |
|---|
public final SelectorName descendantSelectorName()
public final SelectorName ancestorSelectorName()
public String getAncestorSelectorName()
getAncestorSelectorName in interface DescendantNodeJoinConditionpublic String getDescendantSelectorName()
getDescendantSelectorName in interface DescendantNodeJoinConditionpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic void accept(Visitor visitor)
Visitable
accept in interface Visitablevisitor - the visitor; never null
|
ModeShape Distribution 3.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||