T
- The generic type of the entitypublic interface EntityEventContext<T> extends PersistenceEventContext<T>
Modifier and Type | Method and Description |
---|---|
T |
getEntity() |
<P> void |
setProperty(io.micronaut.core.beans.BeanProperty<T,P> property,
P newValue)
Sets a property to its new value.
|
default boolean |
supportsEventSystem() |
getPersistentEntity
@NonNull T getEntity()
<P> void setProperty(io.micronaut.core.beans.BeanProperty<T,P> property, P newValue)
getEntity()
will return the updated entity.P
- THe property typeproperty
- The propertynewValue
- The new valuedefault boolean supportsEventSystem()