|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SameNodeJoinCondition
Tests whether two nodes are "the same" according to the isSame
method of javax.jcr.Item.
selector2Path is omitted:
selector1 node is the
same as the selector2 node. A node-tuple
satisfies the constraint only if:
selector1Node.isSame(selector2Node)would return true, where
selector1Node is the node
for selector1 and selector2Node
is the node for selector2.selector2Path is specified:
selector1 node is the
same as a node identified by relative path from the
selector2 node. A node-tuple satisfies
the constraint only if:
selector1Node.isSame(selector2Node.getNode(selector2Path))would return true, where
selector1Node is the node for
selector1 and selector2Node
is the node for selector2.selector1 is not the name of a selector in the
query, orselector2 is not the name of a selector in the
query, orselector1 is the same as
selector2, orselector2Path is not a syntactically valid
relative path. Note, however, that if the path is syntactically valid
but does not identify a node in the repository (or the node is not
visible to this session, because of access control constraints), the
query is valid but the constraint is not satisfied.
| Method Summary | |
|---|---|
String |
getSelector1Name()
Gets the name of the first selector. |
String |
getSelector2Name()
Gets the name of the second selector. |
String |
getSelector2Path()
Gets the path relative to the second selector. |
| Method Detail |
|---|
String getSelector1Name()
String getSelector2Name()
String getSelector2Path()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||