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