public class XpathUpdateQueryOperationExecutorStrategy extends java.lang.Object implements OperationExecutorStrategy
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_XPATH_UPDATE_QUERY |
| Constructor and Description |
|---|
XpathUpdateQueryOperationExecutorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
computeNewValueForLeftOperand(SOperation operation,
java.lang.Object value,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
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_XPATH_UPDATE_QUERY
public XpathUpdateQueryOperationExecutorStrategy()
public java.lang.String getOperationType()
getOperationType in interface OperationExecutorStrategypublic java.lang.Object computeNewValueForLeftOperand(SOperation operation, java.lang.Object value, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategyoperation - the operation in progressvalue - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionpublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategy