diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/AbstractSInfoCalculationResult.java @ 8980:b194fa64506a

SINFO - show results themes according to spec, either raw data or floating mean values. Some improvements to error handling and handling of empty results.
author gernotbelger
date Thu, 05 Apr 2018 18:30:34 +0200
parents a4f1ac81f26d
children 50cc99579a46
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/AbstractSInfoCalculationResult.java	Thu Apr 05 17:12:23 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/AbstractSInfoCalculationResult.java	Thu Apr 05 18:30:34 2018 +0200
@@ -46,6 +46,10 @@
         return this.wst;
     }
 
+    public boolean isEmpty() {
+        return this.rows.isEmpty();
+    }
+
     public final void addRow(final SInfoResultRow resultRow) {
         this.rows.add(resultRow);
     }

http://dive4elements.wald.intevation.org