[Dive4elements-commits] [PATCH 1 of 2] Add default constructor to MeasurementStation

Wald Commits scm-commit at wald.intevation.org
Fri Oct 26 11:06:55 CEST 2012


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1351242354 -7200
# Node ID 1264fef59bfa01c7dfcdf5f1ebe80b79e7d62c9a
# Parent  e4a415773b0a9e48c38d5df2f13c1855289029f2
Add default constructor to MeasurementStation

Add default constructor to MeasurementStation to satisfy hibernate.

diff -r e4a415773b0a -r 1264fef59bfa flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Fri Oct 26 08:51:08 2012 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/model/MeasurementStation.java	Fri Oct 26 11:05:54 2012 +0200
@@ -32,6 +32,9 @@
 
     private TimeInterval observationTimerange;
 
+    public MeasurementStation() {
+    }
+
     public MeasurementStation(River river, String name, String measurementType,
         String riverside, Double station, Range range, Gauge gauge,
         TimeInterval observationTimerange, String operator, String comment) {


More information about the Dive4elements-commits mailing list