in reply to Re^2: Object data storage (design question)
in thread Object data storage (design question)

... the DataReportManager needs to know which TableReporter deals with which table.

Rather, it needs to be able to find that out.

So, iterate over the collection of TableReporters and ask them whether they deal with the given table. (If you're worried about performance, you can later add a cache of the results by table-name which gets cleared when more TableReporters are added, but don't optimize prematurely.)

  • Comment on Re^3: Object data storage (design question)