Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/importer/ImportRange.java @ 8412:17db08570637
SCHEMA CHANGE: removed superfluous columns station and river_id from measurement_stations and adapted other components accordingly.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 15 Oct 2014 19:20:26 +0200 |
parents | 9d2e69f971f5 |
children | 5e38e2924c07 |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportRange.java Wed Oct 15 14:58:46 2014 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/ImportRange.java Wed Oct 15 19:20:26 2014 +0200 @@ -30,6 +30,11 @@ public ImportRange() { } + public ImportRange(BigDecimal a) { + this.a = a; + this.b = null; + } + public ImportRange(BigDecimal a, BigDecimal b) { // enforce a<b and set only a for zero-length ranges