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) classSimpleAssociation<T extends AggregateRoot<T,ID>, ID extends Identifier> Simple implementation ofAssociationto 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 anAssociationpointing to the givenIdentifier.Methods in org.jmolecules.ddd.types with parameters of type AssociationModifier and TypeMethodDescriptiondefault booleanAssociation.pointsToSameAggregateAs(Association<?, ID> other) Returns whether the currentAssociationpoints to the sameAggregateRootas the given one.