Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/QWI.java @ 3729:e727e3ebdf85
Factored out a pure QW model to be more reusable.
flys-artifacts/trunk@5402 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 08 Sep 2012 14:19:40 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3728:d03e65378b9f | 3729:e727e3ebdf85 |
---|---|
1 package de.intevation.flys.artifacts.model.fixings; | |
2 | |
3 import de.intevation.flys.artifacts.model.QW; | |
4 | |
5 import java.util.Date; | |
6 | |
7 public class QWI | |
8 extends QW | |
9 { | |
10 protected String description; | |
11 protected Date date; | |
12 protected boolean interpolated; | |
13 protected int index; | |
14 | |
15 public QWI() { | |
16 } | |
17 | |
18 public QWI(double q, double w) { | |
19 super(q, w); | |
20 } | |
21 | |
22 public QWI( | |
23 double q, | |
24 double w, | |
25 String description, | |
26 Date date, | |
27 boolean interpolated, | |
28 int index | |
29 ) { | |
30 super(q, w); | |
31 this.description = description; | |
32 this.date = date; | |
33 this.interpolated = interpolated; | |
34 this.index = index; | |
35 } | |
36 | |
37 public Date getDate() { | |
38 return date; | |
39 } | |
40 | |
41 public void setDate(Date date) { | |
42 this.date = date; | |
43 } | |
44 | |
45 public String getDescription() { | |
46 return description; | |
47 } | |
48 | |
49 public void setDescription(String description) { | |
50 this.description = description; | |
51 } | |
52 | |
53 public boolean getInterpolated() { | |
54 return interpolated; | |
55 } | |
56 | |
57 public void setInterpolated(boolean interpolated) { | |
58 this.interpolated = interpolated; | |
59 } | |
60 | |
61 public int getIndex() { | |
62 return index; | |
63 } | |
64 | |
65 public void setIndex(int index) { | |
66 this.index = index; | |
67 } | |
68 } | |
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |