Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java Fri Jan 19 18:47:18 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java Fri Jan 19 18:47:53 2018 +0100 @@ -19,7 +19,7 @@ * @author Gernot Belger * */ -public class FlowDepthCalculationResults{ +public final class FlowDepthCalculationResults{ private final List<FlowDepthCalculationResult> results = new ArrayList<>(); private final River river; @@ -30,13 +30,27 @@ private final boolean useTkh; - public FlowDepthCalculationResults(final River river, final double from, final double to, final boolean useTkh) { - this.river = river; + private final String calcModeLabel; + + private final String user; + + public FlowDepthCalculationResults(final String calcModeLabel, final String user, final River river, final double from, final double to, final boolean useTkh) { + this.calcModeLabel = calcModeLabel; + this.user = user; + this.river = river; this.from = from; this.to = to; this.useTkh = useTkh; } + public String getCalcModeLabel() { + return this.calcModeLabel; + } + + public String getUser() { + return this.user; + } + public River getRiver() { return this.river; }