Package bld.generator.report.excel.data
Class ReportExcel
java.lang.Object
bld.generator.report.excel.data.ReportExcel
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.
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 Summary
ConstructorsConstructorDescriptionInstantiates a new report excel.ReportExcel(String title) Instantiates a new report excel.ReportExcel(String title, boolean ignoreCover) Instantiates a new report excel.ReportExcel(String title, boolean ignoreCover, boolean enableSheetMapping) Instantiates a new report excel.ReportExcel(String title, List<BaseSheet> listBaseSheet) Instantiates a new report excel. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBaseSheet(BaseSheet... baseSheets) Adds the base sheet.booleanEquals.getDate()Gets the date.Gets the list base sheet.getTitle()Gets the title.inthashCode()Hash code.booleanChecks if is enable sheet mapping.booleanChecks if is ignore cover.voidSets the date.voidsetEnableSheetMapping(boolean enableSheetMapping) Sets the enable sheet mapping.voidsetIgnoreCover(boolean ignoreCover) Sets the ignore cover.voidsetListBaseSheet(List<BaseSheet> listBaseSheet) Sets the list base sheet.voidSets the title.
-
Constructor Details
-
ReportExcel
Instantiates a new report excel.- Parameters:
title- the title
-
ReportExcel
Instantiates a new report excel.- Parameters:
title- the titleignoreCover- the ignore cover
-
ReportExcel
Instantiates a new report excel.- Parameters:
title- the titleignoreCover- the ignore coverenableSheetMapping- the enable sheet mapping
-
ReportExcel
Instantiates a new report excel.- Parameters:
title- the titlelistBaseSheet- the list base sheet
-
ReportExcel
public ReportExcel()Instantiates a new report excel.
-
-
Method Details
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-
getDate
Gets the date.- Returns:
- the date
-
setDate
Sets the date.- Parameters:
date- the new date
-
getListBaseSheet
Gets the list base sheet.- Returns:
- the list base sheet
-
addBaseSheet
Adds the base sheet.- Parameters:
baseSheets- the base sheets
-
setListBaseSheet
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. -
equals
Equals.
-