diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java @ 8882:f762fadc5313

Further work on SINFO-FlowDepth
author gernotbelger
date Fri, 09 Feb 2018 16:11:47 +0100
parents 1009cab0f86b
children 7a8c12706834
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java	Fri Feb 09 16:11:34 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResults.java	Fri Feb 09 16:11:47 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)
@@ -17,61 +17,61 @@
 
 /**
  * @author Gernot Belger
- *
  */
-public final class FlowDepthCalculationResults{
-	private final List<FlowDepthCalculationResult> results = new ArrayList<>();
+public final class FlowDepthCalculationResults {
+    private final List<FlowDepthCalculationResult> results = new ArrayList<>();
 
-	private final River river;
-	
-	private final double from;
-	
-	private final double to;
-	
-	private final boolean useTkh;
+    private final River river;
+
+    private final double from;
+
+    private final double to;
+
+    private final boolean useTkh;
 
     private final String calcModeLabel;
 
     private final String user;
 
-	public FlowDepthCalculationResults(final String calcModeLabel, final String user, final River river, final double from, final double to, final boolean useTkh) {
-		this.calcModeLabel = calcModeLabel;
+    public FlowDepthCalculationResults(final String calcModeLabel, final String user, final River river,
+            final double from, final double to, final boolean useTkh) {
+        this.calcModeLabel = calcModeLabel;
         this.user = user;
         this.river = river;
-		this.from = from;
-		this.to = to;
-		this.useTkh = useTkh;
-	}
-	
-	public String getCalcModeLabel() {
+        this.from = from;
+        this.to = to;
+        this.useTkh = useTkh;
+    }
+
+    public String getCalcModeLabel() {
         return this.calcModeLabel;
     }
-	
-	public String getUser() {
+
+    public String getUser() {
         return this.user;
     }
-	
-	public River getRiver() {
-		return this.river;
-	}
-
-	public double getFrom() {
-		return this.from;
-	}
 
-	public double getTo() {
-		return this.to;
-	}
+    public River getRiver() {
+        return this.river;
+    }
 
-	public boolean isUseTkh() {
-		return this.useTkh;
-	}
-	
-	void addResult(final FlowDepthCalculationResult result) {
-		results.add(result);
-	}
-	
-	public List<FlowDepthCalculationResult> getResults() {
-		return Collections.unmodifiableList(results);
-	}
+    public double getFrom() {
+        return this.from;
+    }
+
+    public double getTo() {
+        return this.to;
+    }
+
+    public boolean isUseTkh() {
+        return this.useTkh;
+    }
+
+    void addResult(final FlowDepthCalculationResult result) {
+        this.results.add(result);
+    }
+
+    public List<FlowDepthCalculationResult> getResults() {
+        return Collections.unmodifiableList(this.results);
+    }
 }

http://dive4elements.wald.intevation.org