Re: [configuration]Hierarchical design

2004-04-15 Thread Oliver Heger
I have been thinking about this subject for a while. How about the following scenario: ConfigurationNode and Configuration are still separated, but it is possible to open a sub configuration anywhere in the hierarchy. I would therefor add a subConfiguration() method to the Configuration interfa

Re: [configuration]Hierarchical design

2004-04-13 Thread Oliver Heger
From my POV there is a difference between a ConfigurationNode and a Configuration: a node is just a simple piece of data while a Configuration is comprised by the whole hierarchy of nodes. It lies in the Configuration's responsibility to maintain its nodes and to provide methods for querying or

Re: [configuration]Hierarchical design

2004-04-13 Thread Emmanuel Bourg
imho Configuration and ConfigurationNode should be merged into a single class, because a Configuration is basically a node in a hierarchical design. Emmanuel Bourg Oliver Heger wrote: I have been experimenting with a more hierarchical design for configuration classes and would like to bring in

[configuration]Hierarchical design

2004-04-12 Thread Oliver Heger
I have been experimenting with a more hierarchical design for configuration classes and would like to bring in my results for discussion. You can download a zip under http://www.oliver-heger.privat.t-online.de/hierarchicalconfig.zip What I have done so far is to extract the internal Node clas