public class JavaMethodOperationExecutorStrategy extends java.lang.Object implements OperationExecutorStrategy
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_JAVA_METHOD |
| Constructor and Description |
|---|
JavaMethodOperationExecutorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
computeNewValueForLeftOperand(SOperation operation,
java.lang.Object valueToSetObjectWith,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
protected java.lang.String |
extractMethodName(SOperation operation) |
protected java.lang.Object |
extractObjectToInvokeFromContext(SOperation operation,
SExpressionContext expressionContext) |
protected java.lang.String |
extractParameterType(SOperation operation) |
java.lang.String |
getOperationType() |
boolean |
shouldPersistOnNullValue()
Determines if the operation right value should be persisted when the value is evaluated to null.
|
public static final java.lang.String TYPE_JAVA_METHOD
public java.lang.Object computeNewValueForLeftOperand(SOperation operation, java.lang.Object valueToSetObjectWith, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategyoperation - the operation in progressvalueToSetObjectWith - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionprotected java.lang.String extractParameterType(SOperation operation)
protected java.lang.String extractMethodName(SOperation operation)
protected java.lang.Object extractObjectToInvokeFromContext(SOperation operation, SExpressionContext expressionContext) throws SOperationExecutionException
SOperationExecutionExceptionpublic java.lang.String getOperationType()
getOperationType in interface OperationExecutorStrategypublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategy