T - the type of the referenced aggregate root.ID - the type of the id of the referenced aggregate root.public interface AggregateReference<T,ID>
| Modifier and Type | Interface and Description |
|---|---|
static class |
AggregateReference.IdOnlyAggregateReference<T,ID>
An
AggregateReference that only holds the id of the referenced aggregate root. |
| Modifier and Type | Method and Description |
|---|---|
ID |
getId() |
static <T,ID> AggregateReference<T,ID> |
to(ID id) |
static <T,ID> AggregateReference<T,ID> to(ID id)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.