comparison 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
comparison
equal deleted inserted replaced
3885:393c10b07a76 3886:633fbb61a0cc
1 package de.intevation.flys.artifacts.model.minfo;
2
3
4 public class BedHeightSingle
5 extends BedHeight
6 {
7
8 protected int year;
9
10 public BedHeightSingle() {
11 super();
12 this.year = -1;
13 }
14
15 public BedHeightSingle(String name) {
16 super(name);
17 this.year = -1;
18 }
19
20 public void add(
21 double value,
22 double station,
23 double gap,
24 double width,
25 int year
26 ) {
27 super.add(value, station, gap, width);
28 this.year = year;
29 }
30
31 public int getYear() {
32 return this.year;
33 }
34 }

http://dive4elements.wald.intevation.org