public interface KeyValueContainer extends InstanceContainer<io.jmix.core.entity.KeyValueEntity>
KeyValueEntity
instance.InstanceContainer.ItemChangeEvent<T>, InstanceContainer.ItemPropertyChangeEvent<T>
Modifier and Type | Method and Description |
---|---|
KeyValueContainer |
addProperty(java.lang.String name)
Adds a string property to the meta-class of this loader.
|
KeyValueContainer |
addProperty(java.lang.String name,
java.lang.Class aClass)
Adds a property of the given Java class to the meta-class of this loader.
|
KeyValueContainer |
addProperty(java.lang.String name,
io.jmix.core.metamodel.datatype.Datatype datatype)
Adds a property of the given datatype to the meta-class of this loader.
|
java.lang.String |
getIdName()
Returns the name of a property that represents the entity id.
|
KeyValueContainer |
setIdName(java.lang.String name)
Sets the name of a property that represents the entity id.
|
addItemChangeListener, addItemPropertyChangeListener, getEntityMetaClass, getFetchPlan, getItem, getItemOrNull, getView, mute, setFetchPlan, setItem, setView, unmute
KeyValueContainer setIdName(java.lang.String name)
@Nullable java.lang.String getIdName()
KeyValueContainer addProperty(java.lang.String name)
KeyValueContainer addProperty(java.lang.String name, java.lang.Class aClass)
KeyValueContainer addProperty(java.lang.String name, io.jmix.core.metamodel.datatype.Datatype datatype)