Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java @ 9145:e6b63b2b41b9
sinfo.flood_duration pdf, csv, ui
author | gernotbelger |
---|---|
date | Tue, 12 Jun 2018 10:23:23 +0200 |
parents | |
children | 23945061daec |
comparison
equal
deleted
inserted
replaced
9144:7879c2ca8bd3 | 9145:e6b63b2b41b9 |
---|---|
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.flood_duration; | |
11 | |
12 import java.util.Collection; | |
13 | |
14 import org.dive4elements.river.artifacts.common.ResultRow; | |
15 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResult; | |
16 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; | |
17 | |
18 /** | |
19 * Contains the results of a {@link FloodDurationCalculation}. | |
20 * | |
21 * @author Gernot Belger | |
22 */ | |
23 final class FloodDurationCalculationResult extends AbstractSInfoCalculationResult { | |
24 | |
25 private static final long serialVersionUID = 1L; | |
26 private final int waterlevelCount; | |
27 | |
28 public FloodDurationCalculationResult(final String label, final WstInfo wstInfo, final Collection<ResultRow> rows, final int waterlevelCount) { | |
29 super(label, wstInfo, rows); | |
30 this.waterlevelCount = waterlevelCount; | |
31 | |
32 } | |
33 | |
34 public int getWaterlevelCount() { | |
35 return this.waterlevelCount; | |
36 } | |
37 | |
38 } |