Package io.jmix.dynmodel
Class DynamicValuesChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.dynmodel.DynamicValuesChangedEvent
- All Implemented Interfaces:
Serializable
@NullMarked
public class DynamicValuesChangedEvent
extends org.springframework.context.ApplicationEvent
Published before commit when the dynamic attribute values of a static entity are stored, carrying the
names of the attributes whose values changed. Saving a static entity where only dynamic values changed
produces no
EntityChangedEvent, so listeners that need to react to dynamic
value changes subscribe to this event instead.- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
entityId
-
metaClass
-
changedAttributes
-
-
Constructor Details
-
DynamicValuesChangedEvent
-
-
Method Details
-
getEntityId
- Returns:
- id of the saved static entity
-
getMetaClass
- Returns:
- meta class of the saved static entity
-
getChangedAttributes
- Returns:
- names of the dynamic attributes whose values were created, updated or cleared
-