# HG changeset patch # User Felix Wolfsteller # Date 1352276437 -3600 # Node ID b03f2e74025c21f72c554496f8e18bc1b07e9e70 # Parent e0a355d0c771df8898955387101fde7befea9100 SedimentLoadFactory: Changed comments, removed empty one. diff -r e0a355d0c771 -r b03f2e74025c flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java Tue Nov 06 09:04:07 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java Wed Nov 07 09:20:37 2012 +0100 @@ -27,7 +27,7 @@ public static final String LOADS_CACHE_NAME = "sedimentloads"; public static final String LOAD_DATA_CACHE_NAME = "sedimentload-data"; - /** Query to get km and ws for wst_id and column_pos. */ + /** Query to get description and start year, given name and a km range. */ public static final String SQL_SELECT_SINGLES = "SELECT DISTINCT " + " sy.description AS description, " + @@ -40,7 +40,7 @@ " AND ti.stop_time IS NULL " + " AND syv.station BETWEEN :startKm AND :endKm"; - /** Query to get name for wst_id and column_pos. */ + /** Query to get start time, stop time and description. */ public static final String SQL_SELECT_EPOCHS = "SELECT DISTINCT " + " sy.description AS description, " + @@ -92,9 +92,7 @@ private SedimentLoadFactory() { } - /** - * - */ + public static SedimentLoad[] getLoads( String river, String type,