view flys-client/src/main/java/de/intevation/flys/client/shared/model/SedimentLoadInfoRecord.java @ 5350:2f6e6ae2fc56

Add small howto which consists mostly of the notes i took while adding the HWSLines / Points wms artifacts
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Mar 2013 16:42:52 +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");
    }
}

http://dive4elements.wald.intevation.org