view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java @ 3886:633fbb61a0cc

Split bed heights into bed height epochs and single bed heights. flys-artifacts/trunk@5536 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 20 Sep 2012 09:31:18 +0000
parents
children bce2dd4310a6
line wrap: on
line source
package de.intevation.flys.artifacts.model.minfo;


public class BedHeightSingle
extends BedHeight
{

    protected int year;

    public BedHeightSingle() {
        super();
        this.year = -1;
    }

    public BedHeightSingle(String name) {
        super(name);
        this.year = -1;
    }

    public void add(
        double value,
        double station,
        double gap,
        double width,
        int year
    ) {
        super.add(value, station, gap, width);
        this.year = year;
    }

    public int getYear() {
        return this.year;
    }
}

http://dive4elements.wald.intevation.org