sascha@836: /** sascha@836: * 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 $ sascha@836: * Source: $Source: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/output/statistics/Statistics.java,v $ sascha@836: * created by: Stefan Blume (blume) sascha@836: * erstellt am: 14.12.2007 sascha@836: * Copyright: con terra GmbH, 2005 sascha@836: * sascha@836: * modified by: $Author: blume $ sascha@836: * modified on: $Date: 2008/01/30 12:38:34 $ sascha@836: * Version: $Revision: 1.2 $ sascha@836: * TAG: $Name: $ sascha@836: * locked from: $Locker: $ sascha@836: * CVS State: $State: Exp $ sascha@836: * Project: $ProjectName$ sascha@836: */ sascha@836: package de.intevation.gnv.statistics; sascha@836: sascha@836: import de.intevation.gnv.state.describedata.KeyValueDescibeData; sascha@836: sascha@836: import de.intevation.gnv.statistics.exception.StatisticsException; sascha@836: sascha@836: import java.util.Collection; sascha@836: sascha@836: /** sascha@836: * This interface defines one single method to calculate a statistic for a sascha@836: * given data set. ingo@870: * sascha@836: * @author blume sascha@836: */ sascha@836: public interface Statistics { sascha@836: sascha@836: /** sascha@836: * This method takes a data set and creates a statistic from it. ingo@870: * sascha@836: * @param resultSet The resulting statistic is about this data set. sascha@836: * @param parameters A collection of parameters. sascha@836: * @param measurements A collection of measurements. sascha@836: * @param dates A collection of dates. sascha@836: * @return a collection of statistics. sascha@836: * @throws StatisticsException if an error occured while creating the sascha@836: * statistic. sascha@836: */ sascha@836: public Collection calculateStatistics( sascha@836: Object resultSet, sascha@836: Collection parameters, sascha@836: Collection measurements, sascha@836: Collection dates sascha@836: ) sascha@836: throws StatisticsException; sascha@836: } sascha@836: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :