Class SubreportReturnValueAdapter

java.lang.Object
net.sf.jasperreports.components.table.fill.SubreportReturnValueAdapter
All Implemented Interfaces:
Cloneable, CommonReturnValue, JRCloneable, JRSubreportReturnValue, VariableReturnValue

public class SubreportReturnValueAdapter extends Object implements JRSubreportReturnValue
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Constructor Details

    • SubreportReturnValueAdapter

      public SubreportReturnValueAdapter(VariableReturnValue returnValue)
  • Method Details

    • getFromVariable

      public String getFromVariable()
      Description copied from interface: VariableReturnValue
      Returns the name of the variable whose value should be copied.
      Specified by:
      getFromVariable in interface VariableReturnValue
      Returns:
      the name of the variable whose value should be copied.
    • getToVariable

      public String getToVariable()
      Description copied from interface: CommonReturnValue
      Returns the name of the report variable where the value should be copied.
      Specified by:
      getToVariable in interface CommonReturnValue
      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 interface CommonReturnValue
      Returns:
      the calculation type.
    • getIncrementerFactoryClassName

      public 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 interface CommonReturnValue
      Returns:
      the incrementer factory class name.
    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object