Class SequentialValueExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>>
java.lang.Object
com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<V,D,SequentialValueExpressionEvaluatorType>
com.evolveum.midpoint.model.impl.expr.SequentialValueExpressionEvaluator<V,D>
- All Implemented Interfaces:
ExpressionEvaluator<V>
public class SequentialValueExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>>
extends AbstractExpressionEvaluator<V,D,SequentialValueExpressionEvaluatorType>
Returns current value of a given sequence object. The value is returned in the zero set. Plus and minus sets are empty.
The value for a given sequence OID is stored in the model context, so it is returned each time this evaluator (with given
sequence OID) is invoked.
- Author:
- semancik
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
expressionEvaluatorBean, outputDefinition, prismContext, protector
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(ExpressionEvaluationContext context, OperationResult result) Executes the evaluation in a given context.static boolean
isAdvanceSequenceSafe
(ModelContext<?> context) Short characterization of the evaluator.Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
addInternalOrigin, applyValueMetadata, checkEvaluatorProfile, findInSourcesAndVariables, finishOutputTriple, getElementName, getOutputDefinition, getPrismContext, getProtector
-
Method Details
-
evaluate
public PrismValueDeltaSetTriple<V> evaluate(ExpressionEvaluationContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, SecurityViolationException Description copied from interface:ExpressionEvaluator
Executes the evaluation in a given context. The context provides necessary data, evaluator provides definition of processing that should be carried out.- Returns:
- Result of the evaluation in the form of delta set triple (i.e. added, deleted, unchanged values).
- Throws:
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
SecurityViolationException
-
isAdvanceSequenceSafe
-
shortDebugDump
Description copied from interface:ExpressionEvaluator
Short characterization of the evaluator. One line, often only a single word.
-