Interface Row<I extends QueryItem>

Type Parameters:
I - QueryItem on which the Report is based on.
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 Details

    • 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 appended
      index - 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()
    • setDisplayName

      void setDisplayName(Map<String,String> displayMap)
    • getTotalValue

      int getTotalValue()
    • getCells

      int[] getCells()