javax.jcr.query.qom.SameNode 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
The newest version!
/*
* Copyright 2009 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr.query.qom;
/**
* Tests whether the {@link #getSelectorName selector} node is reachable by
* absolute path {@link #getPath path}.
*
* A node-tuple satisfies the constraint only if:
*
selectorNode.isSame(session.getNode(path))
* would return true, where selectorNode
is the node for the
* specified selector.
*
* @since JCR 2.0
*/
public interface SameNode
extends Constraint {
/**
* Gets the name of the selector against which to apply this constraint.
*
* @return the selector name; non-null
*/
public String getSelectorName();
/**
* Gets the absolute path.
*
* @return the path; non-null
*/
public String getPath();
}