Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/model/BedHeight.java @ 8560:6fcf4717605f
Meta-data on sounding width associated to bed heights is redundant to real data associated to values.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Mon, 16 Feb 2015 11:48:05 +0100 |
parents | backend/src/main/java/org/dive4elements/river/model/BedHeightSingle.java@4c3ccf2b0304 |
children | ff27548d078c |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/BedHeight.java Mon Feb 16 11:08:33 2015 +0100 +++ b/backend/src/main/java/org/dive4elements/river/model/BedHeight.java Mon Feb 16 11:48:05 2015 +0100 @@ -36,7 +36,6 @@ private Integer id; private Integer year; - private Integer soundingWidth; private String evaluationBy; private String description; @@ -63,7 +62,6 @@ public BedHeight( River river, Integer year, - Integer soundingWidth, BedHeightType type, LocationSystem locationSystem, ElevationModel curElevationModel, @@ -72,7 +70,6 @@ this( river, year, - soundingWidth, type, locationSystem, curElevationModel, @@ -86,7 +83,6 @@ public BedHeight( River river, Integer year, - Integer soundingWidth, BedHeightType type, LocationSystem locationSystem, ElevationModel curElevationModel, @@ -97,7 +93,6 @@ ) { this.river = river; this.year = year; - this.soundingWidth = soundingWidth; this.type = type; this.locationSystem = locationSystem; this.curElevationModel = curElevationModel; @@ -144,15 +139,6 @@ this.year = year; } - @Column(name = "sounding_width") - public Integer getSoundingWidth() { - return soundingWidth; - } - - public void setSoundingWidth(Integer soundingWidth) { - this.soundingWidth = soundingWidth; - } - @OneToOne @JoinColumn(name = "type_id") public BedHeightType getType() {