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

javax.jcr.query.qom.SameNodeJoinCondition 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 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