Interface ModelMapperCloneable


public interface ModelMapperCloneable
There are cases during sandbox transition and tracking maintenance where we need to deep clone a Trackable entity. This is usually important during sandbox maintenance where a slightly modified copy of the original entity is created and stored. Generally, a default ModelMapper instance setup for deep cloning is used. However, on occasion, it is necessary to create a custom ModelMapper instance to use for this cloning to handle special cases. By implementing this interface, a domain class may provide a custom ModelMapper with custom configuration, which will be used instead of the default mapper for the cloning operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.modelmapper.ModelMapper
     
  • Method Details

    • cloneMe

      @NonNull org.modelmapper.ModelMapper cloneMe()