Interface Row<I extends QueryItem>
- All Known Implementing Classes:
DetailedClassificationRow,FoldableRow,SingleRow,TimestampRow,TimestampRow.OrgLevel1Row,TimestampRow.OrgLevel2Row,TimestampRow.OrgLevel3Row
public interface Row<I extends QueryItem>
Representation of a row in a Report. It contains an array of cells whose index
corresponds to the ColumnHeader index in the Report.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAppends a specific item value at a specific index.int[]getCells()getKey()intvoidsetDisplayName(Map<String, String> displayMap) voidupdateTotalValue(I item) updates the total value of the row without changing any cell value.
-
Method Details
-
addItem
Appends a specific item value at a specific index.- Parameters:
item- the item which will be appendedindex- the index at which the item will be appended at.- Throws:
IndexOutOfBoundsException- if the given index is invalid.
-
updateTotalValue
updates the total value of the row without changing any cell value.- Parameters:
item- the item whose value will be added to the total value of this row.
-
getKey
String getKey() -
getDisplayName
String getDisplayName() -
setDisplayName
-
getTotalValue
int getTotalValue() -
getCells
int[] getCells()
-