jimm.datavision
Class ReportReader.FormulaConversion
java.lang.Object
jimm.datavision.ReportReader.FormulaConversion
- Enclosing class:
- ReportReader
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formula
Formula formula
expression
java.lang.String expression
ReportReader.FormulaConversion
ReportReader.FormulaConversion(Formula f,
java.lang.String expr)