view flys-client/src/main/java/de/intevation/flys/client/shared/model/SedimentLoadInfoRecord.java @ 4866:acfd48384835

Changed data field names in fix analsis to ld_from, ld_to, ld step. * Changed names in state model. * Changed data fields in artifact. * Use RangeAccess to get location/distance data.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 25 Jan 2013 11:53:04 +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