Class Construction<AH extends AssignmentHolderType>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.AbstractConstruction<AH,ConstructionType>
-
- com.evolveum.midpoint.model.impl.lens.Construction<AH>
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class Construction<AH extends AssignmentHolderType> extends AbstractConstruction<AH,ConstructionType>
Live class that contains "construction" - a definition how to construct a resource object. It in fact reflects the definition of ConstructionType but it also contains "live" objects and can evaluate the construction. It also contains intermediary and side results of the evaluation.- Author:
- Radovan Semancik
This class is Serializable but it is not in fact serializable. It implements Serializable interface only to be storable in the PrismPropertyValue.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Construction.ResolvedResource
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description Construction(ConstructionType constructionType, ObjectType source)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.model.impl.lens.AbstractConstruction
getAssignmentPath, getChannel, getConstructionType, getDescription, getFocusOdo, getLensContext, getObjectResolver, getOriginType, getRelativityMode, getSource, getWasValid, isValid, isWeak, setAssignmentPath, setChannel, setFocusOdo, setLensContext, setObjectResolver, setOriginType, setRelativityMode, setSource, setValid, setWasValid
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
Construction
public Construction(ConstructionType constructionType, ObjectType source)
-
-
Method Detail
-
getMappingFactory
public MappingFactory getMappingFactory()
-
setMappingFactory
public void setMappingFactory(MappingFactory mappingFactory)
-
getMappingEvaluator
public MappingEvaluator getMappingEvaluator()
-
setMappingEvaluator
public void setMappingEvaluator(MappingEvaluator mappingEvaluator)
-
getSystemConfiguration
public PrismObject<SystemConfigurationType> getSystemConfiguration()
-
setSystemConfiguration
public void setSystemConfiguration(PrismObject<SystemConfigurationType> systemConfiguration)
-
setRefinedObjectClassDefinition
public void setRefinedObjectClassDefinition(RefinedObjectClassDefinition refinedObjectClassDefinition)
-
getAuxiliaryObjectClassDefinitions
public List<RefinedObjectClassDefinition> getAuxiliaryObjectClassDefinitions()
-
addAuxiliaryObjectClassDefinition
public void addAuxiliaryObjectClassDefinition(RefinedObjectClassDefinition auxiliaryObjectClassDefinition)
-
getKind
public ShadowKindType getKind()
-
getIntent
public String getIntent()
-
getAttributeMappings
public Collection<MappingImpl<? extends PrismPropertyValue<?>,? extends PrismPropertyDefinition<?>>> getAttributeMappings()
-
addAttributeMapping
public void addAttributeMapping(MappingImpl<? extends PrismPropertyValue<?>,? extends PrismPropertyDefinition<?>> mapping)
-
getAssociationMappings
public Collection<MappingImpl<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>>> getAssociationMappings()
-
addAssociationMapping
public void addAssociationMapping(MappingImpl<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>> mapping)
-
getResource
public ResourceType getResource()
-
getResourceOid
public String getResourceOid()
-
evaluate
public void evaluate(Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, SecurityViolationException, ConfigurationException, CommunicationException
-
findAttributeDefinition
public <T> RefinedAttributeDefinition<T> findAttributeDefinition(QName attributeName)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractConstruction<AH extends AssignmentHolderType,ConstructionType>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractConstruction<AH extends AssignmentHolderType,ConstructionType>
-
debugDump
public String debugDump(int indent)
-
isIgnored
public boolean isIgnored()
Should this construction be ignored e.g. because the resource couldn't be resolved? The construction was already evaluated.- Specified by:
isIgnored
in classAbstractConstruction<AH extends AssignmentHolderType,ConstructionType>
-
-