Mercurial > dive4elements > framework
comparison ChangeLog @ 359:f93edbfcf2bc
Improved the Settings and Section interfaces and added default implementations for both.
artifacts/trunk@3416 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 14 Dec 2011 12:20:06 +0000 |
parents | 03a8f9796571 |
children | c065a1a90ba0 |
comparison
equal
deleted
inserted
replaced
358:03a8f9796571 | 359:f93edbfcf2bc |
---|---|
1 2011-12-14 Ingo Weinzierl <ingo@intevation.de> | |
2 | |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java: | |
4 Added a removeSection(Section) method. | |
5 | |
6 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Section.java: | |
7 Improved the interface to allow section having subsections. Therefore, | |
8 addSubsection(Section), getSubsectionCount() and getSubsection(int) have | |
9 been added. In addition, a getId() method has been added which is used | |
10 in toXML() to create a new DOM Node. The Node name is the result of | |
11 getId(). | |
12 | |
13 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSettings.java, | |
14 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSection.java: | |
15 Default implementations for Settings and Section. | |
16 | |
1 2011-12-14 Ingo Weinzierl <ingo@intevation.de> | 17 2011-12-14 Ingo Weinzierl <ingo@intevation.de> |
2 | 18 |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java: | 19 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java: |
4 An interface that describes a flat API for specifying settings for | 20 An interface that describes a flat API for specifying settings for |
5 something. A Settings object can store one or more Section instances and | 21 something. A Settings object can store one or more Section instances and |