Interface ClaimContext


  • public interface ClaimContext
    • 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' values
        columnNames - Names of columns (keys from a sample row)
        data - Table (list of maps), where each map is a columnName -> value