comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResult.java @ 8948:a4f1ac81f26d

Work on SINFO-FlowDepthMinMax. Also rework of result row stuff, in order to reduce abstraction, using result type concept
author gernotbelger
date Wed, 14 Mar 2018 14:10:32 +0100
parents 5d5d482da3e9
children d5802f22e4f5
comparison
equal deleted inserted replaced
8947:86650594f051 8948:a4f1ac81f26d
10 package org.dive4elements.river.artifacts.sinfo.flowdepth; 10 package org.dive4elements.river.artifacts.sinfo.flowdepth;
11 11
12 import java.util.Collection; 12 import java.util.Collection;
13 13
14 import org.dive4elements.river.artifacts.sinfo.common.AbstractTkhCalculationResult; 14 import org.dive4elements.river.artifacts.sinfo.common.AbstractTkhCalculationResult;
15 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultRow;
15 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo; 16 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo;
16 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; 17 import org.dive4elements.river.artifacts.sinfo.util.WstInfo;
17 18
18 /** 19 /**
19 * Contains the results of a {@link FlowDepthCalculation}. 20 * Contains the results of a {@link FlowDepthCalculation}.
20 * 21 *
21 * @author Gernot Belger 22 * @author Gernot Belger
22 */ 23 */
23 final class FlowDepthCalculationResult extends AbstractTkhCalculationResult<FlowDepthRow> { 24 final class FlowDepthCalculationResult extends AbstractTkhCalculationResult {
24 25
25 private static final long serialVersionUID = 1L; 26 private static final long serialVersionUID = 1L;
26 27
27 private final BedHeightInfo sounding; 28 private final BedHeightInfo sounding;
28 29
29 public FlowDepthCalculationResult(final String label, final WstInfo wst, final BedHeightInfo sounding, final boolean hasTkh, 30 public FlowDepthCalculationResult(final String label, final WstInfo wst, final BedHeightInfo sounding, final boolean hasTkh,
30 final Collection<FlowDepthRow> rows) { 31 final Collection<SInfoResultRow> rows) {
31 super(label, wst, hasTkh, rows); 32 super(label, wst, hasTkh, rows);
32 33
33 this.sounding = sounding; 34 this.sounding = sounding;
34 } 35 }
35 36

http://dive4elements.wald.intevation.org