changeset 5064:fb7c4ad94bd8 dami

Fix build: some more imports some less imports some copy paste errors
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Feb 2013 17:24:49 +0100
parents de97e0282284
children a56efdfcab17
files flys-backend/src/main/java/de/intevation/flys/model/BoundaryKind.java flys-backend/src/main/java/de/intevation/flys/model/FedState.java flys-backend/src/main/java/de/intevation/flys/model/HWSKind.java flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java flys-backend/src/main/java/de/intevation/flys/model/SectieKind.java flys-backend/src/main/java/de/intevation/flys/model/SobekKind.java
diffstat 7 files changed, 12 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/BoundaryKind.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/BoundaryKind.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,14 +1,10 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.OneToOne;
 import javax.persistence.Table;
 
 import org.hibernate.Session;
@@ -20,7 +16,7 @@
 @Table(name = "boundary_kinds")
 public class BoundaryKind implements Serializable {
     private Integer id;
-    private String kind;
+    private String name;
 
     @Id
     @Column(name = "id")
--- a/flys-backend/src/main/java/de/intevation/flys/model/FedState.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/FedState.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,8 +1,6 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
--- a/flys-backend/src/main/java/de/intevation/flys/model/HWSKind.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HWSKind.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,14 +1,10 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.OneToOne;
 import javax.persistence.Table;
 
 import org.hibernate.Session;
@@ -20,7 +16,7 @@
 @Table(name = "hws_kinds")
 public class HWSKind implements Serializable {
     private Integer id;
-    private String kind;
+    private String name;
 
     @Id
     @Column(name = "id")
--- a/flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,8 +1,6 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
@@ -13,8 +11,12 @@
 
 import org.hibernate.Session;
 import org.hibernate.Query;
+import org.hibernate.annotations.Type;
 
 import de.intevation.flys.backend.SessionHolder;
+import de.intevation.flys.model.HWSKind;
+
+import com.vividsolutions.jts.geom.Geometry;
 
 @Entity
 @Table(name = "hws_lines")
--- a/flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java	Wed Feb 20 17:24:49 2013 +0100
@@ -13,6 +13,10 @@
 
 import org.hibernate.Session;
 import org.hibernate.Query;
+import org.hibernate.annotations.Type;
+
+import com.vividsolutions.jts.geom.Geometry;
+
 
 import de.intevation.flys.backend.SessionHolder;
 
--- a/flys-backend/src/main/java/de/intevation/flys/model/SectieKind.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/SectieKind.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,14 +1,10 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.OneToOne;
 import javax.persistence.Table;
 
 import org.hibernate.Session;
@@ -20,7 +16,7 @@
 @Table(name = "sectie_kinds")
 public class SectieKind implements Serializable {
     private Integer id;
-    private String kind;
+    private String name;
 
     @Id
     @Column(name = "id")
--- a/flys-backend/src/main/java/de/intevation/flys/model/SobekKind.java	Wed Feb 20 17:05:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/SobekKind.java	Wed Feb 20 17:24:49 2013 +0100
@@ -1,14 +1,10 @@
 package de.intevation.flys.model;
 
 import java.io.Serializable;
-import java.util.List;
-import java.math.BigDecimal;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.OneToOne;
 import javax.persistence.Table;
 
 import org.hibernate.Session;
@@ -20,7 +16,7 @@
 @Table(name = "sobek_kinds")
 public class SobekKind implements Serializable {
     private Integer id;
-    private String kind;
+    private String name;
 
     @Id
     @Column(name = "id")

http://dive4elements.wald.intevation.org