Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.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 import java.util.Date; | |
4 | |
5 | |
6 public class BedHeightEpoch | |
7 extends BedHeight | |
8 { | |
9 | |
10 protected Date start; | |
11 protected Date end; | |
12 | |
13 public BedHeightEpoch() { | |
14 this.start = new Date(); | |
15 this.end = new Date(); | |
16 } | |
17 | |
18 public BedHeightEpoch(String name) { | |
19 super(name); | |
20 this.start = new Date(); | |
21 this.end = new Date(); | |
22 } | |
23 | |
24 public void add( | |
25 double value, | |
26 double station, | |
27 double gap, | |
28 double width, | |
29 Date start, | |
30 Date end | |
31 ) { | |
32 super.add(value, station, gap, width); | |
33 this.start = start; | |
34 this.end = end; | |
35 } | |
36 | |
37 public Date getStart() { | |
38 return start; | |
39 } | |
40 | |
41 public Date getEnd() { | |
42 return end; | |
43 } | |
44 } |