Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/SedimentLoadInfoRecord.java @ 5200:42bb6ff78d1b 2.9.11
Directly set the connectionInitSqls on the datasource
Somehow the factory fails to set the connectionInitSqls if
we add it to the dbcpProperties. So we now set it directly
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 08 Mar 2013 11:48:33 +0100 |
parents | abd304085bd4 |
children |
line wrap: on
line source
package de.intevation.flys.client.shared.model; import com.smartgwt.client.widgets.grid.ListGridRecord; public class SedimentLoadInfoRecord extends ListGridRecord { protected SedimentLoadInfoObject sedimentLoadInfo; public SedimentLoadInfoRecord(SedimentLoadInfoObject info) { this.sedimentLoadInfo = info; setDescription(info.getDescription()); setDate(info.getDate()); } public void setDescription(String description) { setAttribute("description", description); } public void setDate(String date) { setAttribute("date", date); } public String getDescription() { return getAttribute("description"); } public String getDate() { return getAttribute("date"); } }