Class Table.AggregationDistributionContext<E>

java.lang.Object
io.jmix.ui.component.Table.AggregationDistributionContext<E>
Type Parameters:
E - entity type
Direct Known Subclasses:
GroupTable.GroupAggregationDistributionContext
Enclosing interface:
Table<E>

public static class Table.AggregationDistributionContext<E> extends Object
Object that contains information about aggregation distribution.
  • Field Details

    • column

      protected Table.Column column
    • value

      protected Object value
    • scope

      protected Collection<E> scope
    • isTotalAggregation

      protected boolean isTotalAggregation
  • Constructor Details

    • AggregationDistributionContext

      public AggregationDistributionContext(Table.Column column, @Nullable Object value, Collection<E> scope, boolean isTotalAggregation)
  • Method Details

    • getColumn

      public Table.Column getColumn()
      Returns:
      a column
    • getColumnId

      public String getColumnId()
      Returns:
      a column id
    • getValue

      @Nullable public Object getValue()
      Returns:
      the new aggregation value
    • getScope

      public Collection<E> getScope()
      Returns:
      a collection of entities that will be affected by changed aggregation
    • isTotalAggregation

      public boolean isTotalAggregation()
      Returns:
      true if the total aggregation is shown, false if group aggregation is shown