T
- type of enclosed entityNested
APIs instead.@Deprecated public interface NestedDatasource<T extends io.jmix.core.Entity> extends Datasource<T>
Usually defined in XML descriptor inside the parent datasource element.
Datasource.CommitMode, Datasource.ItemChangeEvent<T extends io.jmix.core.Entity>, Datasource.ItemChangeListener<T extends io.jmix.core.Entity>, Datasource.ItemPropertyChangeEvent<T extends io.jmix.core.Entity>, Datasource.ItemPropertyChangeListener<T extends io.jmix.core.Entity>, Datasource.State, Datasource.StateChangeEvent<T extends io.jmix.core.Entity>, Datasource.StateChangeListener<T extends io.jmix.core.Entity>
Modifier and Type | Method and Description |
---|---|
Datasource |
getMaster()
Deprecated.
|
io.jmix.core.metamodel.model.MetaProperty |
getProperty()
Deprecated.
|
void |
setup(java.lang.String id,
Datasource masterDs,
java.lang.String property)
Deprecated.
Setup the datasource right after creation.
|
addItemChangeListener, addItemPropertyChangeListener, addStateChangeListener, commit, getCommitMode, getDataSupplier, getDsContext, getId, getItem, getItemIfValid, getLoadDynamicAttributes, getMetaClass, getState, getView, invalidate, isAllowCommit, isModified, refresh, removeItemChangeListener, removeItemPropertyChangeListener, removeStateChangeListener, setAllowCommit, setItem, setLoadDynamicAttributes, setup
void setup(java.lang.String id, Datasource masterDs, java.lang.String property) throws java.lang.UnsupportedOperationException
id
- datasource IDmasterDs
- master datasourceproperty
- property of the master datasource to bound this datasource tojava.lang.UnsupportedOperationException
- if an implementation doesn't support this methodDatasource getMaster()
io.jmix.core.metamodel.model.MetaProperty getProperty()