Interface OperationExecutorStrategy

    • Method Detail

      • computeNewValueForLeftOperand

        java.lang.Object computeNewValueForLeftOperand​(SOperation operation,
                                                       java.lang.Object rightOperandValue,
                                                       SExpressionContext expressionContext,
                                                       boolean shouldPersistValue)
                                                throws SOperationExecutionException
        Calculates the new value of the left operand base of right operand expression value
        Parameters:
        operation - the operation in progress
        rightOperandValue - result of the evaluation of right operand expression
        expressionContext - the expression context
        shouldPersistValue - true if the right operand must be persisted (Business Data)
        Returns:
        the new value to set the left operand with
        Throws:
        SOperationExecutionException
      • getOperationType

        java.lang.String getOperationType()
      • shouldPersistOnNullValue

        boolean shouldPersistOnNullValue()
        Determines if the operation right value should be persisted when the value is evaluated to null.
        Returns:
        true if the the evaluated right value should be persisted; false otherwise.