Uses of Interface
org.jmolecules.ddd.types.Association
Packages that use Association
-
Uses of Association in org.jmolecules.ddd.types
Classes in org.jmolecules.ddd.types that implement AssociationModifier and TypeClassDescription(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 AssociationModifier 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
.Methods in org.jmolecules.ddd.types with parameters of type AssociationModifier and TypeMethodDescriptiondefault boolean
Association.pointsToSameAggregateAs
(Association<?, ID> other) Returns whether the currentAssociation
points to the sameAggregateRoot
as the given one.