Class ValueMetadataComputation
- java.lang.Object
-
- com.evolveum.midpoint.model.common.mapping.metadata.ValueMetadataComputation
-
- Direct Known Subclasses:
ConsolidationMetadataComputation
,TransformationalMetadataComputation
public abstract class ValueMetadataComputation extends Object
Computation of value metadata. It is used currently in two contexts: 1. During expression evaluation where zero, one, or more input values are combined to form zero, one, or multiple output vales. 2. During consolidation where a set of the same values (possibly with different metadata) are combined into single value with given metadata (that have to be derived from the constituents). Preliminary implementation. For example, - it does no real consolidation: it simply adds all values into respective items; - it works with simplified computation model: its input is simply a list of input values (regardless of their parent item).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ValueMetadataType
execute(OperationResult parentResult)
String
getContextDescription()
MappingEvaluationEnvironment
getEnv()
@Nullable MappingSpecificationType
getMappingSpecification()
@NotNull PrismContainerValue<ValueMetadataType>
getOutputMetadataValue()
@NotNull ValueMetadataType
getOutputMetadataValueBean()
MetadataMappingScopeType
getScope()
-
-
-
Method Detail
-
execute
@NotNull public @NotNull ValueMetadataType execute(OperationResult parentResult) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException
-
getScope
public MetadataMappingScopeType getScope()
-
getEnv
public MappingEvaluationEnvironment getEnv()
-
getContextDescription
public String getContextDescription()
-
getMappingSpecification
@Nullable public @Nullable MappingSpecificationType getMappingSpecification()
-
getOutputMetadataValue
@NotNull public @NotNull PrismContainerValue<ValueMetadataType> getOutputMetadataValue()
-
getOutputMetadataValueBean
@NotNull public @NotNull ValueMetadataType getOutputMetadataValueBean()
-
-