Class ReportReader.FormulaConversion

  extended by jimm.datavision.ReportReader.FormulaConversion
Enclosing class:

static class ReportReader.FormulaConversion
extends java.lang.Object

This class is used when we are converting formulas from the old pre-DTD_VERSION_FORMULA_IDS format to the new format.

We store a copy of the original eval string because if we were to retrieve it from the formula by calling Formula.getEvalString, the formula would attempt to start observing other formulas within the eval string. This would not work because those formulas are represented the old way (by name instead of id) and thus the code that looks for those formulas in order to observe them fails. We don't have to clone the eval string, just save a reference to it.

Field Summary
(package private)  java.lang.String expression
(package private)  Formula formula
Constructor Summary
ReportReader.FormulaConversion(Formula f, java.lang.String expr)
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


Formula formula


java.lang.String expression
Constructor Detail


ReportReader.FormulaConversion(Formula f,
                               java.lang.String expr)