public interface MergeAggregateWithRepositoryProvider<A extends AggregateRoot<?>>
| Modifier and Type | Method and Description |
|---|---|
A |
fromFactory()
Create the aggregate from its factory.
|
MergeAggregateWithRepositoryThenFactoryProvider<A> |
fromRepository()
Loads the aggregate from its repository.
|
MergeAggregateWithRepositoryThenFactoryProvider<A> fromRepository()
It uses the MatchingEntityId annotation on
the DTO to find the aggregate ID.
A fromFactory()
It uses the MatchingFactoryParameter annotation on
the DTO to find the factory method parameters.
Copyright © 2013-2016–2016 SeedStack. All rights reserved.