Class SubreportReturnValueAdapter

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

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