Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/SedimentLoadInfoRecord.java @ 8230:f54c4b858213
(issue1448) Extend SedimentLoadInfo request to handle sq time intervals
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 08 Sep 2014 16:23:38 +0200 |
parents | ea9eef426962 |
children | b6371be363b1 |
comparison
equal
deleted
inserted
replaced
8229:0bf888783683 | 8230:f54c4b858213 |
---|---|
18 | 18 |
19 public SedimentLoadInfoRecord(SedimentLoadInfoObject info) { | 19 public SedimentLoadInfoRecord(SedimentLoadInfoObject info) { |
20 this.sedimentLoadInfo = info; | 20 this.sedimentLoadInfo = info; |
21 setDescription(info.getDescription()); | 21 setDescription(info.getDescription()); |
22 setDate(info.getDate()); | 22 setDate(info.getDate()); |
23 setSQTiDate(info.getSQTiDate()); | |
24 setSQTiId(info.getSQTiId()); | |
23 } | 25 } |
24 | 26 |
25 public void setDescription(String description) { | 27 public void setDescription(String description) { |
26 setAttribute("description", description); | 28 setAttribute("description", description); |
27 } | 29 } |
28 | 30 |
29 public void setDate(String date) { | 31 public void setDate(String date) { |
30 setAttribute("date", date); | 32 setAttribute("date", date); |
31 } | 33 } |
32 | 34 |
35 public void setSQTiDate(String date) { | |
36 setAttribute("sq_date", date); | |
37 } | |
38 | |
39 public void setSQTiId(String id) { | |
40 setAttribute("sq_ti_id", id); | |
41 } | |
42 | |
33 public String getDescription() { | 43 public String getDescription() { |
34 return getAttribute("description"); | 44 return getAttribute("description"); |
35 } | 45 } |
36 | 46 |
37 public String getDate() { | 47 public String getDate() { |
38 return getAttribute("date"); | 48 return getAttribute("date"); |
39 } | 49 } |
50 | |
51 public String getSQTiId() { | |
52 return getAttribute("sq_ti_id"); | |
53 } | |
54 | |
55 public String getSQTiDate() { | |
56 return getAttribute("sq_date"); | |
57 } | |
40 } | 58 } |