teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5993: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5993: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.shared.model; rrenkert@4299: rrenkert@4299: import com.smartgwt.client.widgets.grid.ListGridRecord; rrenkert@4299: rrenkert@4299: rrenkert@4299: public class SedimentLoadInfoRecord rrenkert@4299: extends ListGridRecord rrenkert@4299: { rrenkert@4299: protected SedimentLoadInfoObject sedimentLoadInfo; rrenkert@4299: rrenkert@4299: public SedimentLoadInfoRecord(SedimentLoadInfoObject info) { rrenkert@4299: this.sedimentLoadInfo = info; rrenkert@4299: setDescription(info.getDescription()); rrenkert@4299: setDate(info.getDate()); andre@8230: setSQTiDate(info.getSQTiDate()); andre@8230: setSQTiId(info.getSQTiId()); rrenkert@4299: } rrenkert@4299: rrenkert@4299: public void setDescription(String description) { rrenkert@4299: setAttribute("description", description); rrenkert@4299: } rrenkert@4299: rrenkert@4299: public void setDate(String date) { rrenkert@4299: setAttribute("date", date); rrenkert@4299: } rrenkert@4299: andre@8230: public void setSQTiDate(String date) { andre@8234: setAttribute("sq_ti_date", date); andre@8230: } andre@8230: andre@8230: public void setSQTiId(String id) { andre@8230: setAttribute("sq_ti_id", id); andre@8230: } andre@8230: rrenkert@4299: public String getDescription() { rrenkert@4299: return getAttribute("description"); rrenkert@4299: } rrenkert@4299: rrenkert@4299: public String getDate() { rrenkert@4299: return getAttribute("date"); rrenkert@4299: } andre@8230: andre@8230: public String getSQTiId() { andre@8230: return getAttribute("sq_ti_id"); andre@8230: } andre@8230: andre@8230: public String getSQTiDate() { andre@8234: return getAttribute("sq_ti_date"); andre@8230: } rrenkert@4299: }