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()
JRElementDataset
getResetTypeValue
in interface JRElementDataset
ResetTypeEnum
public IncrementTypeEnum getIncrementTypeValue()
JRElementDataset
getIncrementTypeValue
in interface JRElementDataset
IncrementTypeEnum
.public JRGroup getResetGroup()
JRElementDataset
getResetGroup
in interface JRElementDataset
public JRGroup getIncrementGroup()
JRElementDataset
getIncrementGroup
in interface JRElementDataset
public JRDatasetRun getDatasetRun()
JRElementDataset
getDatasetRun
in interface DatasetRunHolder
getDatasetRun
in interface JRElementDataset
public JRExpression getIncrementWhenExpression()
JRElementDataset
This 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 JRElementDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2019 TIBCO Software Inc.. All rights reserved.