annotate gnv-artifacts/src/main/java/de/intevation/gnv/statistics/HorizontalCrossSectionStatistics.java @ 229:a610c0a01afc

Added the Region-Filter to the Workflow of the Artifacttescases to be able to test it automatically. gnv-artifacts/trunk@297 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 06 Nov 2009 10:23:55 +0000
parents 926530bda1a7
children 5403452c06fc
rev   line source
218
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 /**
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 *
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 */
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
4 package de.intevation.gnv.statistics;
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 import java.sql.SQLException;
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
7
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8 import de.intevation.gnv.geobackend.base.Result;
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10 /**
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
11 * @author Tim Englich <tim.englich@intevation.de>
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
12 *
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 */
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
14 public class HorizontalCrossSectionStatistics extends TimeseriesStatistics {
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 /**
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 * Constructor
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 */
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19 public HorizontalCrossSectionStatistics() {
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20 super();
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21 }
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
23 @Override
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 protected double calculateXOrdinateValue(Result row) throws SQLException {
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 return 0; // TODO: Select propper Value
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 }
926530bda1a7 Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27 }

http://dive4elements.wald.intevation.org