Package io.micronaut.data.runtime.event
Class DefaultEntityEventContext<T>
java.lang.Object
io.micronaut.data.runtime.event.DefaultEntityEventContext<T>
- Type Parameters:
T- The entity type
- All Implemented Interfaces:
io.micronaut.data.event.EntityEventContext<T>,io.micronaut.data.event.PersistenceEventContext<T>
@Internal
public class DefaultEntityEventContext<T>
extends Object
implements io.micronaut.data.event.EntityEventContext<T>
Default implementation of the
EntityEventContext interface.- Since:
- 2.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEntityEventContext(io.micronaut.data.model.runtime.RuntimePersistentEntity<T> persistentEntity, T entity) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.data.model.runtime.RuntimePersistentEntity<T><P> voidsetProperty(io.micronaut.core.beans.BeanProperty<T, P> property, P newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.data.event.EntityEventContext
supportsEventSystem
-
Constructor Details
-
DefaultEntityEventContext
-
-
Method Details
-
getEntity
- Specified by:
getEntityin interfaceio.micronaut.data.event.EntityEventContext<T>
-
setProperty
- Specified by:
setPropertyin interfaceio.micronaut.data.event.EntityEventContext<T>
-
getPersistentEntity
- Specified by:
getPersistentEntityin interfaceio.micronaut.data.event.PersistenceEventContext<T>
-