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 aReport. It contains an array of cells whose index corresponds to theColumnHeaderindex in theReport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddItem(I item, int index)Appends a specific item value at a specific index.int[]getCells()StringgetDisplayName()StringgetKey()intgetTotalValue()voidsetDisplayName(Map<String,String> displayMap)voidupdateTotalValue(I item)updates the total value of the row without changing any cell value.
-
-
-
Method Detail
-
addItem
void addItem(I item, int index) throws IndexOutOfBoundsException
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
void updateTotalValue(I item)
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()
-
getTotalValue
int getTotalValue()
-
getCells
int[] getCells()
-
-