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

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

public interface Length
extends DynamicOperand

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

The length is 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


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