Package io.jmix.groupgridflowui.data
Class BaseGroupInfo
java.lang.Object
io.jmix.groupgridflowui.data.BaseGroupInfo
- All Implemented Interfaces:
GroupInfo
Class contains information about the current cell value and cell value of parent group columns.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.commons.collections4.map.LinkedMap<GroupProperty,Object> protected GroupPropertyprotected GroupInfo -
Constructor Summary
ConstructorsConstructorDescriptionBaseGroupInfo(GroupInfo parent, org.apache.commons.collections4.map.LinkedMap<GroupProperty, Object> groupingValues) -
Method Summary
Modifier and TypeMethodDescriptionboolean<T> TgetPropertyValue(GroupProperty property) Returns the value by group property.<T> TgetValue()Returns the value of the group property.inthashCode()toString()
-
Field Details
-
groupingValues
-
groupProperty
-
parent
-
-
Constructor Details
-
BaseGroupInfo
public BaseGroupInfo(@Nullable GroupInfo parent, org.apache.commons.collections4.map.LinkedMap<GroupProperty, Object> groupingValues)
-
-
Method Details
-
getParent
-
getPropertyValue
Description copied from interface:GroupInfoReturns the value by group property. If the group is a child, it also provides property values of the parent groups.- Specified by:
getPropertyValuein interfaceGroupInfo- Type Parameters:
T- property value type- Parameters:
property- group property- Returns:
- group property value or
null
-
getProperty
- Specified by:
getPropertyin interfaceGroupInfo- Returns:
- group property
-
getValue
@Nullable public <T> T getValue()Description copied from interface:GroupInfoReturns the value of the group property. -
toString
-
equals
-
hashCode
public int hashCode()
-