comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java @ 8863:1009cab0f86b

Some work on flow depth exporter
author gernotbelger
date Fri, 19 Jan 2018 18:47:53 +0100
parents 7bbfb24e6eec
children f762fadc5313
comparison
equal deleted inserted replaced
8862:5b5bdce5a216 8863:1009cab0f86b
17 17
18 /** 18 /**
19 * @author Gernot Belger 19 * @author Gernot Belger
20 * 20 *
21 */ 21 */
22 public class FlowDepthCalculationResults{ 22 public final class FlowDepthCalculationResults{
23 private final List<FlowDepthCalculationResult> results = new ArrayList<>(); 23 private final List<FlowDepthCalculationResult> results = new ArrayList<>();
24 24
25 private final River river; 25 private final River river;
26 26
27 private final double from; 27 private final double from;
28 28
29 private final double to; 29 private final double to;
30 30
31 private final boolean useTkh; 31 private final boolean useTkh;
32 32
33 public FlowDepthCalculationResults(final River river, final double from, final double to, final boolean useTkh) { 33 private final String calcModeLabel;
34 this.river = river; 34
35 private final String user;
36
37 public FlowDepthCalculationResults(final String calcModeLabel, final String user, final River river, final double from, final double to, final boolean useTkh) {
38 this.calcModeLabel = calcModeLabel;
39 this.user = user;
40 this.river = river;
35 this.from = from; 41 this.from = from;
36 this.to = to; 42 this.to = to;
37 this.useTkh = useTkh; 43 this.useTkh = useTkh;
38 } 44 }
45
46 public String getCalcModeLabel() {
47 return this.calcModeLabel;
48 }
49
50 public String getUser() {
51 return this.user;
52 }
39 53
40 public River getRiver() { 54 public River getRiver() {
41 return this.river; 55 return this.river;
42 } 56 }
43 57

http://dive4elements.wald.intevation.org