Package bld.generator.report.excel
Class QuerySheetData<T extends RowSheet>
java.lang.Object
bld.generator.report.excel.BaseSheet
bld.generator.report.excel.SheetData<T>
bld.generator.report.excel.QuerySheetData<T>
- Type Parameters:
T- the generic type
QuerySheetData is used to obtain a RowSheet list through a query, to set the parameters in the query you need to insert them in the "mapParameter" field.
- All Implemented Interfaces:
SheetComponent,QuerySpreadsheetData<T>
public abstract class QuerySheetData<T extends RowSheet>
extends SheetData<T>
implements QuerySpreadsheetData<T>
The Class QuerySheetData.
-
Field Summary
Fields inherited from class bld.generator.report.excel.SheetData
listRowSheet -
Constructor Summary
ConstructorsConstructorDescriptionQuerySheetData(@Size(max=31) String sheetName) Instantiates a new query sheet data. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameters(String key, Object value) Adds the parameters.voidaddParameters(Map<String, Object> parameters) booleanEquals.Gets the map parameters.inthashCode()Hash code.voidMethods inherited from class bld.generator.report.excel.SheetData
addRowSheets, getListRowSheet, getRowClass, isEnableInfoSheet, setEnableInfoSheet, setListRowSheetMethods inherited from class bld.generator.report.excel.BaseSheet
getSheetName, setSheetNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bld.generator.report.QuerySpreadsheetData
getRowClassMethods inherited from interface bld.generator.report.excel.SheetComponent
setSheetName
-
Constructor Details
-
QuerySheetData
Instantiates a new query sheet data.- Parameters:
sheetName- the sheet name
-
-
Method Details
-
getMapParameters
Gets the map parameters.- Specified by:
getMapParametersin interfaceQuerySpreadsheetData<T extends RowSheet>- Returns:
- the map parameters
-
addParameters
Adds the parameters.- Specified by:
addParametersin interfaceQuerySpreadsheetData<T extends RowSheet>- Parameters:
key- the keyvalue- the value
-
resetParameters
public void resetParameters()- Specified by:
resetParametersin interfaceQuerySpreadsheetData<T extends RowSheet>
-
addParameters
- Specified by:
addParametersin interfaceQuerySpreadsheetData<T extends RowSheet>
-
hashCode
public int hashCode()Hash code. -
equals
Equals.
-