Class FocalMappingEvaluationRequest<MT extends MappingType,OO extends ObjectType>
java.lang.Object
com.evolveum.midpoint.model.impl.lens.projector.mappings.FocalMappingEvaluationRequest<MT,OO>
- All Implemented Interfaces:
ShortDumpable
,Serializable
- Direct Known Subclasses:
AssignedFocusMappingEvaluationRequest
,AutoassignRoleMappingEvaluationRequest
,TemplateMappingEvaluationRequest
public abstract class FocalMappingEvaluationRequest<MT extends MappingType,OO extends ObjectType>
extends Object
implements ShortDumpable, Serializable
Contains some of the information necessary to evaluate a mapping. It is used when mappings are collected e.g. from
template and its referenced sub-templates, auto-assigned roles, or (in the future) assignments. Each of these mappings need
to go along some minimal context (e.g. the holding template, role, or assignment path) that is to be used when mapping
is evaluated.
- Author:
- semancik
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final MT
protected final @NotNull MappingKindType
protected final OO
This field is used e.g. -
Method Summary
Modifier and TypeMethodDescription<V extends PrismValue,
D extends ItemDefinition<?>, AH extends AssignmentHolderType>
Source<V,D> constructDefaultSource
(ObjectDeltaObject<AH> focusOdo) @NotNull MappingKindType
@NotNull ConfigurationItemOrigin
@NotNull List<VariableBindingDefinitionType>
@Nullable VariableBindingDefinitionType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
-
Field Details
-
mapping
-
mappingKind
-
originObject
This field is used e.g. to fillExpressionConstants.VAR_SOURCE
variable, and for other uses. It should no longer be used to provide diagnostic info about mapping definition location. ThemappingOrigin
should be used instead.
-
-
Method Details
-
getMapping
-
getMappingOrigin
-
getSources
-
getTarget
-
constructDefaultSource
public <V extends PrismValue,D extends ItemDefinition<?>, Source<V,AH extends AssignmentHolderType> D> constructDefaultSource(ObjectDeltaObject<AH> focusOdo) throws SchemaException - Throws:
SchemaException
-
getMappingPreExpression
-
getOriginObject
-
getMappingKind
-
getEvaluationPhase
- Returns:
- The phase this mapping should be evaluated in. If null, the mapping will be skipped if explicit evaluation phase is requested.
-
getAssignmentPathVariables
-