Class TotalizeColumnProcessor
java.lang.Object
com.almis.awe.service.data.processor.TotalizeColumnProcessor
- All Implemented Interfaces:
ColumnProcessor
TransformCellProcessor class
-
Constructor Summary
ConstructorDescriptionTotalizeColumnProcessor
(AweElements elements, NumericService numericService) Totalize column processor constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewLine
(List<Map<String, CellData>> list) Add a new line with valuesboolean
checkNewLine
(Map<String, CellData> row) Check if add a new lineRetrieve column identifierProcess rowsetFieldList
(List<SqlField> fieldList) Set field listsetTotalize
(Totalize totalize) Set transform field
-
Constructor Details
-
TotalizeColumnProcessor
Totalize column processor constructor- Parameters:
elements
- AWE elementsnumericService
- Numeric service
-
-
Method Details
-
setTotalize
Set transform field- Parameters:
totalize
- Totalize field- Returns:
- TotalizeColumnProcessor
-
setFieldList
Set field list- Parameters:
fieldList
- Field list- Returns:
- TotalizeColumnProcessor
-
checkNewLine
Check if add a new line- Parameters:
row
- Row to check- Returns:
- Add a new line
-
addNewLine
Add a new line with values- Parameters:
list
- Row list- Throws:
AWException
- Error adding a new line
-
getColumnIdentifier
Retrieve column identifier- Specified by:
getColumnIdentifier
in interfaceColumnProcessor
- Returns:
- Column identifier
-
process
Process row- Specified by:
process
in interfaceColumnProcessor
- Parameters:
row
- Row to process- Returns:
- Null (Interface requirements)
- Throws:
AWException
- Error processing row
-