Mercurial > dive4elements > river
changeset 9587:d116a791b1f8
zu Punkt 10.4 Sohlhöhe Feld 1 (links)...
author | gernotbelger |
---|---|
date | Thu, 10 Jan 2019 09:07:16 +0100 |
parents | e02797341885 |
children | c57caff9b00b |
files | backend/src/main/java/org/dive4elements/river/model/BedHeightValueType.java |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/BedHeightValueType.java Thu Jan 10 08:53:09 2019 +0100 +++ b/backend/src/main/java/org/dive4elements/river/model/BedHeightValueType.java Thu Jan 10 09:07:16 2019 +0100 @@ -21,12 +21,23 @@ public Double getValue(final BedHeightValue bedheightValue) { return bedheightValue.getMinHeight(); } + + @Override + public String getLeftRightStringAppendix() { + return "bundu_facet_field_bedheight.description.appendix.left"; + + } }, max { @Override public Double getValue(final BedHeightValue bedheightValue) { return bedheightValue.getMaxHeight(); } + + @Override + public String getLeftRightStringAppendix() { + return "bundu_facet_field_bedheight.description.appendix.right"; + } }, value { @Override @@ -39,6 +50,11 @@ public Double getValue(final BedHeightValue bedheightValue) { return bedheightValue.getHeight01(); } + + @Override + public String getLeftRightStringAppendix() { + return min.getLeftRightStringAppendix(); + } }, field02 { @Override @@ -93,10 +109,19 @@ public Double getValue(final BedHeightValue bedheightValue) { return bedheightValue.getHeight10(); } + + @Override + public String getLeftRightStringAppendix() { + return max.getLeftRightStringAppendix(); + } }; public abstract Double getValue(final BedHeightValue bedheightValue); + public String getLeftRightStringAppendix() { + return ""; + } + /** * Enum constant of a section height *