| Package | Description |
|---|---|
| org.jmolecules.ddd.types |
Types to define Domain-Driven Design building blocks.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends AggregateRoot<T,ID>,ID extends Identifier> |
Association.forAggregate(T aggregate)
|
static <T extends AggregateRoot<T,ID>,ID extends Identifier> |
Association.forId(ID identifier)
Creates an
Association pointing to the given Identifier. |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Association.pointsToSameAggregateAs(Association<?,ID> other)
Returns whether the current
Association points to the same AggregateRoot as the given one. |
Copyright © 2022. All rights reserved.