- Type Parameters:
C
- the column identifier type
public interface TableSummaryModel<C>
-
Method Summary
Modifier and TypeMethodDescriptionsummaryModel
(C columnIdentifier) Returns theColumnSummaryModel
associated withcolumnIdentifier
static <C> TableSummaryModel<C>
tableSummaryModel
(ColumnSummaryModel.SummaryValueProvider.Factory<C> summaryModelFactory)
-
Method Details
-
summaryModel
Returns theColumnSummaryModel
associated withcolumnIdentifier
- Parameters:
columnIdentifier
- the column identifier- Returns:
- the ColumnSummaryModel for the column identified by the given identifier, an empty Optional if none is available
-
tableSummaryModel
static <C> TableSummaryModel<C> tableSummaryModel(ColumnSummaryModel.SummaryValueProvider.Factory<C> summaryModelFactory) - Type Parameters:
C
- the column identifier type- Parameters:
summaryModelFactory
- the summary model factory- Returns:
- a new
TableSummaryModel
instance
-