Package io.jmix.flowui.model
Interface KeyValueContainer
- All Superinterfaces:
- InstanceContainer<KeyValueEntity>
- All Known Subinterfaces:
- KeyValueCollectionContainer
- All Known Implementing Classes:
- KeyValueCollectionContainerImpl,- KeyValueContainerImpl
Container for a single 
KeyValueEntity instance.- 
Nested Class SummaryNested classes/interfaces inherited from interface io.jmix.flowui.model.InstanceContainerInstanceContainer.ItemChangeEvent<T>, InstanceContainer.ItemPropertyChangeEvent<T>
- 
Method SummaryModifier and TypeMethodDescriptionaddProperty(String name) Adds a string property to the meta-class of this loader.addProperty(String name, Datatype<?> datatype) Adds a property of the given datatype to the meta-class of this loader.addProperty(String name, Class<?> aClass) Adds a property of the given Java class to the meta-class of this loader.Creates newKeyValueEntityinstance initialized withidNameandinstanceMetaClassdefined for the data container.Returns the name of a property that represents the entity id.Sets the name of a property that represents the entity id.Methods inherited from interface io.jmix.flowui.model.InstanceContaineraddItemChangeListener, addItemPropertyChangeListener, getEntityMetaClass, getFetchPlan, getItem, getItemOrNull, mute, setFetchPlan, setItem, unmute
- 
Method Details- 
setIdNameSets the name of a property that represents the entity id.- Returns:
- this instance for chaining
 
- 
getIdNameReturns the name of a property that represents the entity id.
- 
addPropertyAdds a string property to the meta-class of this loader.- Returns:
- this instance for chaining
 
- 
addPropertyAdds a property of the given Java class to the meta-class of this loader. The Java class can be an entity or a datatype.- Returns:
- this instance for chaining
 
- 
addPropertyAdds a property of the given datatype to the meta-class of this loader.- Returns:
- this instance for chaining
 
- 
createEntityKeyValueEntity createEntity()Creates newKeyValueEntityinstance initialized withidNameandinstanceMetaClassdefined for the data container.
 
-