public abstract class RelationalDeleteEvent<E> extends AbstractRelationalEvent<E> implements WithId<E>, WithAggregateChange<E>
Identifier and an
AggregateChange and may also have an entity if the entity was provided to the method performing the delete.source| Modifier and Type | Method and Description |
|---|---|
AggregateChange<E> |
getAggregateChange() |
E |
getEntity() |
Identifier |
getId()
Events with an identifier will always return a
Identifier one. |
Class<E> |
getType() |
getTimestampgetSource, toStringpublic Identifier getId()
WithIdIdentifier one.@Nullable public E getEntity()
getEntity in interface RelationalEvent<E>public AggregateChange<E> getAggregateChange()
getAggregateChange in interface WithAggregateChange<E>public Class<E> getType()
getType in interface RelationalEvent<E>Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.