diff flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java @ 5471:de3c77d35fef

Renamed comment to description in measurement station.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 27 Mar 2013 15:57:44 +0100
parents 1b676aefaf3a
children
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Wed Mar 27 13:02:53 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Wed Mar 27 15:57:44 2013 +0100
@@ -21,7 +21,7 @@
     private String measurementType;
     private String riverside;
     private String operator;
-    private String comment;
+    private String description;
 
     private Double station;
     private Range range;
@@ -39,7 +39,7 @@
     public MeasurementStation(River river, String name, String measurementType,
         String riverside, Double station, Range range, Gauge gauge,
         String gaugeName, TimeInterval observationTimerange, String operator,
-        String comment
+        String description
     ) {
         this.river = river;
         this.name = name;
@@ -51,7 +51,7 @@
         this.gaugeName = gaugeName;
         this.observationTimerange = observationTimerange;
         this.operator = operator;
-        this.comment = comment;
+        this.description = description;
     }
 
     @Id
@@ -160,12 +160,12 @@
         this.operator = operator;
     }
 
-    @Column(name = "comment")
-    public String getComment() {
-        return comment;
+    @Column(name = "description")
+    public String getDescription() {
+        return description;
     }
 
-    public void setComment(String comment) {
-        this.comment = comment;
+    public void setDescription(String description) {
+        this.description = description;
     }
 }

http://dive4elements.wald.intevation.org