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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MT
mapping
protected @NotNull MappingKindType
mappingKind
protected OO
originObject
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition,AH extends AssignmentHolderType>
Source<V,D>constructDefaultSource(ObjectDeltaObject<AH> focusOdo)
AssignmentPathVariables
getAssignmentPathVariables()
abstract ObjectTemplateMappingEvaluationPhaseType
getEvaluationPhase()
MT
getMapping()
@NotNull MappingKindType
getMappingKind()
MappingPreExpression
getMappingPreExpression()
OO
getOriginObject()
-
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 Detail
-
mapping
@NotNull protected final MT extends MappingType mapping
-
mappingKind
@NotNull protected final @NotNull MappingKindType mappingKind
-
originObject
@NotNull protected final OO extends ObjectType originObject
-
-
Method Detail
-
getMapping
@NotNull public MT getMapping()
-
constructDefaultSource
public <V extends PrismValue,D extends ItemDefinition,AH extends AssignmentHolderType> Source<V,D> constructDefaultSource(ObjectDeltaObject<AH> focusOdo) throws SchemaException
- Throws:
SchemaException
-
getMappingPreExpression
public MappingPreExpression getMappingPreExpression()
-
getOriginObject
@NotNull public OO getOriginObject()
-
getMappingKind
@NotNull public @NotNull MappingKindType getMappingKind()
-
getEvaluationPhase
public abstract ObjectTemplateMappingEvaluationPhaseType getEvaluationPhase()
- Returns:
- The phase this mapping should be evaluated in. If null, the mapping will be skipped if explicit evaluation phase is requested.
-
getAssignmentPathVariables
public AssignmentPathVariables getAssignmentPathVariables()
-
-