|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.graph.query.model.JoinCondition org.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. |
boolean |
equals(Object obj)
|
SelectorName |
getAncestorSelectorName()
Get the name of the selector for the ancestor node. |
SelectorName |
getDescendantSelectorName()
Get the name of the selector for the descedant node. |
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 getDescendantSelectorName()
public final SelectorName getAncestorSelectorName()
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)
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 |