javax.jcr.query.qom.ChildNode 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 the {@link #getSelectorName selector} node is a child of a node
* reachable by absolute path {@link #getParentPath path}.
*
* A node-tuple satisfies the constraint only if:
*
selectorNode.getParent().isSame(session.getNode(path))
* would return true, where selectorNode
is the node for the
* specified selector.
*
* @since JCR 2.0
*/
public interface ChildNode
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 getParentPath();
}