Class TargetObjectSpecification<T extends AssignmentHolderType>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.mappings.TargetObjectSpecification<T>
-
- Direct Known Subclasses:
FixedTargetSpecification
,SelfTargetSpecification
public abstract class TargetObjectSpecification<T extends AssignmentHolderType> extends Object
Tells MappingSetEvaluator how to find target object. It can be either the source object itself (standard template mappings, assigned focus mappings) or another object (persona mappings). It can be fixed or derived from current ODO that is being updated as mappings are evaluated. (Currently we use only fixed target specification.)
-
-
Constructor Summary
Constructors Constructor Description TargetObjectSpecification()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <AH extends AssignmentHolderType>
PrismObject<T>getTargetObject(ObjectDeltaObject<AH> updatedFocusOdo)
abstract boolean
isUpdatedWithMappingResults()
-
-
-
Method Detail
-
getTargetObject
public abstract <AH extends AssignmentHolderType> PrismObject<T> getTargetObject(ObjectDeltaObject<AH> updatedFocusOdo)
- Returns:
- The target object that is to be provided to the mapping evaluator. It is needed e.g. to find current values of mapping target item.
-
isUpdatedWithMappingResults
public abstract boolean isUpdatedWithMappingResults()
- Returns:
- Should the target be updated with mapping results?
-
-