comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpoch.java @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpoch.java@bd047b71ab37
children 4897a58c8746
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.river.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 Date start,
28 Date end
29 ) {
30 super.add(value, station);
31 this.start = start;
32 this.end = end;
33 }
34
35 public Date getStart() {
36 return start;
37 }
38
39 public Date getEnd() {
40 return end;
41 }
42 }

http://dive4elements.wald.intevation.org