V
- type of valuepublic interface EntityValueSource<E,V> extends ValueSource<V>, EntityDataUnit
Modifier and Type | Interface and Description |
---|---|
static class |
EntityValueSource.InstanceChangeEvent<E>
An event fired when related entity instance is changed.
|
ValueSource.ValueChangeEvent<V>
DataUnit.StateChangeEvent
Modifier and Type | Method and Description |
---|---|
io.jmix.core.common.event.Subscription |
addInstanceChangeListener(java.util.function.Consumer<EntityValueSource.InstanceChangeEvent<E>> listener) |
E |
getItem() |
io.jmix.core.metamodel.model.MetaPropertyPath |
getMetaPropertyPath() |
boolean |
isDataModelSecurityEnabled() |
addValueChangeListener, getType, getValue, isReadOnly, setValue
getEntityMetaClass
addStateChangeListener, getState
@Nullable E getItem()
io.jmix.core.metamodel.model.MetaPropertyPath getMetaPropertyPath()
boolean isDataModelSecurityEnabled()
io.jmix.core.common.event.Subscription addInstanceChangeListener(java.util.function.Consumer<EntityValueSource.InstanceChangeEvent<E>> listener)