Class GenericItemMerger

  • All Implemented Interfaces:
    ItemMerger

    public class GenericItemMerger
    extends BaseItemMerger<Item<?,​?>>
    The generic item merger that follows these rules: 1. Matching property and reference values are overridden. 2. Matching container values are merged recursively (using configured mergers for children). What are _matching_ values? 1. For single-valued items the values at source and target sides are automatically considered matching. 2. For multi-valued items with a natural key defined, the values having the same key are considered matching. 3. For multi-valued items without a natural key, no values are matching.