Package javax.jcr.query.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 should be computed as though the
getLength
method (orgetLengths
, if multi-valued) ofjavax.jcr.Property
were called.If
propertyValue
evaluates to null, theLength
operand also evaluates to null.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-