Annotation Interface EntityMergeCollection


@Retention(RUNTIME) @Target(FIELD) public @interface EntityMergeCollection
This annotation signals that a field is merged when using the EntityMergeService. defaultMerge() signals if a field is to be merged automatically. If set to false it need to be handled in the mergeSpecialFields() method. toClone() signals if the value is to be cloned using the EntityClonerService while merging automatically. Collections often need to be handled separately.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
     
  • Element Details

    • defaultMerge

      boolean defaultMerge
      Default:
      true
    • toClone

      boolean toClone
      Default:
      true