Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/statistics/Statistics.java @ 253:07650fc6014c
Put a name to each Statistic group which is similar to the name of the
Series in the Charts. issue83
gnv-artifacts/trunk@326 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 12 Nov 2009 10:15:05 +0000 |
parents | 7fb9441dd8af |
children | e964a3d8f7bc |
comparison
equal
deleted
inserted
replaced
252:f1e7ddeef5bc | 253:07650fc6014c |
---|---|
17 | 17 |
18 import java.util.Collection; | 18 import java.util.Collection; |
19 | 19 |
20 import de.intevation.gnv.geobackend.base.Result; | 20 import de.intevation.gnv.geobackend.base.Result; |
21 import de.intevation.gnv.statistics.exception.StatisticsException; | 21 import de.intevation.gnv.statistics.exception.StatisticsException; |
22 import de.intevation.gnv.transition.describedata.KeyValueDescibeData; | |
22 | 23 |
23 /** | 24 /** |
24 * The interface <code>Statistics</code> fulfills the following purposes: | 25 * The interface <code>Statistics</code> fulfills the following purposes: |
25 * <ol> | 26 * <ol> |
26 * <li>Providng a marker interface for statistics.</li> | 27 * <li>Providng a marker interface for statistics.</li> |
32 * @see | 33 * @see |
33 * @since 14.12.2007 09:34:32 | 34 * @since 14.12.2007 09:34:32 |
34 */ | 35 */ |
35 public interface Statistics { | 36 public interface Statistics { |
36 | 37 |
37 /** | 38 /** |
38 * @param resultSet | 39 * |
39 * @return | 40 * @param resultSet |
40 * @throws StatisticsException | 41 * @param parameters |
41 */ | 42 * @param measurements |
42 public Collection<Statistic> calculateStatistics( | 43 * @param dates |
43 Collection<Result> resultSet) | 44 * @return |
44 throws StatisticsException; | 45 * @throws StatisticsException |
46 */ | |
47 public Collection<StatisticSet> calculateStatistics( | |
48 Collection<Result> resultSet, | |
49 Collection<KeyValueDescibeData> parameters, | |
50 Collection<KeyValueDescibeData> measurements, | |
51 Collection<KeyValueDescibeData> dates | |
52 ) | |
53 throws StatisticsException; | |
45 | 54 |
46 } | 55 } |