public class JRReportCompileData
extends java.lang.Object
implements java.io.Serializable
An instantce consists of expression evaluators for the main report dataset and for sub datasets.
JasperReport.getCompileData()
,
Serialized FormConstructor and Description |
---|
JRReportCompileData()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getCrosstabCompileData(JRCrosstab crosstab)
Returns the compile data for a crosstab.
|
java.io.Serializable |
getDatasetCompileData(JRDataset dataset)
Returns the compile data for a dataset.
|
java.io.Serializable |
getMainDatasetCompileData()
Returns the compile data for the main dataset.
|
java.lang.String |
getUnitName(JasperReport jasperReport,
JRCrosstab crosstab) |
java.lang.String |
getUnitName(JasperReport jasperReport,
JRDataset dataset) |
void |
setCrosstabCompileData(int crosstabId,
java.io.Serializable compileData)
Sets the compile data for a crosstab.
|
void |
setDatasetCompileData(JRDataset dataset,
java.io.Serializable compileData)
Sets the compile data for a dataset.
|
void |
setMainDatasetCompileData(java.io.Serializable compileData)
Sets the main dataset compile data.
|
public void setMainDatasetCompileData(java.io.Serializable compileData)
compileData
- the main dataset compile datapublic void setDatasetCompileData(JRDataset dataset, java.io.Serializable compileData)
dataset
- the datasetcompileData
- the compile datapublic void setCrosstabCompileData(int crosstabId, java.io.Serializable compileData)
crosstabId
- the generated crosstab Id, which will be used to retreive the crosstab compile data at fill time.compileData
- the compile datapublic java.io.Serializable getMainDatasetCompileData()
public java.io.Serializable getDatasetCompileData(JRDataset dataset) throws JRException
dataset
- the datasetJRException
public java.io.Serializable getCrosstabCompileData(JRCrosstab crosstab) throws JRException
crosstab
- the crosstabJRException
public java.lang.String getUnitName(JasperReport jasperReport, JRDataset dataset)
public java.lang.String getUnitName(JasperReport jasperReport, JRCrosstab crosstab)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com