Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 1176:28154920e0b3
Introduced the possibility for States to transform/modify input before the data is added to FLYSArtifact.
flys-artifacts/trunk@2761 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 15 Sep 2011 15:05:24 +0000 |
parents | e6b513495281 |
children | 70b8ac64404b |
comparison
equal
deleted
inserted
replaced
1175:e6b513495281 | 1176:28154920e0b3 |
---|---|
1 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
2 | |
3 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
4 Added a transform() method. This method should be used to transform | |
5 input data in form of a string into a better data structure. This state | |
6 provides a simple implementation which just returns a StateData object | |
7 that contains exactly the input string. | |
8 | |
9 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform | |
10 input strings using DefaultState.transform() before they are added to | |
11 its data pool. | |
12 | |
1 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | 13 2011-09-15 Ingo Weinzierl <ingo@intevation.de> |
2 | 14 |
3 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | 15 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: |
4 Made collection solid for the case if it has no Artifacts. | 16 Made collection solid for the case if it has no Artifacts. |
5 | 17 |