Class SimpleObjectMergeOperation

java.lang.Object
com.evolveum.midpoint.schema.merger.BaseMergeOperation<ObjectType>
com.evolveum.midpoint.schema.merger.SimpleObjectMergeOperation

public class SimpleObjectMergeOperation extends BaseMergeOperation<ObjectType>
  • Constructor Details

    • SimpleObjectMergeOperation

      public SimpleObjectMergeOperation(@Nullable @Nullable OriginMarker originMarker, @NotNull @NotNull ObjectType target, @NotNull @NotNull ObjectType source)
  • Method Details

    • isMergeSupported

      public static <O extends ObjectType> boolean isMergeSupported(@NotNull @NotNull PrismObject<O> target)
      Returns true if the merge is supported (and was reviewed, tested) for the given object type. Note:

      Naive/simple merge will work for all object types, however merge might create more duplicates for values (properties, containers) where natural key wasn't properly defined.
      Type Parameters:
      O -
      Parameters:
      target -
      Returns:
    • merge

      public static <O extends ObjectType> void merge(@NotNull @NotNull PrismObject<O> target, @NotNull @NotNull PrismObject<O> source) throws ConfigurationException, SchemaException
      Throws:
      ConfigurationException
      SchemaException