[Dive4elements-commits] [PATCH] Doc
Wald Commits
scm-commit at wald.intevation.org
Fri Feb 15 12:40:45 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1360928835 -3600
# Node ID 99b45296773764ac683ff7c2bce2dd0bb419600e
# Parent 63617e142dfecf3afaa8cb3e469747fe94731bec
Doc.
diff -r 63617e142dfe -r 99b452967737 flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java
--- 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 =
diff -r 63617e142dfe -r 99b452967737 flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelValue.java
--- 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;
diff -r 63617e142dfe -r 99b452967737 flys-backend/src/main/java/de/intevation/flys/importer/ImportWst.java
--- 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();
diff -r 63617e142dfe -r 99b452967737 flys-backend/src/main/java/de/intevation/flys/importer/ImportWstColumn.java
--- 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);
diff -r 63617e142dfe -r 99b452967737 flys-backend/src/main/java/de/intevation/flys/model/Waterlevel.java
--- 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
More information about the Dive4elements-commits
mailing list