org.apache.jackrabbit.spi.commons.query.jsr283.qom
Interface PropertyValue

All Superinterfaces:
DynamicOperand, Operand
All Known Implementing Classes:
PropertyValueImpl

public interface PropertyValue
extends DynamicOperand

Evaluates to the value (or values, if multi-valued) of a property.

If, for a node-tuple, the selector node does not have a property named property, the operand evaluates to null.

The query is invalid if:

Since:
JCR 2.0

Method Summary
 String getPropertyName()
          Gets the name of the property.
 String getSelectorName()
          Gets the name of the selector against which to evaluate this operand.
 

Method Detail

getSelectorName

String getSelectorName()
Gets the name of the selector against which to evaluate this operand.

Returns:
the selector name; non-null

getPropertyName

String getPropertyName()
Gets the name of the property.

Returns:
the property name; non-null


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.