public class AfterLoadEvent extends RelationalEventWithIdAndEntity
source| Constructor and Description |
|---|
AfterLoadEvent(Identifier.Specified id,
Object entity) |
| Modifier and Type | Method and Description |
|---|---|
AggregateChange |
getChange() |
Optional<Object> |
getOptionalEntity()
Returns the aggregate root the event was triggered for.
|
getIdgetTimestampgetSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntitygetId, getOptionalEntitypublic AfterLoadEvent(Identifier.Specified id, Object entity)
id - of the entityentity - the newly instantiated entity.public Optional<Object> getOptionalEntity()
RelationalEventgetOptionalEntity in interface RelationalEventnull.public AggregateChange getChange()
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.