Class BaseItemMerger<T extends Item<?,?>> 
java.lang.Object
com.evolveum.midpoint.schema.merger.BaseItemMerger<T>
- All Implemented Interfaces:
 ItemMerger
- Direct Known Subclasses:
 AdminGuiConfigurationMerger,AssignmentMerger,GenericItemMerger,LimitationsMerger,ObjectTypeDefinitionMerger
Provides common functionality for the majority for (non-trivial) item mergers.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @Nullable OriginMarkerMarks any values inherited from "source" to "target" with appropriate (presumably source-related) origin.static final @NotNull ParameterizedEquivalenceStrategyWe ignore value metadata when comparing (because inherited values do have them) - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected <C extends Containerable>
CcreateMarkedClone(C sourceValue) voidmerge(@NotNull ItemName itemName, @NotNull PrismContainerValue<?> targetParent, @NotNull PrismContainerValue<?> sourceParent) Merges all data about specific item (named `itemName`) from `source` container value to `target` one, according to (its own) strategy.protected abstract voidmergeInternal(T target, T source)  
- 
Field Details
- 
VALUE_COMPARISON_STRATEGY
We ignore value metadata when comparing (because inherited values do have them) - 
originMarker
Marks any values inherited from "source" to "target" with appropriate (presumably source-related) origin. 
 - 
 - 
Constructor Details
- 
BaseItemMerger
 
 - 
 - 
Method Details
- 
merge
public void merge(@NotNull @NotNull ItemName itemName, @NotNull @NotNull PrismContainerValue<?> targetParent, @NotNull @NotNull PrismContainerValue<?> sourceParent) throws ConfigurationException, SchemaException Description copied from interface:ItemMergerMerges all data about specific item (named `itemName`) from `source` container value to `target` one, according to (its own) strategy. So, `source` is not modified; the `target` is. The implementation is responsible for setting origin information on all prism values copied from `source` to `target`.- Specified by:
 mergein interfaceItemMerger- Throws:
 ConfigurationExceptionSchemaException
 - 
createMarkedClone
- Throws:
 SchemaException
 - 
mergeInternal
protected abstract void mergeInternal(@NotNull T target, @NotNull T source) throws ConfigurationException, SchemaException  
 -