diff flys-backend/src/main/java/de/intevation/flys/model/MorphologicalWidthValue.java @ 2819:0c2567626754

Tiny schema modification specific to MINFO morphological width values; added importer classes. flys-backend/trunk@4236 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 13 Apr 2012 12:53:29 +0000
parents 25ed1f18fcc4
children
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/MorphologicalWidthValue.java	Fri Apr 13 12:33:26 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/MorphologicalWidthValue.java	Fri Apr 13 12:53:29 2012 +0000
@@ -25,6 +25,8 @@
     private BigDecimal station;
     private BigDecimal width;
 
+    private String description;
+
 
     public MorphologicalWidthValue() {
     }
@@ -33,11 +35,13 @@
     public MorphologicalWidthValue(
         MorphologicalWidth morphologicalWidth,
         BigDecimal         station,
-        BigDecimal         width
+        BigDecimal         width,
+        String             description
     ) {
         this.morphologicalWidth = morphologicalWidth;
         this.station            = station;
         this.width              = width;
+        this.description        = description;
     }
 
 
@@ -86,5 +90,14 @@
     public void setWidth(BigDecimal width) {
         this.width = width;
     }
+
+    @Column(name = "description")
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org