javax.jcr.query.qom.SameNodeJoinCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
/*
* Copyright 2009 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr.query.qom;
/**
* Tests whether two nodes are "the same" according to the isSame
* method of javax.jcr.Item
.
*
* Tests whether the {@link #getSelector1Name selector1} node is the same as a node identified by
* relative path from the {@link #getSelector2Name selector2} node.
* A node-tuple satisfies the constraint only if:
*
selector1Node.isSame(selector2Node.getNode(selector2Path))
* would return true, where selector1Node
is the node for {@link
* #getSelector1Name selector1} and selector2Node
is the node for
* {@link #getSelector2Name selector2}.
*
* @since JCR 2.0
*/
public interface SameNodeJoinCondition
extends JoinCondition {
/**
* Gets the name of the first selector.
*
* @return the selector name; non-null
*/
public String getSelector1Name();
/**
* Gets the name of the second selector.
*
* @return the selector name; non-null
*/
public String getSelector2Name();
/**
* Gets the path relative to the second selector.
*
* @return the relative path, or null for none
*/
public String getSelector2Path();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy