Package io.jmix.core.event
Class EntitySavingEvent<E>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.event.AbstractEntityEvent
io.jmix.core.event.EntitySavingEvent<E>
- Type Parameters:
- E- entity type
- All Implemented Interfaces:
- Serializable,- org.springframework.core.ResolvableTypeProvider
A Spring application event which is sent when the entity is saved to the data store.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionEntitySavingEvent(Object source, MetaClass metaClass, E entity, boolean isNewEntity) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the entity being saved.booleanTrue if the entity is new, i.e.toString()Methods inherited from class io.jmix.core.event.AbstractEntityEventgetResolvableTypeMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
EntitySavingEvent
 
- 
- 
Method Details- 
getEntityReturns the entity being saved.
- 
isNewEntitypublic boolean isNewEntity()True if the entity is new, i.e. it is being created in the data store.
- 
toString- Overrides:
- toStringin class- EventObject
 
 
-