public abstract class BaseDtoInfoResolver extends Object implements DtoInfoResolver
DtoInfoResolver.| Modifier | Constructor and Description |
|---|---|
protected |
BaseDtoInfoResolver(DomainRegistry domainRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected <A extends AggregateRoot<?>> |
createFromFactory(Class<A> aggregateClass,
Object... parameters)
Implements the logic to create an aggregate.
|
protected <I> I |
createIdentifier(Class<I> aggregateIdClass,
I id,
Object... parameters)
Implements the logic to create an aggregate identifier, using a factory if the identifier class
implements
Producible. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveAggregate, resolveAggregate, resolveId, resolveId, supportsprotected BaseDtoInfoResolver(DomainRegistry domainRegistry)
protected <I> I createIdentifier(Class<I> aggregateIdClass, I id, Object... parameters)
Producible.I - the type of the aggregate root identifier.aggregateIdClass - the identifier class.id - the existing identifier if any.parameters - the parameters to pass to the factory if any.protected <A extends AggregateRoot<?>> A createFromFactory(Class<A> aggregateClass, Object... parameters)
A - the type of the aggregate root.aggregateClass - the aggregate class.parameters - the parameters to pass to the factory if any.Copyright © 2013-2018–2019 SeedStack. All rights reserved.