Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/statistics/Statistics.java @ 875:5e9efdda6894
merged gnv-artifacts/1.0
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:56 +0200 |
parents | dfd02f8d3602 |
children | f953c9a559d8 |
comparison
equal
deleted
inserted
replaced
722:bb3ffe7d719e | 875:5e9efdda6894 |
---|---|
1 /** | |
2 * Title: Statistics, $Header: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/output/statistics/Statistics.java,v 1.2 2008/01/30 12:38:34 blume Exp $ | |
3 * Source: $Source: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/output/statistics/Statistics.java,v $ | |
4 * created by: Stefan Blume (blume) | |
5 * erstellt am: 14.12.2007 | |
6 * Copyright: con terra GmbH, 2005 | |
7 * | |
8 * modified by: $Author: blume $ | |
9 * modified on: $Date: 2008/01/30 12:38:34 $ | |
10 * Version: $Revision: 1.2 $ | |
11 * TAG: $Name: $ | |
12 * locked from: $Locker: $ | |
13 * CVS State: $State: Exp $ | |
14 * Project: $ProjectName$ | |
15 */ | |
16 package de.intevation.gnv.statistics; | |
17 | |
18 import de.intevation.gnv.state.describedata.KeyValueDescibeData; | |
19 | |
20 import de.intevation.gnv.statistics.exception.StatisticsException; | |
21 | |
22 import java.util.Collection; | |
23 | |
24 /** | |
25 * This interface defines one single method to calculate a statistic for a | |
26 * given data set. | |
27 * | |
28 * @author blume | |
29 */ | |
30 public interface Statistics { | |
31 | |
32 /** | |
33 * This method takes a data set and creates a statistic from it. | |
34 * | |
35 * @param resultSet The resulting statistic is about this data set. | |
36 * @param parameters A collection of parameters. | |
37 * @param measurements A collection of measurements. | |
38 * @param dates A collection of dates. | |
39 * @return a collection of statistics. | |
40 * @throws StatisticsException if an error occured while creating the | |
41 * statistic. | |
42 */ | |
43 public Collection<StatisticSet> calculateStatistics( | |
44 Object resultSet, | |
45 Collection<KeyValueDescibeData> parameters, | |
46 Collection<KeyValueDescibeData> measurements, | |
47 Collection<KeyValueDescibeData> dates | |
48 ) | |
49 throws StatisticsException; | |
50 } | |
51 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |