Class LengthOperand

  • public class LengthOperand
    extends DynamicOperand
    LengthOperand implements a length operand.
    • Constructor Detail

      • LengthOperand

        public LengthOperand​(PropertyValueOperand property)
        Creates a new length operand.
        property - the operand for which to return the length.
    • Method Detail

      • getValues

        public Value[] getValues​(ScoreNode sn,
                                 EvaluationContext context)
                          throws RepositoryException
        Returns the values for the given score node sn of this dynamic operand. If there are no values for the given score node, then an empty array is returned.
        Specified by:
        getValues in class DynamicOperand
        sn - the current score node.
        context - the evaluation context.
        the values for the given score node.
        RepositoryException - if an error occurs while retrieving the value.