diff backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/FlowDepthSeriesImport.java @ 9038:4c5eeaff554c

Database column "comment" renamed to "notes" (restrictions in Oracle)
author mschaefer
date Wed, 02 May 2018 06:56:21 +0200
parents 50416a0df385
children 31549fdfaf4f
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/FlowDepthSeriesImport.java	Mon Apr 30 18:06:31 2018 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/FlowDepthSeriesImport.java	Wed May 02 06:56:21 2018 +0200
@@ -39,7 +39,7 @@
 
     private String kmrange_info;
 
-    private String comment;
+    private String notes;
 
     private int year;
 
@@ -73,12 +73,12 @@
         this.kmrange_info = kmrange_info;
     }
 
-    public String getComment() {
-        return this.comment;
+    public String getNotes() {
+        return this.notes;
     }
 
-    public void setComment(final String comment) {
-        this.comment = comment;
+    public void setNotes(final String notes) {
+        this.notes = notes;
     }
 
     public int getYear() {
@@ -140,6 +140,6 @@
     }
 
     private FlowDepth createSeriesItem(final River river) {
-        return new FlowDepth(river, this.filename, this.kmrange_info, this.comment, this.year, this.sounding_info, this.evaluation_by);
+        return new FlowDepth(river, this.filename, this.kmrange_info, this.notes, this.year, this.sounding_info, this.evaluation_by);
     }
 }
\ No newline at end of file

http://dive4elements.wald.intevation.org