Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java @ 814:9d427dd2a96a
Added Javadoc in statistic package.
gnv-artifacts/trunk@898 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 09 Apr 2010 14:34:45 +0000 |
parents | c4156275c1e1 |
children | 05bf8534a35a |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Fri Apr 09 13:09:25 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java Fri Apr 09 14:34:45 2010 +0000 @@ -35,17 +35,9 @@ import org.apache.log4j.Logger; /** - * The class <code>TimeseriesStatistics</code> fulfills the following purposes: - * <ol> - * <li></li> - * </ol> + * This class is used to create a statistic in timeseries products. * * @author blume - * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> - * @version 1.0 - * @serial 1.0 - * @see - * @since 06.12.2007 18:02:27 */ public class TimeseriesStatistics extends AbstractStatistics @@ -62,9 +54,7 @@ public TimeseriesStatistics() { } - /** - * @see de.intevation.gnv.statistics.Statistics#calculateStatistics(java.util.Collection, java.util.Collection, java.util.Collection, java.util.Collection) - */ + public Collection<StatisticSet> calculateStatistics( Object result, Collection<KeyValueDescibeData> parameters, @@ -195,18 +185,12 @@ return statisticSets; } + /** + * Nothing is done here. + */ protected void clearStatistics(){} - /** - * - * @param break1 - * @param break2 - * @param break3 - * @param parameters - * @param measurements - * @param dates - * @return - */ + protected String generateStatisticsName(String break1, String break2, String break3, @@ -233,8 +217,10 @@ } return ""; } + + protected double calculateXOrdinateValue(Result previousRow, Result row) throws SQLException { return new Double((row.getDate("XORDINATE")).getTime() / 1000 / 3600); } - } +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : \ No newline at end of file