Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.java @ 8886:cc86b0f9b3c3
SINFO-FlowDepth - work on tkh themes
author | gernotbelger |
---|---|
date | Wed, 14 Feb 2018 18:10:53 +0100 |
parents | 7bbfb24e6eec |
children | d9dbf0b74bc2 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.java Wed Feb 14 18:10:28 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.java Wed Feb 14 18:10:53 2018 +0100 @@ -1,6 +1,6 @@ /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde - * Software engineering by - * Björnsen Beratende Ingenieure GmbH + * Software engineering by + * Björnsen Beratende Ingenieure GmbH * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt * * This file is Free Software under the GNU AGPL (>=v3) @@ -13,78 +13,113 @@ /** * Part of {@link FlowDepthCalculationResult} which represents one calculated row of flow depth data. - * + * * @author Gernot Belger */ -final class FlowDepthRow -implements Serializable { - private final double station; - private final double flowDepth; - private final double flowDepthWithTkh; - private final double tkh; - private final double waterlevel; - private final double discharge; - private final String waterlevelLabel; - private final String gauge; - private final double meanBedHeight; - private final String soundageLabel; - private final String location; - - public FlowDepthRow( double station, double flowDepth, double flowDepthWithTkh, double tkh, double waterlevel, double discharge, String waterlevelLabel, String gauge, double meanBedHeight, String soundageLabel, String location ) { - this.station = station; - this.flowDepth = flowDepth; - this.flowDepthWithTkh = flowDepthWithTkh; - this.tkh = tkh; - this.waterlevel = waterlevel; - this.discharge = discharge; - this.waterlevelLabel = waterlevelLabel; - this.gauge = gauge; - this.meanBedHeight = meanBedHeight; - this.soundageLabel = soundageLabel; - this.location = location; - } - - public double getStation() { - return station; - } - - public double getFlowDepth() { - return flowDepth; - } +final class FlowDepthRow implements Serializable { + private static final long serialVersionUID = 1L; - public double getFlowDepthWithTkh() { - return flowDepthWithTkh; - } - - public double getTkh() { - return tkh; - } - - public double getWaterlevel() { - return waterlevel; - } - - public double getDischarge() { - return discharge; - } + private final double station; - public String getWaterlevelLabel() { - return waterlevelLabel; - } - - public String getGauge() { - return gauge; - } + private final double flowDepth; - public double getMeanBedHeight() { - return meanBedHeight; - } + private final double flowDepthWithTkh; - public String getSoundageLabel() { - return soundageLabel; - } + private final SoilKind tkhKind; - public String getLocation() { - return location; - } + private final double tkh; + + private final double tkhUp; + + private final double tkhDown; + + private final double waterlevel; + + private final double discharge; + + private final String waterlevelLabel; + + private final String gauge; + + private final double meanBedHeight; + + private final String soundageLabel; + + private final String location; + + public FlowDepthRow(final double station, final double flowDepth, final double flowDepthWithTkh, final SoilKind tkhKind, final double tkh, + final double tkhUp, final double tkhDown, + final double waterlevel, final double discharge, final String waterlevelLabel, final String gauge, final double meanBedHeight, + final String soundageLabel, final String location) { + this.station = station; + this.flowDepth = flowDepth; + this.flowDepthWithTkh = flowDepthWithTkh; + this.tkhKind = tkhKind; + this.tkh = tkh; + this.tkhUp = tkhUp; + this.tkhDown = tkhDown; + this.waterlevel = waterlevel; + this.discharge = discharge; + this.waterlevelLabel = waterlevelLabel; + this.gauge = gauge; + this.meanBedHeight = meanBedHeight; + this.soundageLabel = soundageLabel; + this.location = location; + } + + public double getStation() { + return this.station; + } + + public double getFlowDepth() { + return this.flowDepth; + } + + public double getFlowDepthWithTkh() { + return this.flowDepthWithTkh; + } + + public SoilKind getTkhKind() { + return this.tkhKind; + } + + public double getTkh() { + return this.tkh; + } + + public double getTkhUp() { + return this.tkhUp; + } + + public double getTkhDown() { + return this.tkhDown; + } + + public double getWaterlevel() { + return this.waterlevel; + } + + public double getDischarge() { + return this.discharge; + } + + public String getWaterlevelLabel() { + return this.waterlevelLabel; + } + + public String getGauge() { + return this.gauge; + } + + public double getMeanBedHeight() { + return this.meanBedHeight; + } + + public String getSoundageLabel() { + return this.soundageLabel; + } + + public String getLocation() { + return this.location; + } } \ No newline at end of file