Package io.jmix.flowui.data
Interface EntityValueSource<E,V>
- All Superinterfaces:
DataUnit
,EntityDataUnit
,HasType<V>
,ValueSource<V>
- All Known Implementing Classes:
ContainerValueSource
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An event fired when related entity instance is changed.Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.data.ValueSource
ValueSource.ValueChangeEvent<V>
-
Method Summary
Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface io.jmix.flowui.data.EntityDataUnit
getEntityMetaClass
Methods inherited from interface io.jmix.flowui.data.ValueSource
addValueChangeListener, getValue, isReadOnly, setValue
-
Method Details
-
getItem
- Returns:
- entity
-
getMetaPropertyPath
MetaPropertyPath getMetaPropertyPath()- Returns:
- property path
-
isDataModelSecurityEnabled
boolean isDataModelSecurityEnabled()- Returns:
- true if data model security check is required on data binding
-
addInstanceChangeListener
com.vaadin.flow.shared.Registration addInstanceChangeListener(Consumer<EntityValueSource.InstanceChangeEvent<E>> listener)
-