Interface ClaimContext
-
public interface ClaimContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAttributeName(String columnName)
Get name of the attribute based on Claim Type configuration to which the column gets persistedMap<String,Object>
getRow()
Get parsed row from excel claim input.void
setDebugRow(Map<String,Object> debugRow)
Set row for formula testdrivevoid
setNewClaimData(Map<String,Object> headerValues, Collection<String> columnNames, List<Map<String,Object>> data)
Set data from which a claim can be created
-
-
-
Method Detail
-
getRow
Map<String,Object> getRow()
Get parsed row from excel claim input.- Returns:
- Map of header name –> cell value
-
setDebugRow
void setDebugRow(Map<String,Object> debugRow)
Set row for formula testdrive- Parameters:
debugRow
- for debugging
-
getAttributeName
String getAttributeName(String columnName)
Get name of the attribute based on Claim Type configuration to which the column gets persisted- Returns:
- "attributeX"
-
setNewClaimData
void setNewClaimData(Map<String,Object> headerValues, Collection<String> columnNames, List<Map<String,Object>> data)
Set data from which a claim can be created- Parameters:
headerValues
- Claim header fields' valuescolumnNames
- Names of columns (keys from a sample row)data
- Table (list of maps), where each map is a columnName -> value
-
-