Package net.sf.jasperreports.engine
Interface CommonReturnValue
- All Superinterfaces:
Cloneable,JRCloneable
- All Known Subinterfaces:
ExpressionReturnValue,JRSubreportReturnValue,ReturnValue,VariableReturnValue
- All Known Implementing Classes:
BaseCommonReturnValue,BaseExpressionReturnValue,BaseReturnValue,DesignCommonReturnValue,DesignExpressionReturnValue,DesignReturnValue,JRBaseSubreportReturnValue,JRDesignSubreportReturnValue,JRFillCommonReturnValue,JRFillExpressionReturnValue,JRFillVariableReturnValue,SubreportReturnValueAdapter,SubreportReturnValueAdapter
A value copied from a subdataset or from an expression into a variable of the parent report.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the calculation type.Returns the incrementer factory class name.Returns the name of the report variable where the value should be copied.Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Method Details
-
getToVariable
String getToVariable()Returns the name of the report variable where the value should be copied.- Returns:
- the name of the report variable where the value should be copied.
-
getCalculation
CalculationEnum getCalculation()Returns the calculation type.When copying the value from, a formula can be applied such that sum, maximum, average and so on can be computed.
- Returns:
- the calculation type.
-
getIncrementerFactoryClassName
String getIncrementerFactoryClassName()Returns the incrementer factory class name.The factory will be used to increment the value of the report variable with the returned value.
- Returns:
- the incrementer factory class name.
-