annotate flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java @ 4377:512a3af69e18

Extract common generator method from FixLongitudinalSectionGenerator The extracted methods and code can be reused for generating charts for bed differences if fixanalysis data is loaded via the datacache.
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 02 Nov 2012 15:47:15 +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