Package io.jmix.chartsflowui.data.item
Class SimpleDataItem
java.lang.Object
io.jmix.chartsflowui.data.item.SimpleDataItem
- All Implemented Interfaces:
 DataItem,Serializable
Data item, which contains an instance of any class.
- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetId()getItem()protected MethodsCachegetMethodsCache(Object object) Get a property value. 
- 
Field Details
- 
item
 
 - 
 - 
Constructor Details
- 
SimpleDataItem
 
 - 
 - 
Method Details
- 
getItem
 - 
getValue
Get a property value. Locates the property by the given path in object graph starting from this object.Each property in a class which will be used by
SimpleDataItemmust have apublicgetter method. Reflection is used to get property values.- Specified by:
 getValuein interfaceDataItem- Parameters:
 path- path to the attribute- Returns:
 - the value of a property with the specified property path
 
- If property value is an instance of 
Collection, then method returnsListofSimpleDataItem. - If any traversing property value is null, this method stops here and returns current value.
 - Otherwise, method returns getter value.
 
 - If property value is an instance of 
 
 - 
getMethodsCache
 - 
getId
 
 -