Mercurial > dive4elements > river
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java Thu Sep 20 09:31:18 2012 +0000 @@ -0,0 +1,34 @@ +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; + } +}