public class BeforeConvertEvent<E> extends RelationalEventWithEntity<E>
source| Constructor and Description |
|---|
BeforeConvertEvent(E instance) |
BeforeConvertEvent(E instance,
AggregateChange<E> change)
Deprecated.
since 2.1.4, use
BeforeConvertEvent(Object) as we don't expect an AggregateChange
before converting an aggregate. |
getEntity, getTypegetTimestampgetSource, toStringpublic BeforeConvertEvent(E instance)
instance - the saved entity. Must not be null.@Deprecated public BeforeConvertEvent(E instance, AggregateChange<E> change)
BeforeConvertEvent(Object) as we don't expect an AggregateChange
before converting an aggregate.instance - the saved entity. Must not be null.change - the AggregateChange encoding the actions to be performed on the database as change. Since
this event is fired before the conversion the change is actually empty, but contains information if the
aggregate is considered new in AggregateChange.getKind(). Must not be null.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.