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

Database column "comment" renamed to "notes" (restrictions in Oracle)
author mschaefer
date Wed, 02 May 2018 06:56:21 +0200
parents 1f63e9d3b0ec
children 1f57381b3bb5
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/TkhSeriesImport.java	Mon Apr 30 18:06:31 2018 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/sinfo/importitem/TkhSeriesImport.java	Wed May 02 06:56:21 2018 +0200
@@ -43,7 +43,7 @@
 
     private String kmrange_info;
 
-    private String comment;
+    private String notes;
 
     private Date day;
 
@@ -85,12 +85,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 Date getDay() {
@@ -152,6 +152,6 @@
     }
 
     private Tkh createSeriesItem(final River river) {
-        return new Tkh(river, this.filename, this.kmrange_info, this.comment, this.day, this.sounding_info, this.evaluation_by, this.group);
+        return new Tkh(river, this.filename, this.kmrange_info, this.notes, this.day, this.sounding_info, this.evaluation_by, this.group);
     }
 }
\ No newline at end of file

http://dive4elements.wald.intevation.org