Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/SedimentLoadInfoRecord.java @ 4299:abd304085bd4
Added helper panel to sediment load UI to display sediemnt load overviews.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 29 Oct 2012 13:16:03 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4298:1f98a3a89e13 | 4299:abd304085bd4 |
---|---|
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 } |