Class SubreportReturnValueAdapter
- java.lang.Object
-
- net.sf.jasperreports.components.table.fill.SubreportReturnValueAdapter
-
- All Implemented Interfaces:
java.lang.Cloneable
,CommonReturnValue
,JRCloneable
,JRSubreportReturnValue
,VariableReturnValue
public class SubreportReturnValueAdapter extends java.lang.Object implements JRSubreportReturnValue
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SubreportReturnValueAdapter(VariableReturnValue returnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CalculationEnum
getCalculation()
Returns the calculation type.java.lang.String
getFromVariable()
Returns the name of the variable whose value should be copied.java.lang.String
getIncrementerFactoryClassName()
Returns the incrementer factory class name.java.lang.String
getToVariable()
Returns the name of the report variable where the value should be copied.
-
-
-
Constructor Detail
-
SubreportReturnValueAdapter
public SubreportReturnValueAdapter(VariableReturnValue returnValue)
-
-
Method Detail
-
getFromVariable
public java.lang.String getFromVariable()
Description copied from interface:VariableReturnValue
Returns the name of the variable whose value should be copied.- Specified by:
getFromVariable
in interfaceVariableReturnValue
- Returns:
- the name of the variable whose value should be copied.
-
getToVariable
public java.lang.String getToVariable()
Description copied from interface:CommonReturnValue
Returns the name of the report variable where the value should be copied.- Specified by:
getToVariable
in interfaceCommonReturnValue
- Returns:
- the name of the report variable where the value should be copied.
-
getCalculation
public CalculationEnum getCalculation()
Description copied from interface:CommonReturnValue
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.
- Specified by:
getCalculation
in interfaceCommonReturnValue
- Returns:
- the calculation type.
-
getIncrementerFactoryClassName
public java.lang.String getIncrementerFactoryClassName()
Description copied from interface:CommonReturnValue
Returns the incrementer factory class name.The factory will be used to increment the value of the report variable with the returned value.
- Specified by:
getIncrementerFactoryClassName
in interfaceCommonReturnValue
- Returns:
- the incrementer factory class name.
-
clone
public java.lang.Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classjava.lang.Object
-
-