Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationAccess.java @ 9229:0dcd1cd41915
Different themes/facets for left bank and right bank infrastructures in S-Info flood durations, some fixmes done
author | mschaefer |
---|---|
date | Thu, 05 Jul 2018 16:49:42 +0200 |
parents | 1614cb14308f |
children | 929d645691ae |
comparison
equal
deleted
inserted
replaced
9228:dba14da43f23 | 9229:0dcd1cd41915 |
---|---|
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.log4j.Logger; |
14 import org.dive4elements.river.artifacts.access.RangeAccess; | 14 import org.dive4elements.river.artifacts.access.RangeAccess; |
15 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; | 15 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; |
16 import org.dive4elements.river.artifacts.sinfo.SinfoCalcMode; | 16 import org.dive4elements.river.artifacts.sinfo.SinfoCalcMode; |
17 import org.dive4elements.river.artifacts.sinfo.flood_duration.RiversideRadioChoice.RiversideChoiceKey; | |
17 | 18 |
18 /** | 19 /** |
19 * Access to the flood duration calculation type specific SInfo artifact data. | 20 * Access to the flood duration calculation type specific SInfo artifact data. |
20 * REMARK: this class is NOT intended to be hold in the results (or anywhere else), in order to avoid a permanent | 21 * REMARK: this class is NOT intended to be hold in the results (or anywhere else), in order to avoid a permanent |
21 * reference to the artifact instance. | 22 * reference to the artifact instance. |
38 @Override | 39 @Override |
39 public Double getStep() { | 40 public Double getStep() { |
40 return super.getStep(); | 41 return super.getStep(); |
41 } | 42 } |
42 | 43 |
43 public String getRiverside() { | 44 public RiversideChoiceKey getRiverside() { |
44 return super.getString("riverside"); | 45 return RiversideChoiceKey.fromKey(super.getString("riverside")); |
45 } | 46 } |
46 } | 47 } |