|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseSubreportReturnValue
public class JRBaseSubreportReturnValue
Base implementation of JRSubreportReturnValue.
| Field Summary | |
|---|---|
protected CalculationEnum |
calculationValue
The calculation type. |
protected String |
incrementerFactoryClassName
The incrementer factory class name. |
protected String |
subreportVariable
The name of the subreport variable to be copied. |
protected String |
toVariable
The name of the master variable where the value should be copied. |
| Constructor Summary | |
|---|---|
protected |
JRBaseSubreportReturnValue()
|
protected |
JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
Object |
clone()
|
CalculationEnum |
getCalculationValue()
Returns the calculation type. |
String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name. |
String |
getSubreportVariable()
Returns the name of the subreport variable whose value should be copied. |
String |
getToVariable()
Returns the name of the master report variable where the value should be copied. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String subreportVariable
protected String toVariable
protected CalculationEnum calculationValue
protected String incrementerFactoryClassName
| Constructor Detail |
|---|
protected JRBaseSubreportReturnValue()
protected JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public String getSubreportVariable()
getSubreportVariable in interface JRSubreportReturnValuepublic String getToVariable()
getToVariable in interface JRSubreportReturnValuepublic CalculationEnum getCalculationValue()
When copying the value from the subreport, a formula can be applied such that sum, maximum, average and so on can be computed.
getCalculationValue in interface JRSubreportReturnValuepublic String getIncrementerFactoryClassName()
The factory will be used to increment the value of the master report variable with the value from the subreport.
getIncrementerFactoryClassName in interface JRSubreportReturnValuepublic Object clone()
clone in interface JRCloneableclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||