changeset 5428:1cc82e328658

Renamed description to comment to fit the schema.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 26 Mar 2013 14:00:48 +0100
parents 473edafe4cb1
children 13596605e81f
files flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Tue Mar 26 13:56:56 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Tue Mar 26 14:00:48 2013 +0100
@@ -21,7 +21,7 @@
     private String measurementType;
     private String riverside;
     private String operator;
-    private String description;
+    private String comment;
 
     private Double station;
     private Range range;
@@ -37,7 +37,7 @@
 
     public MeasurementStation(River river, String name, String measurementType,
         String riverside, Double station, Range range, Gauge gauge,
-        TimeInterval observationTimerange, String operator, String description) {
+        TimeInterval observationTimerange, String operator, String comment) {
         this.river = river;
         this.name = name;
         this.measurementType = measurementType;
@@ -47,7 +47,7 @@
         this.gauge = gauge;
         this.observationTimerange = observationTimerange;
         this.operator = operator;
-        this.description = description;
+        this.comment = comment;
     }
 
     @Id
@@ -147,13 +147,12 @@
         this.operator = operator;
     }
 
-    @Column(name = "description")
-    public String getDescription() {
-        return description;
+    @Column(name = "comment")
+    public String getComment() {
+        return comment;
     }
 
-    public void setDescription(String description) {
-        this.description = description;
+    public void setComment(String comment) {
+        this.comment = comment;
     }
-
 }

http://dive4elements.wald.intevation.org