comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/BedHeightInfo.java @ 8879:64ca63f79f6f

Further work on SINFO-FlowDepth
author gernotbelger
date Fri, 09 Feb 2018 13:27:10 +0100
parents 9f7a285b0ee3
children f762fadc5313
comparison
equal deleted inserted replaced
8878:ddd6523e0868 8879:64ca63f79f6f
24 24
25 private final String type; 25 private final String type;
26 26
27 private final String locationSystem; 27 private final String locationSystem;
28 28
29 private final String curElevationModelName; 29 private final String curElevationModelUnit;
30 30
31 private final String oldElevationModelName; 31 private final String oldElevationModelUnit;
32 32
33 public static BedHeightInfo from(final BedHeight bedHeight) { 33 public static BedHeightInfo from(final BedHeight bedHeight) {
34 return new BedHeightInfo(bedHeight); 34 return new BedHeightInfo(bedHeight);
35 } 35 }
36 36
43 43
44 this.type = bedHeight.getType().getName(); 44 this.type = bedHeight.getType().getName();
45 45
46 this.locationSystem = bedHeight.getLocationSystem().getName(); 46 this.locationSystem = bedHeight.getLocationSystem().getName();
47 47
48 this.curElevationModelName = bedHeight.getCurElevationModel().getName(); 48 this.curElevationModelUnit = bedHeight.getCurElevationModel().getUnit().getName();
49 this.oldElevationModelName = bedHeight.getCurElevationModel().getName(); 49 this.oldElevationModelUnit = bedHeight.getCurElevationModel().getUnit().getName();
50 } 50 }
51 51
52 public Integer getYear() { 52 public Integer getYear() {
53 return this.year; 53 return this.year;
54 } 54 }
63 63
64 public String getLocationSystem() { 64 public String getLocationSystem() {
65 return this.locationSystem; 65 return this.locationSystem;
66 } 66 }
67 67
68 public String getCurElevationModelName() { 68 public String getCurElevationModelUnit() {
69 return this.curElevationModelName; 69 return this.curElevationModelUnit;
70 } 70 }
71 71
72 public String getOldElevationModelName() { 72 public String getOldElevationModelUnit() {
73 return this.oldElevationModelName; 73 return this.oldElevationModelUnit;
74 } 74 }
75 } 75 }

http://dive4elements.wald.intevation.org