Package io.jmix.ui.component
Class Table.AggregationDistributionContext<E>
java.lang.Object
io.jmix.ui.component.Table.AggregationDistributionContext<E>
- Type Parameters:
E
- entity type
- Direct Known Subclasses:
GroupTable.GroupAggregationDistributionContext
Object that contains information about aggregation distribution.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Table.Column
protected boolean
protected Collection<E>
protected Object
-
Constructor Summary
ConstructorDescriptionAggregationDistributionContext
(Table.Column column, Object value, Collection<E> scope, boolean isTotalAggregation) -
Method Summary
-
Field Details
-
column
-
value
-
scope
-
isTotalAggregation
protected boolean isTotalAggregation
-
-
Constructor Details
-
AggregationDistributionContext
public AggregationDistributionContext(Table.Column column, @Nullable Object value, Collection<E> scope, boolean isTotalAggregation)
-
-
Method Details
-
getColumn
- Returns:
- a column
-
getColumnId
- Returns:
- a column id
-
getValue
- Returns:
- the new aggregation value
-
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
-