Interface MergeFromRepositoryOrFactory<T>


  • public interface MergeFromRepositoryOrFactory<T>
    An element of the DSL allowing to specify the behavior when aggregates cannot be found in the repository.
    • Method Detail

      • orFromFactory

        T orFromFactory()
        Returns the aggregates, allowing to create aggregates with its Factory when they cannot be loaded from the repository.It uses the FactoryArgument annotation on the DTO to find the factory method parameters.
        Returns:
        the next element in the DSL.