I
- the type of the aggregate root identifier.@DomainAggregateRoot public interface AggregateRoot<I> extends Entity<I>, Producible
Entity
when acting as an aggregate root.
The BaseAggregateRoot
class can be used as a base class for aggregate roots. It
provides an implementation of the Entity.getId()
, Entity.equals(Object)
and Entity.hashCode()
methods.
DomainAggregateRoot
,
Entity
Copyright © 2013-2018–2019 SeedStack. All rights reserved.