protected JRBaseSubreportReturnValue(
      JRSubreportReturnValue returnValue, JRBaseObjectFactory factory) {
    factory.put(returnValue, this);

    subreportVariable = returnValue.getSubreportVariable();
    toVariable = returnValue.getToVariable();
    calculation = returnValue.getCalculation();
    incrementerFactoryClassName = returnValue.getIncrementerFactoryClassName();
  }