/*
* Copyright 2006 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr.query.qom;
/**
* Evaluates to the value (or values, if multi-valued) of a property.
* <p/>
* If, for a node-tuple, the {@link #getSelectorName selector} node does not
* have a property named {@link #getPropertyName property}, the operand
* evaluates to null.
* <p/>
* The query is invalid if:
* <ul>
* <li>{@link #getSelectorName selector} is not the name of a selector in the
* query, or</li>
* <li>{@link #getPropertyName property} is not a syntactically valid JCR
* name.</li>
* </ul>
*
* @since JCR 2.0
*/
public interface PropertyValue
extends DynamicOperand {
/**
* Gets the name of the selector against which to evaluate this operand.
*
* @return the selector name; non-null
*/
public String getSelectorName();
/**
* Gets the name of the property.
*
* @return the property name; non-null
*/
public String getPropertyName();
}
// EOF
|