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 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

    Modifier and Type
    Method
    Description
    Gets the property value for which to compute the length.
  • Method Details

    • getPropertyValue

      PropertyValue getPropertyValue()
      Gets the property value for which to compute the length.
      Returns:
      the property value; non-null