Class FocalMappingSpec
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.focus.FocalMappingSpec
-
- All Implemented Interfaces:
MappingPreExpression
,ShortDumpable
public class FocalMappingSpec extends Object implements ShortDumpable, MappingPreExpression
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description FocalMappingSpec(AutoassignMappingType autoassignMappingType, AbstractRoleType role)
FocalMappingSpec(ObjectTemplateMappingType objectTemplateMappingType, ObjectTemplateType objectTemaplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition,AH extends AssignmentHolderType>
Source<V,D>constructDefaultSource(ObjectDeltaObject<AH> focusOdo)
AutoassignMappingType
getAutoassignMappingType()
ObjectTemplateMappingEvaluationPhaseType
getEvaluationPhase()
MappingType
getMappingType()
ObjectTemplateMappingType
getObjectTemplateMappingType()
<O extends ObjectType>
OgetOriginObject()
void
mappingPreExpression(ExpressionEvaluationContext context)
Executed before mapping expression is executed.void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.-
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, shortDumpLazily
-
-
-
-
Constructor Detail
-
FocalMappingSpec
public FocalMappingSpec(ObjectTemplateMappingType objectTemplateMappingType, ObjectTemplateType objectTemaplate)
-
FocalMappingSpec
public FocalMappingSpec(AutoassignMappingType autoassignMappingType, AbstractRoleType role)
-
-
Method Detail
-
getObjectTemplateMappingType
public ObjectTemplateMappingType getObjectTemplateMappingType()
-
getAutoassignMappingType
public AutoassignMappingType getAutoassignMappingType()
-
getMappingType
public MappingType getMappingType()
-
constructDefaultSource
public <V extends PrismValue,D extends ItemDefinition,AH extends AssignmentHolderType> Source<V,D> constructDefaultSource(ObjectDeltaObject<AH> focusOdo) throws SchemaException
- Throws:
SchemaException
-
mappingPreExpression
public void mappingPreExpression(ExpressionEvaluationContext context) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, SecurityViolationException
Executed before mapping expression is executed. It is used to populate the assignment. We need to do that just before mapping expression is executed, because we want all the sources and variables set the same way as mapping is set.
-
getOriginObject
public <O extends ObjectType> O getOriginObject()
-
getEvaluationPhase
public ObjectTemplateMappingEvaluationPhaseType getEvaluationPhase()
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
-