Uses of Interface
org.jmolecules.ddd.types.Association
-
Packages that use Association Package Description org.jmolecules.ddd.types Types to define Domain-Driven Design building blocks. -
-
Uses of Association in org.jmolecules.ddd.types
Classes in org.jmolecules.ddd.types that implement Association Modifier and Type Class Description (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 that return Association 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
.Methods in org.jmolecules.ddd.types with parameters of type Association Modifier and Type Method Description default boolean
Association. pointsToSameAggregateAs(Association<?,ID> other)
Returns whether the currentAssociation
points to the sameAggregateRoot
as the given one.
-