public class BeforeDeleteEvent extends RelationalEventWithId
AggregateChangeis mutable and may be changed in order to change the actions that get performed on the database as part of the delete operation.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the aggregate root the event was triggered for.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public BeforeDeleteEvent(Identifier.Specified id, Optional<Object> entity, AggregateChange change)
id- the id of the entity
entity- the entity about to get deleted. Might be empty.
AggregateChangeencoding the planned actions to be performed on the database.
public AggregateChange getChange()
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.