| Package | Description |
|---|---|
| org.jmolecules.ddd.types |
Types to define Domain-Driven Design building blocks.
|
| Modifier and Type | Interface and 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 an
AggregateRoot. |
interface |
Repository<T extends AggregateRoot<T,ID>,ID extends Identifier>
Identifies a
Repository. |
| 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. |
Copyright © 2023. All rights reserved.