Class JRReportCompileData
java.lang.Object
net.sf.jasperreports.engine.design.JRReportCompileData
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TableReportCompileData
Structure used to hold a report's expression evaluator compile data.
An instantce consists of expression evaluators for the main report dataset and for sub datasets.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCrosstabCompileData(JRCrosstab crosstab) Returns the compile data for a crosstab.getDatasetCompileData(JRDataset dataset) Returns the compile data for a dataset.Returns the compile data for the main dataset.getUnitName(JasperReport jasperReport, JRCrosstab crosstab) getUnitName(JasperReport jasperReport, JRDataset dataset) voidsetCrosstabCompileData(int crosstabId, Serializable compileData) Sets the compile data for a crosstab.voidsetDatasetCompileData(JRDataset dataset, Serializable compileData) Sets the compile data for a dataset.voidsetMainDatasetCompileData(Serializable compileData) Sets the main dataset compile data.
-
Field Details
-
EXCEPTION_MESSAGE_KEY_COMPILE_DATA_FOR_CROSSTAB_NOT_FOUND
- See Also:
-
EXCEPTION_MESSAGE_KEY_COMPILE_DATA_FOR_DATASET_NOT_FOUND
- See Also:
-
-
Constructor Details
-
JRReportCompileData
public JRReportCompileData()Default constructor.
-
-
Method Details
-
setMainDatasetCompileData
Sets the main dataset compile data.- Parameters:
compileData- the main dataset compile data
-
setDatasetCompileData
Sets the compile data for a dataset.- Parameters:
dataset- the datasetcompileData- the compile data
-
setCrosstabCompileData
Sets the compile data for a crosstab.- Parameters:
crosstabId- the generated crosstab Id, which will be used to retreive the crosstab compile data at fill time.compileData- the compile data
-
getMainDatasetCompileData
Returns the compile data for the main dataset.- Returns:
- the compile data for the main dataset
-
getDatasetCompileData
Returns the compile data for a dataset.- Parameters:
dataset- the dataset- Returns:
- the compile data
- Throws:
JRException
-
getCrosstabCompileData
Returns the compile data for a crosstab.- Parameters:
crosstab- the crosstab- Returns:
- the compile data
- Throws:
JRException
-
getUnitName
-
getUnitName
-
getCrosstabsCompileData
-