All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jcr.query.qom.DescendantNodeJoinCondition Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 2009 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.query.qom;

/**
 * Tests whether the {@link #getDescendantSelectorName descendantSelector} node
 * is a descendant of the {@link #getAncestorSelectorName ancestorSelector}
 * node.  A node-tuple satisfies the constraint only if:
 * 
  descendantSelectorNode.getAncestor(n).isSame(ancestorSelectorNode) &&
 *     descendantSelectorNode.getDepth() > n
* would return true some some non-negative integer n, where * descendantSelectorNode is the node for {@link * #getDescendantSelectorName descendantSelector} and ancestorSelectorNode * is the node for {@link #getAncestorSelectorName ancestorSelector}. * * @since JCR 2.0 */ public interface DescendantNodeJoinCondition extends JoinCondition { /** * Gets the name of the descendant selector. * * @return the selector name; non-null */ public String getDescendantSelectorName(); /** * Gets the name of the ancestor selector. * * @return the selector name; non-null */ public String getAncestorSelectorName(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy