Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/InfrastructureResultFacet.java @ 9612:f8308db94634
#20 UI, Diagramme
author | dnt_bjoernsen <d.tironi@bjoernsen.de> |
---|---|
date | Wed, 09 Oct 2019 16:17:16 +0200 |
parents | |
children | 26e113e8224f |
comparison
equal
deleted
inserted
replaced
9611:8ed6c45136fa | 9612:f8308db94634 |
---|---|
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 org.dive4elements.river.artifacts.common.ResultFacet; | |
13 import org.dive4elements.river.artifacts.sinfo.flood_duration.FloodDurationCalculationResult.Infrastructure; | |
14 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; | |
15 | |
16 /** | |
17 * @author Domenico Nardi Tironi | |
18 * | |
19 */ | |
20 public class InfrastructureResultFacet extends ResultFacet { | |
21 | |
22 private static final long serialVersionUID = 1L; | |
23 | |
24 private final Infrastructure m_infrastructure; | |
25 | |
26 public InfrastructureResultFacet(final int facetIndex, final int resultIndex, final String name, final String description, final String axisLabel, | |
27 final String id, final String hash, final Infrastructure infrastructure) { | |
28 super(facetIndex, resultIndex, name, description, axisLabel, ComputeType.ADVANCE, id, hash); | |
29 this.m_infrastructure = infrastructure; | |
30 } | |
31 | |
32 public Infrastructure getInfrastructure() { | |
33 return this.m_infrastructure; | |
34 } | |
35 } |