Uses of Interface
org.jmolecules.ddd.types.AggregateRoot
-
Packages that use AggregateRoot Package Description org.jmolecules.ddd.types Types to define Domain-Driven Design building blocks. -
-
Uses of AggregateRoot in org.jmolecules.ddd.types
Classes in org.jmolecules.ddd.types with type parameters of type AggregateRoot Modifier and Type Interface Description interface
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 AggregateRoot Modifier and Type Method Description static <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
.
-