Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpochData.java @ 7392:04b70a6fe8c5
Moved BedHeightEpoch to BedHeightEpochData.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 17 Oct 2013 15:21:57 +0200 |
parents | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpoch.java@9513d1af7d58 |
children |
comparison
equal
deleted
inserted
replaced
7391:9513d1af7d58 | 7392:04b70a6fe8c5 |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU AGPL (>=v3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
6 * documentation coming with Dive4Elements River for details. | |
7 */ | |
8 | |
9 package org.dive4elements.river.artifacts.model.minfo; | |
10 | |
11 import java.util.Date; | |
12 | |
13 | |
14 public class BedHeightEpochData | |
15 extends BedHeightData | |
16 { | |
17 | |
18 protected Date start; | |
19 protected Date end; | |
20 | |
21 public BedHeightEpochData() { | |
22 this.start = new Date(); | |
23 this.end = new Date(); | |
24 } | |
25 | |
26 public BedHeightEpochData(String name) { | |
27 super(name); | |
28 this.start = new Date(); | |
29 this.end = new Date(); | |
30 } | |
31 | |
32 public void add( | |
33 double value, | |
34 double station, | |
35 Date start, | |
36 Date end | |
37 ) { | |
38 super.add(value, station); | |
39 this.start = start; | |
40 this.end = end; | |
41 } | |
42 | |
43 public Date getStart() { | |
44 return start; | |
45 } | |
46 | |
47 public Date getEnd() { | |
48 return end; | |
49 } | |
50 } |