Mercurial > dive4elements > river
changeset 6373:be283f9bc079
Add fields, getters and setters for ranges in SedimentLoadFraction.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 19 Jun 2013 16:53:27 +0200 |
parents | 01073acf6735 |
children | 48e92ff57f23 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java |
diffstat | 1 files changed, 73 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java Wed Jun 19 09:40:38 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java Wed Jun 19 16:53:27 2013 +0200 @@ -9,8 +9,9 @@ package org.dive4elements.river.artifacts.model.minfo; import org.dive4elements.river.artifacts.model.NamedObjectImpl; +import org.dive4elements.river.artifacts.model.Range; - +/** One part of sedimentload. */ public class SedimentLoadFraction extends NamedObjectImpl { @@ -22,6 +23,16 @@ double susp_sediment; double loadTotal; double total; + /** Values are valid within this km range. */ + Range sandRange = null; + Range fineMiddleRange = null; + Range coarseRange = null; + Range suspSandRange = null; + Range suspSandBedRange = null; + Range suspSedimentRange = null; + Range loadTotalRange = null; + Range totalRange = null; + public SedimentLoadFraction() { sand = 0d; @@ -41,6 +52,14 @@ this.sand = sand; } + public void setSandRange(Range range) { + this.sandRange = range; + } + + public Range getSandRange() { + return this.sandRange; + } + public double getFine_middle() { return fine_middle; } @@ -49,6 +68,14 @@ this.fine_middle = fine_middle; } + public void setFineMiddleRange(Range range) { + this.fineMiddleRange = range; + } + + public Range getFineMiddleRange() { + return this.fineMiddleRange; + } + public double getCoarse() { return coarse; } @@ -57,6 +84,14 @@ this.coarse = coarse; } + public Range getCoarseRange() { + return this.coarseRange; + } + + public void setCoarseRange(Range range) { + this.coarseRange = range; + } + public double getSusp_sand() { return susp_sand; } @@ -65,6 +100,14 @@ this.susp_sand = susp_sand; } + public void setSuspSandRange(Range range) { + this.suspSandRange = range; + } + + public Range getSuspSandRange() { + return this.suspSandRange; + } + public double getSusp_sand_bed() { return susp_sand_bed; } @@ -73,6 +116,14 @@ this.susp_sand_bed = susp_sand_bed; } + public void setSuspSandBedRange(Range range) { + this.suspSandRange = range; + } + + public Range getSuspSandBedRange() { + return this.suspSandRange; + } + public double getSusp_sediment() { return susp_sediment; } @@ -81,6 +132,14 @@ this.susp_sediment = susp_sediment; } + public void setSuspSedimentRange(Range range) { + this.suspSedimentRange = range; + } + + public Range getSuspSedimentRange() { + return this.suspSedimentRange; + } + public double getTotal() { return total; } @@ -89,6 +148,14 @@ this.total = total; } + public void setTotalRange(Range range) { + this.totalRange = range; + } + + public Range getTotalRange() { + return this.totalRange; + } + public double getLoadTotal() { return loadTotal; } @@ -96,4 +163,9 @@ public void setLoadTotal(double total) { this.loadTotal = total; } + + public void setLoadTotalRange(Range range) { + this.loadTotalRange = range; + } } +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :