Package org.seedstack.business.domain
Interface AggregateRoot<I>
-
- Type Parameters:
I- the type of the aggregate root identifier.
- All Superinterfaces:
Entity<I>,Producible
@DomainAggregateRoot public interface AggregateRoot<I> extends Entity<I>, Producible
Specialization ofEntitywhen acting as an aggregate root.The
BaseAggregateRootclass can be used as a base class for aggregate roots. It provides an implementation of theEntity.getId(),Entity.equals(Object)andEntity.hashCode()methods.- See Also:
DomainAggregateRoot,Entity