view gnv-artifacts/src/main/java/de/intevation/gnv/statistics/Statistics.java @ 820:8288f4a0d7e6

Added more Javadoc. gnv-artifacts/trunk@906 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 12 Apr 2010 13:23:18 +0000
parents 9d427dd2a96a
children 05bf8534a35a
line wrap: on
line source
/**
 * 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 $
 * Source:          $Source: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/output/statistics/Statistics.java,v $
 * created by:      Stefan Blume (blume)
 * erstellt am:     14.12.2007
 * Copyright:       con terra GmbH, 2005
 *
 * modified by:     $Author: blume $
 * modified on:     $Date: 2008/01/30 12:38:34 $
 * Version:         $Revision: 1.2 $
 * TAG:             $Name:  $
 * locked from:     $Locker:  $
 * CVS State:       $State: Exp $
 * Project:         $ProjectName$
 */
package de.intevation.gnv.statistics;

import de.intevation.gnv.state.describedata.KeyValueDescibeData;

import de.intevation.gnv.statistics.exception.StatisticsException;

import java.util.Collection;

/**
 * This interface defines one single method to calculate a statistic for a
 * given data set.
 * 
 * @author blume
 */
public interface Statistics {

   /**
    * This method takes a data set and creates a statistic from it.
    * 
    * @param resultSet The resulting statistic is about this data set.
    * @param parameters A collection of parameters.
    * @param measurements A collection of measurements.
    * @param dates A collection of dates.
    * @return a collection of statistics.
    * @throws StatisticsException if an error occured while creating the
    * statistic.
    */
    public Collection<StatisticSet>  calculateStatistics(
         Object                          resultSet,
         Collection<KeyValueDescibeData> parameters,
         Collection<KeyValueDescibeData> measurements,
         Collection<KeyValueDescibeData> dates
    )
    throws StatisticsException;
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org