Class GroupSortInfoImpl<E>

java.lang.Object
io.jmix.groupgridflowui.component.GroupSortInfoImpl<E>
Type Parameters:
E - the type of the entity associated with the group column
All Implemented Interfaces:
GroupSortInfo<E>, PropertySortInfo

public class GroupSortInfoImpl<E> extends Object implements GroupSortInfo<E>
Implementation of the GroupSortInfo interface, representing sort information for a group column in a data structure.
  • Field Details

  • Constructor Details

  • Method Details

    • getGroupingSortInfos

      public List<ColumnSortInfo<E>> getGroupingSortInfos()
      Specified by:
      getGroupingSortInfos in interface GroupSortInfo<E>
      Returns:
      the list of sort information for the grouping columns
    • getMetaPropertyPath

      public @Nullable MetaPropertyPath getMetaPropertyPath()
      Specified by:
      getMetaPropertyPath in interface PropertySortInfo
      Returns:
      the meta property path associated with this sort info, or null if the column is not bound to a meta property path
    • getGroupColumn

      public @Nullable GroupDataGridColumn<E> getGroupColumn()
      Description copied from interface: GroupSortInfo
      Returns the group column associated with this sort info, or null if sorting occurs without explicitly specifying a group column.
      Specified by:
      getGroupColumn in interface GroupSortInfo<E>
      Returns:
      the group column
    • isAscending

      public boolean isAscending()
      Specified by:
      isAscending in interface PropertySortInfo
      Returns:
      true if the sort is ascending, false otherwise