public class JRBaseElementDataset extends Object implements JRElementDataset, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected JRDatasetRun |
datasetRun |
protected JRGroup |
incrementGroup |
protected IncrementTypeEnum |
incrementTypeValue |
protected JRExpression |
incrementWhenExpression |
protected JRGroup |
resetGroup |
protected ResetTypeEnum |
resetTypeValue |
| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseElementDataset() |
protected |
JRBaseElementDataset(JRElementDataset dataset) |
protected |
JRBaseElementDataset(JRElementDataset dataset,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
collectExpressions(JRExpressionCollector collector) |
JRDatasetRun |
getDatasetRun()
Returns the sub dataset run for this chart dataset.
|
JRGroup |
getIncrementGroup()
Gets the selected increment group in case of increment type group.
|
IncrementTypeEnum |
getIncrementTypeValue()
Returns the increment type.
|
JRExpression |
getIncrementWhenExpression()
Returns the "increment when" expression.
|
JRGroup |
getResetGroup()
Gets the selected reset group in case of reset type group.
|
ResetTypeEnum |
getResetTypeValue()
Gets the reset type.
|
protected ResetTypeEnum resetTypeValue
protected IncrementTypeEnum incrementTypeValue
protected JRGroup resetGroup
protected JRGroup incrementGroup
protected JRDatasetRun datasetRun
protected JRExpression incrementWhenExpression
protected JRBaseElementDataset()
protected JRBaseElementDataset(JRElementDataset dataset)
protected JRBaseElementDataset(JRElementDataset dataset, JRBaseObjectFactory factory)
public ResetTypeEnum getResetTypeValue()
JRElementDatasetgetResetTypeValue in interface JRElementDatasetResetTypeEnumpublic IncrementTypeEnum getIncrementTypeValue()
JRElementDatasetgetIncrementTypeValue in interface JRElementDatasetIncrementTypeEnum.public JRGroup getResetGroup()
JRElementDatasetgetResetGroup in interface JRElementDatasetpublic JRGroup getIncrementGroup()
JRElementDatasetgetIncrementGroup in interface JRElementDatasetpublic JRDatasetRun getDatasetRun()
JRElementDatasetgetDatasetRun in interface JRElementDatasetpublic JRExpression getIncrementWhenExpression()
JRElementDatasetThis expression determines whether a dataset will be incremented or not.
The expression (if not null) is evaluated before each increment of the dataset.
The increment will be carried on only when the result of the evaluation is Boolean.TRUE;
if the result is null or false, the increment will not be performed.
getIncrementWhenExpression in interface JRElementDatasetpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.