Mercurial > dive4elements > river
changeset 7993:150d71261cad facet-metadata
Added som more meta data to middle bed height result.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 02 Jul 2014 14:42:07 +0200 |
parents | 03fc4cdb793c |
children | 3c1a16755e61 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightData.java |
diffstat | 2 files changed, 23 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java Wed Jul 02 12:34:52 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java Wed Jul 02 14:42:07 2014 +0200 @@ -115,7 +115,10 @@ single.getEvaluationBy(), single.getDescription(), single.getCurElevationModel().getName(), - single.getOldElevationModel().getName()); + single.getOldElevationModel().getName(), + single.getType().getName(), + single.getLocationSystem().getName(), + single.getSoundingWidth()); for (BedHeightSingleValue value: values) { if (value.getHeight() != null) {
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightData.java Wed Jul 02 12:34:52 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightData.java Wed Jul 02 14:42:07 2014 +0200 @@ -41,19 +41,26 @@ private TDoubleArrayList soundingWidth; private TDoubleArrayList dataGap; private TDoubleArrayList width; + private String type; + private String locationSystem; + private Integer soundWidth; private String oldElevationModel; private String curElevationModel; private ArrayList empty; protected MiddleBedHeightData(int start, int end, String eval, String desc, - String curElevationModel, String oldElevationModel) { + String curElevationModel, String oldElevationModel, String type, + String locationSystem, Integer soundingWidth) { this.startYear = start; this.endYear = end; this.evaluatedBy = eval; this.description = desc; this.curElevationModel = curElevationModel; this.oldElevationModel = oldElevationModel; + this.type = type; + this.locationSystem = locationSystem; + this.soundWidth = soundingWidth; this.km = new TDoubleArrayList(); this.middleHeight = new TDoubleArrayList(); @@ -100,6 +107,17 @@ return this.oldElevationModel; } + public String getType() { + return this.type; + } + + public String getLocationSystem() { + return this.locationSystem; + } + + public String getSoundingWidth() { + return this.soundWidth.toString(); + } protected void addKM(double km) { this.km.add(km); }