Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/SedimentLoadInfoRecord.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/shared/model/SedimentLoadInfoRecord.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.client.shared.model; | |
2 | |
3 import com.smartgwt.client.widgets.grid.ListGridRecord; | |
4 | |
5 | |
6 public class SedimentLoadInfoRecord | |
7 extends ListGridRecord | |
8 { | |
9 protected SedimentLoadInfoObject sedimentLoadInfo; | |
10 | |
11 public SedimentLoadInfoRecord(SedimentLoadInfoObject info) { | |
12 this.sedimentLoadInfo = info; | |
13 setDescription(info.getDescription()); | |
14 setDate(info.getDate()); | |
15 } | |
16 | |
17 public void setDescription(String description) { | |
18 setAttribute("description", description); | |
19 } | |
20 | |
21 public void setDate(String date) { | |
22 setAttribute("date", date); | |
23 } | |
24 | |
25 public String getDescription() { | |
26 return getAttribute("description"); | |
27 } | |
28 | |
29 public String getDate() { | |
30 return getAttribute("date"); | |
31 } | |
32 } |