Uses of Interface
org.jmolecules.ddd.types.AggregateRoot
Packages that use AggregateRoot
-
Uses of AggregateRoot in org.jmolecules.ddd.types
Classes in org.jmolecules.ddd.types with type parameters of type AggregateRootModifier and TypeInterfaceDescriptioninterface
AggregateRoot<T extends AggregateRoot<T,
ID>, ID extends Identifier> Identifies an aggregate root, i.e.interface
Association<T extends AggregateRoot<T,
ID>, ID extends Identifier> An association to anAggregateRoot
.interface
Entity<T extends AggregateRoot<T,
?>, ID> Identifies anEntity
.interface
Repository<T extends AggregateRoot<T,
ID>, ID extends Identifier> Identifies aRepository
.(package private) class
SimpleAssociation<T extends AggregateRoot<T,
ID>, ID extends Identifier> Simple implementation ofAssociation
to effectively only defineSimpleAssociation.equals(Object)
andSimpleAssociation.hashCode()
onAssociation
's static factory methods.Methods in org.jmolecules.ddd.types with type parameters of type AggregateRootModifier and TypeMethodDescriptionstatic <T extends AggregateRoot<T,
ID>, ID extends Identifier>
Association<T, ID> Association.forAggregate
(T aggregate) static <T extends AggregateRoot<T,
ID>, ID extends Identifier>
Association<T, ID> Association.forId
(ID identifier) Creates anAssociation
pointing to the givenIdentifier
.