javax.jcr.query.qom
Interface Length

All Superinterfaces:
DynamicOperand, Operand

public interface Length
extends DynamicOperand

Evaluates to the length (or lengths, if multi-valued) of a property.

The length should be computed as though the getLength method (or getLengths, if multi-valued) of javax.jcr.Property were called.

If propertyValue evaluates to null, the Length operand also evaluates to null.

Since:
JCR 2.0

Method Summary
 PropertyValue getPropertyValue()
          Gets the property value for which to compute the length.
 

Method Detail

getPropertyValue

PropertyValue getPropertyValue()
Gets the property value for which to compute the length.

Returns:
the property value; non-null