comparison flys-artifacts/ChangeLog @ 322:448d0dc64357

The inserted ranges (distance and WQ ranges) are validated in the feed() operation. flys-artifacts/trunk@1716 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 18 Apr 2011 12:36:08 +0000
parents 9581b88f2920
children b33ba2cd4a3e
comparison
equal deleted inserted replaced
321:9581b88f2920 322:448d0dc64357
1 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4 The input data of feed() are validated using the DefaultStates
5 validate() method.
6
7 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
8 New method validate() that needs to be overidden by concrete subclasses.
9 It should return true, if the data of the State is fine, otherwise it
10 should raise an exception.
11
12 NOTE: The exceptions are not translated in the server but in the client!
13
14 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
15 This abstract class exists to provide some methods for handling ranges.
16 Currently, there is a method that validates a given range based on
17 min/max values.
18
19 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
20 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21 Implemented input data validation for ranges.
22
23 NOTE: The input validation of concrete values has not been implemented
24 yet!
25
1 2011-04-18 Ingo Weinzierl <ingo@intevation.de> 26 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2 27
3 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: 28 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4 Removed debug code that has been commited by accident :-/ 29 Removed debug code that has been commited by accident :-/
5 30

http://dive4elements.wald.intevation.org