diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/BedHeightInfo.java @ 8882:f762fadc5313

Further work on SINFO-FlowDepth
author gernotbelger
date Fri, 09 Feb 2018 16:11:47 +0100
parents 64ca63f79f6f
children 7a8c12706834
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/BedHeightInfo.java	Fri Feb 09 16:11:34 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/BedHeightInfo.java	Fri Feb 09 16:11:47 2018 +0100
@@ -24,27 +24,25 @@
 
     private final String type;
 
+    private final String evaluationBy;
+
     private final String locationSystem;
 
     private final String curElevationModelUnit;
 
     private final String oldElevationModelUnit;
 
+
     public static BedHeightInfo from(final BedHeight bedHeight) {
         return new BedHeightInfo(bedHeight);
     }
 
     private BedHeightInfo(final BedHeight bedHeight) {
-
         this.year = bedHeight.getYear();
-
-        // private String evaluationBy;
         this.description = bedHeight.getDescription();
-
         this.type = bedHeight.getType().getName();
-
+        this.evaluationBy = bedHeight.getEvaluationBy();
         this.locationSystem = bedHeight.getLocationSystem().getName();
-
         this.curElevationModelUnit = bedHeight.getCurElevationModel().getUnit().getName();
         this.oldElevationModelUnit = bedHeight.getCurElevationModel().getUnit().getName();
     }
@@ -61,6 +59,10 @@
         return this.type;
     }
 
+    public String getEvaluationBy() {
+        return this.evaluationBy;
+    }
+
     public String getLocationSystem() {
         return this.locationSystem;
     }

http://dive4elements.wald.intevation.org