T - The entity type@Internal
public class DefaultEntityEventContext<T>
extends java.lang.Object
implements io.micronaut.data.event.EntityEventContext<T>
EntityEventContext interface.| Constructor and Description |
|---|
DefaultEntityEventContext(io.micronaut.data.model.runtime.RuntimePersistentEntity<T> persistentEntity,
T entity) |
| Modifier and Type | Method and Description |
|---|---|
T |
getEntity() |
io.micronaut.data.model.runtime.RuntimePersistentEntity<T> |
getPersistentEntity() |
<P> void |
setProperty(io.micronaut.core.beans.BeanProperty<T,P> property,
P newValue) |
@NonNull public T getEntity()
getEntity in interface io.micronaut.data.event.EntityEventContext<T>public <P> void setProperty(io.micronaut.core.beans.BeanProperty<T,P> property, P newValue)
setProperty in interface io.micronaut.data.event.EntityEventContext<T>