Class ReportExcel

java.lang.Object
bld.generator.report.excel.data.ReportExcel

public class ReportExcel extends Object
The Class ReportExcel.
ReportExcel is the class that represents the excel object.
Fields "title" and "date" can be shown on a cover sheet. The list base sheet represents a list of sheets.
  • Constructor Details

    • ReportExcel

      public ReportExcel(String title)
      Instantiates a new report excel.
      Parameters:
      title - the title
    • ReportExcel

      public ReportExcel(String title, boolean ignoreCover)
      Instantiates a new report excel.
      Parameters:
      title - the title
      ignoreCover - the ignore cover
    • ReportExcel

      public ReportExcel(String title, boolean ignoreCover, boolean enableSheetMapping)
      Instantiates a new report excel.
      Parameters:
      title - the title
      ignoreCover - the ignore cover
      enableSheetMapping - the enable sheet mapping
    • ReportExcel

      public ReportExcel(String title, List<BaseSheet> listBaseSheet)
      Instantiates a new report excel.
      Parameters:
      title - the title
      listBaseSheet - the list base sheet
    • ReportExcel

      public ReportExcel()
      Instantiates a new report excel.
  • Method Details

    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title.
      Parameters:
      title - the new title
    • getDate

      public Date getDate()
      Gets the date.
      Returns:
      the date
    • setDate

      public void setDate(Date date)
      Sets the date.
      Parameters:
      date - the new date
    • getListBaseSheet

      public List<BaseSheet> getListBaseSheet()
      Gets the list base sheet.
      Returns:
      the list base sheet
    • addBaseSheet

      public void addBaseSheet(BaseSheet... baseSheets)
      Adds the base sheet.
      Parameters:
      baseSheets - the base sheets
    • setListBaseSheet

      public void setListBaseSheet(List<BaseSheet> listBaseSheet)
      Sets the list base sheet.
      Parameters:
      listBaseSheet - the new list base sheet
    • isEnableSheetMapping

      public boolean isEnableSheetMapping()
      Checks if is enable sheet mapping.
      Returns:
      true, if is enable sheet mapping
    • setEnableSheetMapping

      public void setEnableSheetMapping(boolean enableSheetMapping)
      Sets the enable sheet mapping.
      Parameters:
      enableSheetMapping - the new enable sheet mapping
    • isIgnoreCover

      public boolean isIgnoreCover()
      Checks if is ignore cover.
      Returns:
      true, if is ignore cover
    • setIgnoreCover

      public void setIgnoreCover(boolean ignoreCover)
      Sets the ignore cover.
      Parameters:
      ignoreCover - the new ignore cover
    • hashCode

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

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