Package io.jmix.ui.data.impl
Class EntityDataItem
java.lang.Object
io.jmix.ui.data.impl.EntityDataItem
- All Implemented Interfaces:
DataItem,DataItem.HasId,Serializable
Chart data item, which contains an instance of an entity.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.data.DataItem
DataItem.HasId -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
item
-
-
Constructor Details
-
EntityDataItem
-
-
Method Details
-
getValue
Returns the value of entity property with the specified property name.- Specified by:
getValuein interfaceDataItem- Parameters:
property- name of entity property- Returns:
- the value of entity property with the specified property name.
- If property value is an instance of
Collection, then method returnsListofEntityDataItem. - Otherwise method returns value by
EntityValues.getValueEx(Object, String)
- If property value is an instance of
-
getItem
- Returns:
- contained entity
-
getId
- Specified by:
getIdin interfaceDataItem.HasId- Returns:
- unique identifier of DataItem
-