Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java @ 8951:322b0e6298ea
Work on SINFO FlowDepth-Development
author | gernotbelger |
---|---|
date | Fri, 16 Mar 2018 18:08:38 +0100 |
parents | |
children | c40db8e8dcae |
comparison
equal
deleted
inserted
replaced
8950:b0aeed4c97c1 | 8951:322b0e6298ea |
---|---|
1 /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.artifacts.sinfo.flowdepthdev; | |
11 | |
12 import java.util.Collection; | |
13 | |
14 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResult; | |
15 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultRow; | |
16 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo; | |
17 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; | |
18 | |
19 /** | |
20 * Contains the results of a {@link FlowDepthCalculation}. | |
21 * | |
22 * @author Gernot Belger | |
23 */ | |
24 final class FlowDepthDevelopmentCalculationResult extends AbstractSInfoCalculationResult { | |
25 | |
26 private static final long serialVersionUID = 1L; | |
27 | |
28 private final BedHeightInfo currentSounding; | |
29 | |
30 private final BedHeightInfo historicalSounding; | |
31 | |
32 private final WstInfo historicalWst; | |
33 | |
34 private final WstInfo currentWst; | |
35 | |
36 public FlowDepthDevelopmentCalculationResult(final String label, final WstInfo currentWst, final WstInfo historicalWst, final BedHeightInfo currentSounding, | |
37 final BedHeightInfo historicalSounding, final Collection<SInfoResultRow> rows) { | |
38 // FIXME: bad abstraction if we give null here... | |
39 super(label, null, rows); | |
40 | |
41 this.currentWst = currentWst; | |
42 this.historicalWst = historicalWst; | |
43 | |
44 this.currentSounding = currentSounding; | |
45 this.historicalSounding = historicalSounding; | |
46 } | |
47 | |
48 public WstInfo getCurrentWst() { | |
49 return this.currentWst; | |
50 } | |
51 | |
52 public WstInfo getHistoricalWst() { | |
53 return this.historicalWst; | |
54 } | |
55 | |
56 public BedHeightInfo getCurrentSounding() { | |
57 return this.currentSounding; | |
58 } | |
59 | |
60 public BedHeightInfo getHistoricalSounding() { | |
61 return this.historicalSounding; | |
62 } | |
63 } |