|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.design.JRReportCompileData
public class JRReportCompileData
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.
JasperReport.getCompileData()
,
Serialized FormConstructor Summary | |
---|---|
JRReportCompileData()
Default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRReportCompileData()
Method Detail |
---|
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 dataset
JRException
public java.io.Serializable getCrosstabCompileData(JRCrosstab crosstab) throws JRException
crosstab
- the crosstab
JRException
public java.lang.String getUnitName(JasperReport jasperReport, JRDataset dataset)
public java.lang.String getUnitName(JasperReport jasperReport, JRCrosstab crosstab)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |