changeset 5725:0cab1c884e72

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 16 Apr 2013 12:36:43 +0200
parents ea183a2eee0b
children 17eba7d251b2
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java	Tue Apr 16 12:36:15 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java	Tue Apr 16 12:36:43 2013 +0200
@@ -39,6 +39,7 @@
         "WHERE" +
         "    name = :name";
 
+    /** All kind-2 wsts from given river. */
     public static final String SQL_FIXINGS =
         "SELECT" +
         "    id AS wst_id," +
@@ -47,6 +48,7 @@
         "WHERE" +
         "    river_id = :river_id AND kind = 2";
 
+    /** All columns from given wst. */
     public static final String SQL_FIXING_COLUMNS =
         "SELECT" +
         "    wc.id         AS wst_column_id," +
@@ -327,6 +329,11 @@
             }
         }
 
+        /**
+         * @param allColumns[out] Columns will be put here.
+         * @param range can be null.
+         * @param filter filter to apply.
+         */
         public void addAllColumns(
             List<Column> allColumns,
             Range        range,
@@ -562,6 +569,7 @@
         }
     } // class IdFilter
 
+    /** Accept Fixing columns whose id is in id list. */
     public static class IdsFilter implements Fixing.Filter {
 
         protected int [] columnIds;

http://dive4elements.wald.intevation.org