|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
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 selectorMethod Detail |
---|
public final SelectorName descendantSelectorName()
public final SelectorName ancestorSelectorName()
public String getAncestorSelectorName()
getAncestorSelectorName
in interface DescendantNodeJoinCondition
public String getDescendantSelectorName()
getDescendantSelectorName
in interface DescendantNodeJoinCondition
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public void accept(Visitor visitor)
Visitable
accept
in interface Visitable
visitor
- the visitor; never null
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |