changeset 5000:99b452967737

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 15 Feb 2013 12:47:15 +0100
parents 63617e142dfe
children 04ccec566689
files flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelValue.java flys-backend/src/main/java/de/intevation/flys/importer/ImportWst.java flys-backend/src/main/java/de/intevation/flys/importer/ImportWstColumn.java flys-backend/src/main/java/de/intevation/flys/model/Waterlevel.java
diffstat 5 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java	Fri Feb 15 10:56:08 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java	Fri Feb 15 12:47:15 2013 +0100
@@ -12,6 +12,7 @@
 import de.intevation.flys.model.WaterlevelQRange;
 
 
+/** Has a Q and list of W,km values. */
 public class ImportWaterlevelQRange {
 
     private static final Logger log =
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelValue.java	Fri Feb 15 10:56:08 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelValue.java	Fri Feb 15 12:47:15 2013 +0100
@@ -9,6 +9,7 @@
 import de.intevation.flys.model.WaterlevelValue;
 
 
+/** W and a station. */
 public class ImportWaterlevelValue {
 
     private Double station;
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportWst.java	Fri Feb 15 10:56:08 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportWst.java	Fri Feb 15 12:47:15 2013 +0100
@@ -23,6 +23,7 @@
 
     protected ImportUnit unit;
 
+    /** Wst as in db. */
     protected Wst peer;
 
     public ImportWst() {
@@ -87,6 +88,7 @@
         session.flush();
     }
 
+    /** Get corresponding mapped wst (from database). */
     public Wst getPeer(River river) {
         if (peer == null) {
             Session session = ImporterSession.getInstance().getDatabaseSession();
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportWstColumn.java	Fri Feb 15 10:56:08 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportWstColumn.java	Fri Feb 15 12:47:15 2013 +0100
@@ -15,6 +15,8 @@
 
 import org.apache.log4j.Logger;
 
+
+/** Unmapped column of a WST. */
 public class ImportWstColumn
 {
     private static Logger log = Logger.getLogger(ImportWstColumn.class);
@@ -112,6 +114,7 @@
         this.timeInterval = timeInterval;
     }
 
+    /** Get corresponding mapped wst-column (from database). */
     public WstColumn getPeer(River river) {
         if (peer == null) {
             Wst w = wst.getPeer(river);
--- a/flys-backend/src/main/java/de/intevation/flys/model/Waterlevel.java	Fri Feb 15 10:56:08 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/Waterlevel.java	Fri Feb 15 12:47:15 2013 +0100
@@ -18,7 +18,7 @@
 
 
 
-
+/** Mapped Waterlevel. */
 @Entity
 @Table(name = "waterlevel")
 public class Waterlevel

http://dive4elements.wald.intevation.org