comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationAccess.java @ 9624:02ca823ec9c6

zu Pos 20 Nachtrag; infrastructureChoice
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Fri, 11 Oct 2019 18:30:36 +0200
parents 929d645691ae
children
comparison
equal deleted inserted replaced
9623:677ff7ed9a60 9624:02ca823ec9c6
8 * documentation coming with Dive4Elements River for details. 8 * documentation coming with Dive4Elements River for details.
9 */ 9 */
10 10
11 package org.dive4elements.river.artifacts.sinfo.flood_duration; 11 package org.dive4elements.river.artifacts.sinfo.flood_duration;
12 12
13 import java.util.List;
14
13 import org.apache.log4j.Logger; 15 import org.apache.log4j.Logger;
14 import org.dive4elements.river.artifacts.access.RangeAccess; 16 import org.dive4elements.river.artifacts.access.RangeAccess;
15 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; 17 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact;
16 import org.dive4elements.river.artifacts.sinfo.SinfoCalcMode; 18 import org.dive4elements.river.artifacts.sinfo.SinfoCalcMode;
19 import org.dive4elements.river.artifacts.sinfo.flood_duration.InfrastructureServerClientXChange.Element;
17 import org.dive4elements.river.artifacts.sinfo.flood_duration.RiversideRadioChoice.RiversideChoiceKey; 20 import org.dive4elements.river.artifacts.sinfo.flood_duration.RiversideRadioChoice.RiversideChoiceKey;
18 21
19 /** 22 /**
20 * Access to the flood duration calculation type specific SInfo artifact data. 23 * Access to the flood duration calculation type specific SInfo artifact data.
21 * REMARK: this class is NOT intended to be hold in the results (or anywhere else), in order to avoid a permanent 24 * REMARK: this class is NOT intended to be hold in the results (or anywhere else), in order to avoid a permanent
46 } 49 }
47 50
48 public boolean getIsWspl() { 51 public boolean getIsWspl() {
49 return super.getBoolean("wspl").booleanValue(); 52 return super.getBoolean("wspl").booleanValue();
50 } 53 }
54
55 public List<Element> getInfrastructureChoices() {
56 return InfrastructureServerClientXChange.parse(super.getString("flood_infrastructure"));
57 }
51 } 58 }

http://dive4elements.wald.intevation.org