|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.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)
|
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 selectorMethod Detail |
---|
public final SelectorName descendantSelectorName()
public final SelectorName ancestorSelectorName()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- the visitor; never nullVisitable.accept(org.modeshape.graph.query.model.Visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |