annotate flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java @ 4837:9e25c7523485

Fixed calculation of effective width in MINFO SQ relation. * Get all (including empty datasets) from db. * Filter empty datasets when processing data of the same date. * Added debug outputs.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Jan 2013 11:14:41 +0100
parents e7f1556192b3
children
rev   line source
3467
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.artifacts.model;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
2
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
3
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
4 import java.io.Serializable;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
5
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
6 import de.intevation.flys.artifacts.model.fixings.QWD;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
7
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
8 public class QWDDateRange
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
9 implements Serializable
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
10 {
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
11
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
12 public QWD qwd;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
13 public DateRange dateRange;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
14
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
15 public QWDDateRange(QWD qwd, DateRange dr) {
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
16 this.qwd = qwd;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
17 this.dateRange = dr;
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
18 }
3551
e7f1556192b3 Avoid class cast exception in FixWQCurveGenerator.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3467
diff changeset
19
e7f1556192b3 Avoid class cast exception in FixWQCurveGenerator.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3467
diff changeset
20 public QWD getQWD() {
e7f1556192b3 Avoid class cast exception in FixWQCurveGenerator.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3467
diff changeset
21 return qwd;
e7f1556192b3 Avoid class cast exception in FixWQCurveGenerator.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3467
diff changeset
22 }
3467
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
23 }
b9c2becbcc9e Towards issue745 (lines for averages in deltawt).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
24 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org