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
-
-
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
-
getOrderOneObject
public ObjectType getOrderOneObject()
-
setOrderOneObject
public void setOrderOneObject(ObjectType orderOneObject)
-
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)
-
getRefinedObjectClassDefinition
public RefinedObjectClassDefinition getRefinedObjectClassDefinition()
-
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()
-
getAttributeMapping
public MappingImpl<? extends PrismPropertyValue<?>,? extends PrismPropertyDefinition<?>> getAttributeMapping(QName attrName)
-
addAttributeMapping
public void addAttributeMapping(MappingImpl<? extends PrismPropertyValue<?>,? extends PrismPropertyDefinition<?>> mapping)
-
containsAttributeMapping
public boolean containsAttributeMapping(QName attributeName)
-
getAssociationMappings
public Collection<MappingImpl<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>>> getAssociationMappings()
-
addAssociationMapping
public void addAssociationMapping(MappingImpl<PrismContainerValue<ShadowAssociationType>,PrismContainerDefinition<ShadowAssociationType>> mapping)
-
containsAssociationMapping
public boolean containsAssociationMapping(QName assocName)
-
getResource
public ResourceType getResource(Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
-
evaluate
public void evaluate(Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, SecurityViolationException, ConfigurationException, CommunicationException
-
findAttributeDefinition
public <T> RefinedAttributeDefinition<T> findAttributeDefinition(QName attributeName)
-
hasValueForAttribute
public boolean hasValueForAttribute(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)
-
-