Class SheetData<T extends RowSheet>

java.lang.Object
bld.generator.report.excel.BaseSheet
bld.generator.report.excel.SheetData<T>
Type Parameters:
T - the generic type
SheetData is used for the generation of a table with rows of type RowSheet.
Below an example of table generated by merging SheetData and RowSheet classes.
column name of the field 1 column name of the field 2 column name of the field 3 column name of the field ...N
row 1 value of the field 1 value of the field 2 value of the field 3 value of the field ...N
row 2 value of the field 1 value of the field 2 value of the field 3 value of the field ...N
row N value of the field 1 value of the field 2 value of the field 3 value of the field ...N
All Implemented Interfaces:
SheetComponent
Direct Known Subclasses:
QuerySheetData, SheetDynamicData, SheetFunctionTotal, SheetMappingSheet

public abstract class SheetData<T extends RowSheet> extends BaseSheet implements SheetComponent
The Class SheetData.
  • Field Details

    • listRowSheet

      protected List<T extends RowSheet> listRowSheet
      The list row sheet.
  • Constructor Details

    • SheetData

      public SheetData(@Size(max=31) @Size(max=31) String sheetName)
      Instantiates a new sheet data.
      Parameters:
      sheetName - the name sheet
  • Method Details

    • getListRowSheet

      public List<T> getListRowSheet()
      Gets the list row sheet.
      Returns:
      the list row sheet
    • addRowSheets

      public void addRowSheets(T... rows)
      Adds the row sheets.
      Parameters:
      rows - the rows
    • setListRowSheet

      public void setListRowSheet(List<T> listRowSheet)
      Sets the list row sheet.
      Parameters:
      listRowSheet - the new list row sheet
    • getRowClass

      public Class<T> getRowClass()
      Gets the row class.
      Returns:
      the row class
    • isEnableInfoSheet

      public boolean isEnableInfoSheet()
    • setEnableInfoSheet

      public void setEnableInfoSheet(boolean enableInfoSheet)
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class BaseSheet
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class BaseSheet
      Parameters:
      obj - the obj
      Returns:
      true, if successful