view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentDensityValue.java @ 4522:a9753f717b3d

Completed and fixed sediment load calculation. * Now calculates with units. * Adds problems to error report. * Correctly calculates total loads.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 14 Nov 2012 17:18:44 +0100
parents 71e6fe870c1d
children
line wrap: on
line source
package de.intevation.flys.artifacts.model.minfo;


public class SedimentDensityValue
{

    private double km;
    private double density;
    private int year;

    public SedimentDensityValue() {
        this.km = 0d;
        this.density = 0d;
        this.year = 0;
    }

    public SedimentDensityValue(double km, double density, int year) {
        this.km = km;
        this.density = density;
        this.year = year;
    }

    public double getKm() {
        return km;
    }

    public void setKm(double km) {
        this.km = km;
    }

    public double getDensity() {
        return density;
    }

    public void setDensity(double density) {
        this.density = density;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }
}

http://dive4elements.wald.intevation.org