public interface CellDataResolver
| Modifier and Type | Method and Description |
|---|---|
boolean |
applicableFor(Class data1,
Class data2)
Specifies the types/classes, this CellDataResolver could process.
|
String |
getDisplayName()
Returns the String that is displayed as name for this CellDataResolver (could be a localized name depending on the
session language)
|
List<ParameterDescriptor> |
getParameters()
Returns a list of parameters that are expected/required by this CellDataResolver
|
void |
init(TableBlock table,
CellEntry entry,
Map<String,Object> params)
Initializes this CellDataResolver
|
Object |
resolve(Object rowData,
Object columnData)
Processes the given row and column objects and returns the resulting cell value.
|
String getDisplayName()
boolean applicableFor(Class data1, Class data2)
data1 - The row entry's type/classdata2 - The column entry's type/classObject resolve(Object rowData, Object columnData) throws DataResolverException
rowData - A concrete row data objectcolumnData - A concrete column data ObjectDataResolverException - If an error occurs while computing the resulting cell valueList<ParameterDescriptor> getParameters()
void init(TableBlock table, CellEntry entry, Map<String,Object> params)
table - The table this CellDataResolver is used withinentry - The CellEntry this CellDataResolver is related toparams - The parameters this CellDataResolver expects (see also: CellDataResolver.getParameters())Copyright © 2017 SAP SE. All Rights Reserved.