Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java @ 7554:19a133698eaf
Add start- and stoptime to WQInfoObjects.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 12 Nov 2013 11:47:25 +0100 |
parents | 19459037b3c7 |
children | 56480f609a34 |
comparison
equal
deleted
inserted
replaced
7553:4e999b1d7acd | 7554:19a133698eaf |
---|---|
18 | 18 |
19 protected String type; | 19 protected String type; |
20 | 20 |
21 protected Double value; | 21 protected Double value; |
22 | 22 |
23 protected String startTime; | |
24 | |
25 protected String stopTime; | |
26 | |
23 protected boolean isOfficial; | 27 protected boolean isOfficial; |
24 | 28 |
25 | 29 |
26 public WQInfoObjectImpl() { | 30 public WQInfoObjectImpl() { |
27 } | 31 } |
29 | 33 |
30 public WQInfoObjectImpl( | 34 public WQInfoObjectImpl( |
31 String name, | 35 String name, |
32 String type, | 36 String type, |
33 Double value, | 37 Double value, |
34 boolean isOfficial | 38 boolean isOfficial, |
39 String startTime, | |
40 String stopTime | |
35 ) { | 41 ) { |
36 this.name = name; | 42 this.name = name; |
37 this.type = type; | 43 this.type = type; |
38 this.value = value; | 44 this.value = value; |
39 this.isOfficial = isOfficial; | 45 this.isOfficial = isOfficial; |
46 this.startTime = startTime; | |
47 this.stopTime = stopTime; | |
40 } | 48 } |
41 | 49 |
50 | |
51 @Override | |
52 public String getStopTime() { | |
53 return stopTime; | |
54 } | |
55 | |
56 @Override | |
57 public String getStartTime() { | |
58 return startTime; | |
59 } | |
42 | 60 |
43 @Override | 61 @Override |
44 public String getName() { | 62 public String getName() { |
45 return name; | 63 return name; |
46 } | 64 } |