Class ShadowDefinitionApplicator

java.lang.Object
com.evolveum.midpoint.schema.processor.ShadowDefinitionApplicator

public class ShadowDefinitionApplicator extends Object
Applies attributes and/or associations definitions to a shadow, delta, or query. It is instantiated for a specific ResourceObjectDefinition (see definition). Can be used for model-level and resource-level shadows, but *not for repository-level ones*. Generally, we don't replace definitions if they are of ShadowItemDefinition type; see requiresAttributeDefinitionApplication(ItemDefinition) and requiresAssociationDefinitionApplication(ItemDefinition). NOTE: Originally, this functionality was in `ShadowCaretaker` in the `provisioning-impl` module. In the future, maybe it should be part of standard `applyDefinition` mechanism. (But, we need some flexibility about lax mode and error handling.)
Author:
Radovan Semancik