comparison ChangeLog @ 358:03a8f9796571

Added interfaces for a Settings hierachy currently used for Outputs. artifacts/trunk@3408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 14 Dec 2011 09:41:44 +0000
parents 1d11a0531242
children f93edbfcf2bc
comparison
equal deleted inserted replaced
357:1d11a0531242 358:03a8f9796571
1 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java:
4 An interface that describes a flat API for specifying settings for
5 something. A Settings object can store one or more Section instances and
6 defines a toXML() operation that should append a XML representation of
7 itself to a given parent Node.
8
9 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Section.java:
10 This interface is used to describe an API for storing and retrieving
11 Attribute objects. Just as the Settings interface, it defines a toXML()
12 operation that should append a XML representation of itself to a given
13 parent Node.
14
15 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java:
16 The interface for concrete attributes in a Section instance. An Attribute
17 is the placed on the lowest level of the Settings hierachy and should be
18 used to save concrete key value pairs. Even the Attribute defines the
19 toXML() operation described above.
20
21 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java:
22 Added a getSettings() and setSettings(Settings) operation.
23
24 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
25 A DefaultOutput is now able to store a Settings instance. It implements
26 getSettings() and setSettings(Settings) defined in the Output interface.
27
1 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> 28 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2 29
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java, 30 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
4 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java: 31 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
5 (getDataProviderKeys): Added parameter artifact. 32 (getDataProviderKeys): Added parameter artifact.

http://dive4elements.wald.intevation.org