public interface RelationalEvent
Identifier
of the aggregate root affected by the
event.Modifier and Type | Method and Description |
---|---|
Identifier |
getId()
The identifier of the aggregate root, triggering this event.
|
Optional<Object> |
getOptionalEntity()
Returns the aggregate root the event was triggered for.
|
Identifier getId()
Identifier
. Guaranteed to be not null
.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.