comparison flys-aft/src/main/java/de/intevation/aft/DischargeTable.java @ 4090:d556e29592f5

Create new discharge tables if needed. flys-aft/trunk@3590 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 04 Jan 2012 17:59:26 +0000
parents
children a91c7e982c32
comparison
equal deleted inserted replaced
4089:859b4781554a 4090:d556e29592f5
1 package de.intevation.aft;
2
3 public class DischargeTable
4 {
5 protected int id;
6 protected int gaugeId;
7 protected TimeInterval timeInterval;
8 protected String description;
9
10 public DischargeTable() {
11 }
12
13 public DischargeTable(
14 int gaugeId,
15 TimeInterval timeInterval,
16 String description
17 ) {
18 this.gaugeId = gaugeId;
19 this.timeInterval = timeInterval;
20 this.description = description;
21 }
22
23 public DischargeTable(
24 int id,
25 int gaugeId,
26 TimeInterval timeInterval,
27 String description
28 ) {
29 this(gaugeId, timeInterval, description);
30 this.id = id;
31 }
32
33 public int getId() {
34 return id;
35 }
36
37 public void setId(int id) {
38 this.id = id;
39 }
40
41 public int getGaugeId() {
42 return gaugeId;
43 }
44
45 public void setGaugeId(int gaugeId) {
46 this.gaugeId = gaugeId;
47 }
48
49 public TimeInterval getTimeInterval() {
50 return timeInterval;
51 }
52
53 public void setTimeInterval(TimeInterval timeInterval) {
54 this.timeInterval = timeInterval;
55 }
56
57 public String getDescription() {
58 return description;
59 }
60
61 public void setDescription(String description) {
62 this.description = description;
63 }
64 }
65 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
66

http://dive4elements.wald.intevation.org