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

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

There is a newer version: 2024.11.18598.20241113T125352Z-241000
Show newest version
/*
 * 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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy