|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.components.table.fill.TableReportDataset
public class TableReportDataset
| Field Summary |
|---|
| Fields inherited from interface net.sf.jasperreports.engine.JRDataset |
|---|
WHEN_RESOURCE_MISSING_TYPE_EMPTY, WHEN_RESOURCE_MISSING_TYPE_ERROR, WHEN_RESOURCE_MISSING_TYPE_KEY, WHEN_RESOURCE_MISSING_TYPE_NULL |
| Constructor Summary | |
|---|---|
TableReportDataset(JRDataset tableSubdataset,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addFirstGroup(JRGroup group)
|
void |
addScriptlet(java.lang.String name,
java.lang.Class<? extends JRAbstractScriptlet> type)
|
java.lang.Object |
clone()
|
JRField[] |
getFields()
Returns the dataset's fields. |
JRExpression |
getFilterExpression()
Returns the dataset filter expression. |
JRGroup[] |
getGroups()
Returns the dataset's groups. |
java.lang.String |
getName()
Returns the dataset name. |
JRParameter[] |
getParameters()
Returns the dataset's parameters. |
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults for this object. |
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map. |
JRQuery |
getQuery()
Returns the query of the dataset. |
java.lang.String |
getResourceBundle()
Returns the resource bundle base name. |
java.lang.String |
getScriptletClass()
The name of the scriptlet class to be used when iterating this dataset. |
JRScriptlet[] |
getScriptlets()
Returns the dataset's scriptlets. |
JRSortField[] |
getSortFields()
Returns the dataset's sort fields. |
TableReportGroup[] |
getTableGroups()
|
JRVariable[] |
getVariables()
Returns the dataset's variables. |
byte |
getWhenResourceMissingType()
Deprecated. |
WhenResourceMissingTypeEnum |
getWhenResourceMissingTypeValue()
Returns the resource missing handling type. |
boolean |
hasProperties()
Checks whether the object has any properties. |
boolean |
isMainDataset()
Decides whether this dataset is the main report dataset or a sub dataset. |
void |
setWhenResourceMissingType(byte whenResourceMissingType)
Deprecated. |
void |
setWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)
Sets the resource missing handling type. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableReportDataset(JRDataset tableSubdataset,
java.lang.String name)
| Method Detail |
|---|
public JRField[] getFields()
JRDataset
getFields in interface JRDatasetpublic JRExpression getFilterExpression()
JRDataset
This expression is used to filter the rows of the
data source that this dataset will iterate on.
This expression (if not null) is evaluated immediately after a new row is
produced by the data source.
The evaluation is performed using field and variable values corresponding to the new row.
When the result of the evaluation is Boolean.TRUE the row gets processed by the report
filling engine.
When the result is null or Boolean.FALSE, the current row will be skipped and the datasource will be asked for the next row.
getFilterExpression in interface JRDatasetpublic TableReportGroup[] getTableGroups()
public JRGroup[] getGroups()
JRDataset
getGroups in interface JRDatasetpublic void addFirstGroup(JRGroup group)
public java.lang.String getName()
JRDataset
getName in interface JRDatasetpublic JRParameter[] getParameters()
JRDataset
getParameters in interface JRDatasetpublic JRQuery getQuery()
JRDatasetThe query is used by passing a connection is passed to the dataset when instantiating.
getQuery in interface JRDatasetpublic java.lang.String getResourceBundle()
JRDatasetThe resource bundle is used when evaluating expressions.
getResourceBundle in interface JRDatasetpublic java.lang.String getScriptletClass()
JRDataset
getScriptletClass in interface JRDatasetpublic JRScriptlet[] getScriptlets()
JRDataset
getScriptlets in interface JRDatasetpublic JRSortField[] getSortFields()
JRDataset
getSortFields in interface JRDatasetpublic JRVariable[] getVariables()
JRDataset
getVariables in interface JRDataset@Deprecated public byte getWhenResourceMissingType()
getWhenResourceMissingType in interface JRDatasetpublic WhenResourceMissingTypeEnum getWhenResourceMissingTypeValue()
JRDataset
getWhenResourceMissingTypeValue in interface JRDatasetpublic boolean isMainDataset()
JRDataset
isMainDataset in interface JRDatasettrue if and only if this dataset is the main report dataset@Deprecated public void setWhenResourceMissingType(byte whenResourceMissingType)
setWhenResourceMissingType in interface JRDatasetpublic void setWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)
JRDataset
setWhenResourceMissingType in interface JRDatasetwhenResourceMissingType - the resource missing handling typepublic JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties in interface JRPropertiesHoldernull if no parentpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap in interface JRPropertiesHolderpublic boolean hasProperties()
JRPropertiesHolder
hasProperties in interface JRPropertiesHolderpublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object
public void addScriptlet(java.lang.String name,
java.lang.Class<? extends JRAbstractScriptlet> type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||