diff flys-backend/src/main/java/de/intevation/flys/model/Range.java @ 201:3169b559ca3c

Build models for wsts, wst columns and q ranges and store them in the backend. flys-backend/trunk@1549 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 23 Mar 2011 15:22:32 +0000
parents bc3747a371cc
children 764835268e2b
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/Range.java	Wed Mar 23 10:46:58 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/Range.java	Wed Mar 23 15:22:32 2011 +0000
@@ -28,6 +28,12 @@
     public Range() {
     }
 
+    public Range(BigDecimal a, BigDecimal b, River river) {
+        this.a     = a;
+        this.b     = b;
+        this.river = river;
+    }
+
     @Id
     @SequenceGenerator(
         name           = "SEQUENCE_RANGES_ID_SEQ",
@@ -45,12 +51,6 @@
         this.id = id;
     }
 
-    public Range(BigDecimal a, BigDecimal b, River river) {
-        this.a     = a;
-        this.b     = b;
-        this.river = river;
-    }
-
     @Column(name = "a") // FIXME: type mapping needed?
     public BigDecimal getA() {
         return a;

http://dive4elements.wald.intevation.org