comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/SedimentLoadInfoRecord.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/shared/model/SedimentLoadInfoRecord.java@abd304085bd4
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.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 }

http://dive4elements.wald.intevation.org