|
||||||||||
| 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 java.lang.String |
incrementerFactoryClassName
The incrementer factory class name. |
protected java.lang.String |
subreportVariable
The name of the subreport variable to be copied. |
protected java.lang.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 | |
|---|---|
java.lang.Object |
clone()
|
byte |
getCalculation()
Deprecated. Replaced by getCalculationValue() |
CalculationEnum |
getCalculationValue()
Returns the calculation type. |
java.lang.String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name. |
java.lang.String |
getSubreportVariable()
Returns the name of the subreport variable whose value should be copied. |
java.lang.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 java.lang.String subreportVariable
protected java.lang.String toVariable
protected CalculationEnum calculationValue
protected java.lang.String incrementerFactoryClassName
| Constructor Detail |
|---|
protected JRBaseSubreportReturnValue()
protected JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public java.lang.String getSubreportVariable()
getSubreportVariable in interface JRSubreportReturnValuepublic java.lang.String getToVariable()
getToVariable in interface JRSubreportReturnValuepublic byte getCalculation()
getCalculationValue()
getCalculation 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 java.lang.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 java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||