changeset 3332:aa8ed778c8cc

Added Hibernate access class to SedDB flys-backend/trunk@4658 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 14 Jun 2012 10:06:34 +0000
parents b2aac19a8982
children 76c75c8b9ee0
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/seddb/model/Bezugspegel.java flys-backend/src/main/java/de/intevation/seddb/model/Bezugspegelgew.java flys-backend/src/main/java/de/intevation/seddb/model/BezugspegelgewId.java flys-backend/src/main/java/de/intevation/seddb/model/Bild.java flys-backend/src/main/java/de/intevation/seddb/model/Gewaesser.java flys-backend/src/main/java/de/intevation/seddb/model/Gfaenger.java flys-backend/src/main/java/de/intevation/seddb/model/Glotlinks.java flys-backend/src/main/java/de/intevation/seddb/model/GlotlinksId.java flys-backend/src/main/java/de/intevation/seddb/model/Glotrechte.java flys-backend/src/main/java/de/intevation/seddb/model/Gprobe.java flys-backend/src/main/java/de/intevation/seddb/model/GprobeId.java flys-backend/src/main/java/de/intevation/seddb/model/Gsiebsatz.java flys-backend/src/main/java/de/intevation/seddb/model/Gsiebung.java flys-backend/src/main/java/de/intevation/seddb/model/Gsiebungsieb.java flys-backend/src/main/java/de/intevation/seddb/model/GsiebungsiebId.java flys-backend/src/main/java/de/intevation/seddb/model/Hpeilpunkt.java flys-backend/src/main/java/de/intevation/seddb/model/HpeilpunktId.java flys-backend/src/main/java/de/intevation/seddb/model/Hpeilung.java flys-backend/src/main/java/de/intevation/seddb/model/Messung.java flys-backend/src/main/java/de/intevation/seddb/model/Messunglotcount.java flys-backend/src/main/java/de/intevation/seddb/model/MessunglotcountId.java flys-backend/src/main/java/de/intevation/seddb/model/Messungsta.java flys-backend/src/main/java/de/intevation/seddb/model/MessungstaId.java flys-backend/src/main/java/de/intevation/seddb/model/Messunguferbezug.java flys-backend/src/main/java/de/intevation/seddb/model/MessunguferbezugId.java flys-backend/src/main/java/de/intevation/seddb/model/Mpeilpunkt.java flys-backend/src/main/java/de/intevation/seddb/model/MpeilpunktId.java flys-backend/src/main/java/de/intevation/seddb/model/Mpeilung.java flys-backend/src/main/java/de/intevation/seddb/model/Probebild.java flys-backend/src/main/java/de/intevation/seddb/model/Siebanalyse.java flys-backend/src/main/java/de/intevation/seddb/model/Slotlinks.java flys-backend/src/main/java/de/intevation/seddb/model/SlotlinksId.java flys-backend/src/main/java/de/intevation/seddb/model/Slotrechte.java flys-backend/src/main/java/de/intevation/seddb/model/Sohlprobe.java flys-backend/src/main/java/de/intevation/seddb/model/Sohltest.java flys-backend/src/main/java/de/intevation/seddb/model/Sprobe.java flys-backend/src/main/java/de/intevation/seddb/model/SprobeId.java flys-backend/src/main/java/de/intevation/seddb/model/Ssiebung.java flys-backend/src/main/java/de/intevation/seddb/model/Ssiebungsieb.java flys-backend/src/main/java/de/intevation/seddb/model/SsiebungsiebId.java flys-backend/src/main/java/de/intevation/seddb/model/Station.java flys-backend/src/main/java/de/intevation/seddb/model/Stationgew.java flys-backend/src/main/java/de/intevation/seddb/model/StationgewId.java flys-backend/src/main/java/de/intevation/seddb/model/TmpGloChanged.java flys-backend/src/main/java/de/intevation/seddb/model/TmpMesAchanged.java flys-backend/src/main/java/de/intevation/seddb/model/TmpMesGchanged.java flys-backend/src/main/java/de/intevation/seddb/model/TmpMesQchanged.java flys-backend/src/main/java/de/intevation/seddb/model/TmpMesSchanged.java flys-backend/src/main/java/de/intevation/seddb/model/Zzarchiv.java flys-backend/src/main/java/de/intevation/seddb/model/Zzprobenahmeart.java flys-backend/src/main/java/de/intevation/seddb/model/Zzsondierungart.java flys-backend/src/main/java/de/intevation/seddb/model/Zzthema.java
diffstat 53 files changed, 11308 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Thu Jun 14 09:46:11 2012 +0000
+++ b/flys-backend/ChangeLog	Thu Jun 14 10:06:34 2012 +0000
@@ -1,3 +1,8 @@
+2012-06-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/seddb/model/*.java: Hibernate access to
+	  SedDB generated by Eclipse (ugly formatted, but compiles).
+
 2012-06-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/importer/parsers/AnnotationsParser.java:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Bezugspegel.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,286 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * Bezugspegel generated by hbm2java
+ */
+@Entity
+@Table(name="BEZUGSPEGEL"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames={"GEWAESSERID", "NAME"}) 
+)
+public class Bezugspegel  implements java.io.Serializable {
+
+
+     private long bezugspegelid;
+     private Gewaesser gewaesser;
+     private BigDecimal km;
+     private String name;
+     private BigDecimal nullpunkt;
+     private String kennung;
+     private BigDecimal einzugsgebiet;
+     private Date inbetrieb;
+     private String fliesscharakter;
+     private BigDecimal laufentwicklung;
+     private BigDecimal mnq;
+     private BigDecimal mq;
+     private BigDecimal mhq;
+     private BigDecimal nnq;
+     private BigDecimal hhq;
+     private Date nnqdatum;
+     private Date hhqdatum;
+     private String jahresreihe;
+     private String bemerkung;
+     private Set<Station> stations = new HashSet<Station>(0);
+
+    public Bezugspegel() {
+    }
+
+    public Bezugspegel(long bezugspegelid, Gewaesser gewaesser, BigDecimal km, String name, BigDecimal nullpunkt) {
+        this.bezugspegelid = bezugspegelid;
+        this.gewaesser = gewaesser;
+        this.km = km;
+        this.name = name;
+        this.nullpunkt = nullpunkt;
+    }
+    public Bezugspegel(long bezugspegelid, Gewaesser gewaesser, BigDecimal km, String name, BigDecimal nullpunkt, String kennung, BigDecimal einzugsgebiet, Date inbetrieb, String fliesscharakter, BigDecimal laufentwicklung, BigDecimal mnq, BigDecimal mq, BigDecimal mhq, BigDecimal nnq, BigDecimal hhq, Date nnqdatum, Date hhqdatum, String jahresreihe, String bemerkung, Set<Station> stations) {
+       this.bezugspegelid = bezugspegelid;
+       this.gewaesser = gewaesser;
+       this.km = km;
+       this.name = name;
+       this.nullpunkt = nullpunkt;
+       this.kennung = kennung;
+       this.einzugsgebiet = einzugsgebiet;
+       this.inbetrieb = inbetrieb;
+       this.fliesscharakter = fliesscharakter;
+       this.laufentwicklung = laufentwicklung;
+       this.mnq = mnq;
+       this.mq = mq;
+       this.mhq = mhq;
+       this.nnq = nnq;
+       this.hhq = hhq;
+       this.nnqdatum = nnqdatum;
+       this.hhqdatum = hhqdatum;
+       this.jahresreihe = jahresreihe;
+       this.bemerkung = bemerkung;
+       this.stations = stations;
+    }
+   
+     @Id 
+
+    
+    @Column(name="BEZUGSPEGELID", unique=true, nullable=false, precision=11, scale=0)
+    public long getBezugspegelid() {
+        return this.bezugspegelid;
+    }
+    
+    public void setBezugspegelid(long bezugspegelid) {
+        this.bezugspegelid = bezugspegelid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GEWAESSERID", nullable=false)
+    public Gewaesser getGewaesser() {
+        return this.gewaesser;
+    }
+    
+    public void setGewaesser(Gewaesser gewaesser) {
+        this.gewaesser = gewaesser;
+    }
+
+    
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="NULLPUNKT", nullable=false, precision=8, scale=3)
+    public BigDecimal getNullpunkt() {
+        return this.nullpunkt;
+    }
+    
+    public void setNullpunkt(BigDecimal nullpunkt) {
+        this.nullpunkt = nullpunkt;
+    }
+
+    
+    @Column(name="KENNUNG", length=16)
+    public String getKennung() {
+        return this.kennung;
+    }
+    
+    public void setKennung(String kennung) {
+        this.kennung = kennung;
+    }
+
+    
+    @Column(name="EINZUGSGEBIET", precision=10)
+    public BigDecimal getEinzugsgebiet() {
+        return this.einzugsgebiet;
+    }
+    
+    public void setEinzugsgebiet(BigDecimal einzugsgebiet) {
+        this.einzugsgebiet = einzugsgebiet;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="INBETRIEB", length=7)
+    public Date getInbetrieb() {
+        return this.inbetrieb;
+    }
+    
+    public void setInbetrieb(Date inbetrieb) {
+        this.inbetrieb = inbetrieb;
+    }
+
+    
+    @Column(name="FLIESSCHARAKTER", length=3)
+    public String getFliesscharakter() {
+        return this.fliesscharakter;
+    }
+    
+    public void setFliesscharakter(String fliesscharakter) {
+        this.fliesscharakter = fliesscharakter;
+    }
+
+    
+    @Column(name="LAUFENTWICKLUNG", precision=7, scale=3)
+    public BigDecimal getLaufentwicklung() {
+        return this.laufentwicklung;
+    }
+    
+    public void setLaufentwicklung(BigDecimal laufentwicklung) {
+        this.laufentwicklung = laufentwicklung;
+    }
+
+    
+    @Column(name="MNQ", precision=8, scale=3)
+    public BigDecimal getMnq() {
+        return this.mnq;
+    }
+    
+    public void setMnq(BigDecimal mnq) {
+        this.mnq = mnq;
+    }
+
+    
+    @Column(name="MQ", precision=8, scale=3)
+    public BigDecimal getMq() {
+        return this.mq;
+    }
+    
+    public void setMq(BigDecimal mq) {
+        this.mq = mq;
+    }
+
+    
+    @Column(name="MHQ", precision=8, scale=3)
+    public BigDecimal getMhq() {
+        return this.mhq;
+    }
+    
+    public void setMhq(BigDecimal mhq) {
+        this.mhq = mhq;
+    }
+
+    
+    @Column(name="NNQ", precision=8, scale=3)
+    public BigDecimal getNnq() {
+        return this.nnq;
+    }
+    
+    public void setNnq(BigDecimal nnq) {
+        this.nnq = nnq;
+    }
+
+    
+    @Column(name="HHQ", precision=8, scale=3)
+    public BigDecimal getHhq() {
+        return this.hhq;
+    }
+    
+    public void setHhq(BigDecimal hhq) {
+        this.hhq = hhq;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="NNQDATUM", length=7)
+    public Date getNnqdatum() {
+        return this.nnqdatum;
+    }
+    
+    public void setNnqdatum(Date nnqdatum) {
+        this.nnqdatum = nnqdatum;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="HHQDATUM", length=7)
+    public Date getHhqdatum() {
+        return this.hhqdatum;
+    }
+    
+    public void setHhqdatum(Date hhqdatum) {
+        this.hhqdatum = hhqdatum;
+    }
+
+    
+    @Column(name="JAHRESREIHE", length=12)
+    public String getJahresreihe() {
+        return this.jahresreihe;
+    }
+    
+    public void setJahresreihe(String jahresreihe) {
+        this.jahresreihe = jahresreihe;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="bezugspegel")
+    public Set<Station> getStations() {
+        return this.stations;
+    }
+    
+    public void setStations(Set<Station> stations) {
+        this.stations = stations;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Bezugspegelgew.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,61 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Bezugspegelgew generated by hbm2java
+ */
+@Entity
+@Table(name="BEZUGSPEGELGEW"
+    ,schema="SEDDB"
+)
+public class Bezugspegelgew  implements java.io.Serializable {
+
+
+     private BezugspegelgewId id;
+
+    public Bezugspegelgew() {
+    }
+
+    public Bezugspegelgew(BezugspegelgewId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    @AttributeOverrides( {
+        @AttributeOverride(name="bezugspegelid", column=@Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gewaesserid", column=@Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="km", column=@Column(name="KM", nullable=false, precision=8, scale=3) ), 
+        @AttributeOverride(name="name", column=@Column(name="NAME", nullable=false, length=50) ), 
+        @AttributeOverride(name="nullpunkt", column=@Column(name="NULLPUNKT", nullable=false, precision=8, scale=3) ), 
+        @AttributeOverride(name="kennung", column=@Column(name="KENNUNG", length=16) ), 
+        @AttributeOverride(name="einzugsgebiet", column=@Column(name="EINZUGSGEBIET", precision=10) ), 
+        @AttributeOverride(name="inbetrieb", column=@Column(name="INBETRIEB", length=7) ), 
+        @AttributeOverride(name="fliesscharakter", column=@Column(name="FLIESSCHARAKTER", length=3) ), 
+        @AttributeOverride(name="laufentwicklung", column=@Column(name="LAUFENTWICKLUNG", precision=7, scale=3) ), 
+        @AttributeOverride(name="mnq", column=@Column(name="MNQ", precision=8, scale=3) ), 
+        @AttributeOverride(name="mq", column=@Column(name="MQ", precision=8, scale=3) ), 
+        @AttributeOverride(name="mhq", column=@Column(name="MHQ", precision=8, scale=3) ), 
+        @AttributeOverride(name="nnq", column=@Column(name="NNQ", precision=8, scale=3) ), 
+        @AttributeOverride(name="hhq", column=@Column(name="HHQ", precision=8, scale=3) ), 
+        @AttributeOverride(name="nnqdatum", column=@Column(name="NNQDATUM", length=7) ), 
+        @AttributeOverride(name="hhqdatum", column=@Column(name="HHQDATUM", length=7) ), 
+        @AttributeOverride(name="jahresreihe", column=@Column(name="JAHRESREIHE", length=12) ), 
+        @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG", length=240) ), 
+        @AttributeOverride(name="gewname", column=@Column(name="GEWNAME", nullable=false, length=20) ) } )
+    public BezugspegelgewId getId() {
+        return this.id;
+    }
+    
+    public void setId(BezugspegelgewId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/BezugspegelgewId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,327 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * BezugspegelgewId generated by hbm2java
+ */
+@Embeddable
+public class BezugspegelgewId  implements java.io.Serializable {
+
+
+     private long bezugspegelid;
+     private long gewaesserid;
+     private BigDecimal km;
+     private String name;
+     private BigDecimal nullpunkt;
+     private String kennung;
+     private BigDecimal einzugsgebiet;
+     private Date inbetrieb;
+     private String fliesscharakter;
+     private BigDecimal laufentwicklung;
+     private BigDecimal mnq;
+     private BigDecimal mq;
+     private BigDecimal mhq;
+     private BigDecimal nnq;
+     private BigDecimal hhq;
+     private Date nnqdatum;
+     private Date hhqdatum;
+     private String jahresreihe;
+     private String bemerkung;
+     private String gewname;
+
+    public BezugspegelgewId() {
+    }
+
+    public BezugspegelgewId(long bezugspegelid, long gewaesserid, BigDecimal km, String name, BigDecimal nullpunkt, String gewname) {
+        this.bezugspegelid = bezugspegelid;
+        this.gewaesserid = gewaesserid;
+        this.km = km;
+        this.name = name;
+        this.nullpunkt = nullpunkt;
+        this.gewname = gewname;
+    }
+    public BezugspegelgewId(long bezugspegelid, long gewaesserid, BigDecimal km, String name, BigDecimal nullpunkt, String kennung, BigDecimal einzugsgebiet, Date inbetrieb, String fliesscharakter, BigDecimal laufentwicklung, BigDecimal mnq, BigDecimal mq, BigDecimal mhq, BigDecimal nnq, BigDecimal hhq, Date nnqdatum, Date hhqdatum, String jahresreihe, String bemerkung, String gewname) {
+       this.bezugspegelid = bezugspegelid;
+       this.gewaesserid = gewaesserid;
+       this.km = km;
+       this.name = name;
+       this.nullpunkt = nullpunkt;
+       this.kennung = kennung;
+       this.einzugsgebiet = einzugsgebiet;
+       this.inbetrieb = inbetrieb;
+       this.fliesscharakter = fliesscharakter;
+       this.laufentwicklung = laufentwicklung;
+       this.mnq = mnq;
+       this.mq = mq;
+       this.mhq = mhq;
+       this.nnq = nnq;
+       this.hhq = hhq;
+       this.nnqdatum = nnqdatum;
+       this.hhqdatum = hhqdatum;
+       this.jahresreihe = jahresreihe;
+       this.bemerkung = bemerkung;
+       this.gewname = gewname;
+    }
+   
+
+
+    @Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0)
+    public long getBezugspegelid() {
+        return this.bezugspegelid;
+    }
+    
+    public void setBezugspegelid(long bezugspegelid) {
+        this.bezugspegelid = bezugspegelid;
+    }
+
+
+    @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0)
+    public long getGewaesserid() {
+        return this.gewaesserid;
+    }
+    
+    public void setGewaesserid(long gewaesserid) {
+        this.gewaesserid = gewaesserid;
+    }
+
+
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+
+    @Column(name="NULLPUNKT", nullable=false, precision=8, scale=3)
+    public BigDecimal getNullpunkt() {
+        return this.nullpunkt;
+    }
+    
+    public void setNullpunkt(BigDecimal nullpunkt) {
+        this.nullpunkt = nullpunkt;
+    }
+
+
+    @Column(name="KENNUNG", length=16)
+    public String getKennung() {
+        return this.kennung;
+    }
+    
+    public void setKennung(String kennung) {
+        this.kennung = kennung;
+    }
+
+
+    @Column(name="EINZUGSGEBIET", precision=10)
+    public BigDecimal getEinzugsgebiet() {
+        return this.einzugsgebiet;
+    }
+    
+    public void setEinzugsgebiet(BigDecimal einzugsgebiet) {
+        this.einzugsgebiet = einzugsgebiet;
+    }
+
+
+    @Column(name="INBETRIEB", length=7)
+    public Date getInbetrieb() {
+        return this.inbetrieb;
+    }
+    
+    public void setInbetrieb(Date inbetrieb) {
+        this.inbetrieb = inbetrieb;
+    }
+
+
+    @Column(name="FLIESSCHARAKTER", length=3)
+    public String getFliesscharakter() {
+        return this.fliesscharakter;
+    }
+    
+    public void setFliesscharakter(String fliesscharakter) {
+        this.fliesscharakter = fliesscharakter;
+    }
+
+
+    @Column(name="LAUFENTWICKLUNG", precision=7, scale=3)
+    public BigDecimal getLaufentwicklung() {
+        return this.laufentwicklung;
+    }
+    
+    public void setLaufentwicklung(BigDecimal laufentwicklung) {
+        this.laufentwicklung = laufentwicklung;
+    }
+
+
+    @Column(name="MNQ", precision=8, scale=3)
+    public BigDecimal getMnq() {
+        return this.mnq;
+    }
+    
+    public void setMnq(BigDecimal mnq) {
+        this.mnq = mnq;
+    }
+
+
+    @Column(name="MQ", precision=8, scale=3)
+    public BigDecimal getMq() {
+        return this.mq;
+    }
+    
+    public void setMq(BigDecimal mq) {
+        this.mq = mq;
+    }
+
+
+    @Column(name="MHQ", precision=8, scale=3)
+    public BigDecimal getMhq() {
+        return this.mhq;
+    }
+    
+    public void setMhq(BigDecimal mhq) {
+        this.mhq = mhq;
+    }
+
+
+    @Column(name="NNQ", precision=8, scale=3)
+    public BigDecimal getNnq() {
+        return this.nnq;
+    }
+    
+    public void setNnq(BigDecimal nnq) {
+        this.nnq = nnq;
+    }
+
+
+    @Column(name="HHQ", precision=8, scale=3)
+    public BigDecimal getHhq() {
+        return this.hhq;
+    }
+    
+    public void setHhq(BigDecimal hhq) {
+        this.hhq = hhq;
+    }
+
+
+    @Column(name="NNQDATUM", length=7)
+    public Date getNnqdatum() {
+        return this.nnqdatum;
+    }
+    
+    public void setNnqdatum(Date nnqdatum) {
+        this.nnqdatum = nnqdatum;
+    }
+
+
+    @Column(name="HHQDATUM", length=7)
+    public Date getHhqdatum() {
+        return this.hhqdatum;
+    }
+    
+    public void setHhqdatum(Date hhqdatum) {
+        this.hhqdatum = hhqdatum;
+    }
+
+
+    @Column(name="JAHRESREIHE", length=12)
+    public String getJahresreihe() {
+        return this.jahresreihe;
+    }
+    
+    public void setJahresreihe(String jahresreihe) {
+        this.jahresreihe = jahresreihe;
+    }
+
+
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+
+    @Column(name="GEWNAME", nullable=false, length=20)
+    public String getGewname() {
+        return this.gewname;
+    }
+    
+    public void setGewname(String gewname) {
+        this.gewname = gewname;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof BezugspegelgewId) ) return false;
+         BezugspegelgewId castOther = ( BezugspegelgewId ) other; 
+         
+         return (this.getBezugspegelid()==castOther.getBezugspegelid())
+ && (this.getGewaesserid()==castOther.getGewaesserid())
+ && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) )
+ && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) )
+ && ( (this.getNullpunkt()==castOther.getNullpunkt()) || ( this.getNullpunkt()!=null && castOther.getNullpunkt()!=null && this.getNullpunkt().equals(castOther.getNullpunkt()) ) )
+ && ( (this.getKennung()==castOther.getKennung()) || ( this.getKennung()!=null && castOther.getKennung()!=null && this.getKennung().equals(castOther.getKennung()) ) )
+ && ( (this.getEinzugsgebiet()==castOther.getEinzugsgebiet()) || ( this.getEinzugsgebiet()!=null && castOther.getEinzugsgebiet()!=null && this.getEinzugsgebiet().equals(castOther.getEinzugsgebiet()) ) )
+ && ( (this.getInbetrieb()==castOther.getInbetrieb()) || ( this.getInbetrieb()!=null && castOther.getInbetrieb()!=null && this.getInbetrieb().equals(castOther.getInbetrieb()) ) )
+ && ( (this.getFliesscharakter()==castOther.getFliesscharakter()) || ( this.getFliesscharakter()!=null && castOther.getFliesscharakter()!=null && this.getFliesscharakter().equals(castOther.getFliesscharakter()) ) )
+ && ( (this.getLaufentwicklung()==castOther.getLaufentwicklung()) || ( this.getLaufentwicklung()!=null && castOther.getLaufentwicklung()!=null && this.getLaufentwicklung().equals(castOther.getLaufentwicklung()) ) )
+ && ( (this.getMnq()==castOther.getMnq()) || ( this.getMnq()!=null && castOther.getMnq()!=null && this.getMnq().equals(castOther.getMnq()) ) )
+ && ( (this.getMq()==castOther.getMq()) || ( this.getMq()!=null && castOther.getMq()!=null && this.getMq().equals(castOther.getMq()) ) )
+ && ( (this.getMhq()==castOther.getMhq()) || ( this.getMhq()!=null && castOther.getMhq()!=null && this.getMhq().equals(castOther.getMhq()) ) )
+ && ( (this.getNnq()==castOther.getNnq()) || ( this.getNnq()!=null && castOther.getNnq()!=null && this.getNnq().equals(castOther.getNnq()) ) )
+ && ( (this.getHhq()==castOther.getHhq()) || ( this.getHhq()!=null && castOther.getHhq()!=null && this.getHhq().equals(castOther.getHhq()) ) )
+ && ( (this.getNnqdatum()==castOther.getNnqdatum()) || ( this.getNnqdatum()!=null && castOther.getNnqdatum()!=null && this.getNnqdatum().equals(castOther.getNnqdatum()) ) )
+ && ( (this.getHhqdatum()==castOther.getHhqdatum()) || ( this.getHhqdatum()!=null && castOther.getHhqdatum()!=null && this.getHhqdatum().equals(castOther.getHhqdatum()) ) )
+ && ( (this.getJahresreihe()==castOther.getJahresreihe()) || ( this.getJahresreihe()!=null && castOther.getJahresreihe()!=null && this.getJahresreihe().equals(castOther.getJahresreihe()) ) )
+ && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
+ && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getBezugspegelid();
+         result = 37 * result + (int) this.getGewaesserid();
+         result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
+         result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() );
+         result = 37 * result + ( getNullpunkt() == null ? 0 : this.getNullpunkt().hashCode() );
+         result = 37 * result + ( getKennung() == null ? 0 : this.getKennung().hashCode() );
+         result = 37 * result + ( getEinzugsgebiet() == null ? 0 : this.getEinzugsgebiet().hashCode() );
+         result = 37 * result + ( getInbetrieb() == null ? 0 : this.getInbetrieb().hashCode() );
+         result = 37 * result + ( getFliesscharakter() == null ? 0 : this.getFliesscharakter().hashCode() );
+         result = 37 * result + ( getLaufentwicklung() == null ? 0 : this.getLaufentwicklung().hashCode() );
+         result = 37 * result + ( getMnq() == null ? 0 : this.getMnq().hashCode() );
+         result = 37 * result + ( getMq() == null ? 0 : this.getMq().hashCode() );
+         result = 37 * result + ( getMhq() == null ? 0 : this.getMhq().hashCode() );
+         result = 37 * result + ( getNnq() == null ? 0 : this.getNnq().hashCode() );
+         result = 37 * result + ( getHhq() == null ? 0 : this.getHhq().hashCode() );
+         result = 37 * result + ( getNnqdatum() == null ? 0 : this.getNnqdatum().hashCode() );
+         result = 37 * result + ( getHhqdatum() == null ? 0 : this.getHhqdatum().hashCode() );
+         result = 37 * result + ( getJahresreihe() == null ? 0 : this.getJahresreihe().hashCode() );
+         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
+         result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Bild.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,194 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Bild generated by hbm2java
+ */
+@Entity
+@Table(name="BILD"
+    ,schema="SEDDB"
+)
+public class Bild  implements java.io.Serializable {
+
+
+     private long bildid;
+     private Zzthema zzthema;
+     private Sohltest sohltest;
+     private int lfdnr;
+     private boolean istdigital;
+     private String pfad;
+     private String standort;
+     private String medium;
+     private String medpfad;
+     private String bemerkung;
+     private String typklein;
+     private String typmittel;
+     private String typgross;
+
+    public Bild() {
+    }
+
+    public Bild(long bildid, Zzthema zzthema, Sohltest sohltest, int lfdnr, boolean istdigital) {
+        this.bildid = bildid;
+        this.zzthema = zzthema;
+        this.sohltest = sohltest;
+        this.lfdnr = lfdnr;
+        this.istdigital = istdigital;
+    }
+    public Bild(long bildid, Zzthema zzthema, Sohltest sohltest, int lfdnr, boolean istdigital, String pfad, String standort, String medium, String medpfad, String bemerkung, String typklein, String typmittel, String typgross) {
+       this.bildid = bildid;
+       this.zzthema = zzthema;
+       this.sohltest = sohltest;
+       this.lfdnr = lfdnr;
+       this.istdigital = istdigital;
+       this.pfad = pfad;
+       this.standort = standort;
+       this.medium = medium;
+       this.medpfad = medpfad;
+       this.bemerkung = bemerkung;
+       this.typklein = typklein;
+       this.typmittel = typmittel;
+       this.typgross = typgross;
+    }
+   
+     @Id 
+
+    
+    @Column(name="BILDID", unique=true, nullable=false, precision=11, scale=0)
+    public long getBildid() {
+        return this.bildid;
+    }
+    
+    public void setBildid(long bildid) {
+        this.bildid = bildid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="THEMAID", nullable=false)
+    public Zzthema getZzthema() {
+        return this.zzthema;
+    }
+    
+    public void setZzthema(Zzthema zzthema) {
+        this.zzthema = zzthema;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SOHLTESTID", nullable=false)
+    public Sohltest getSohltest() {
+        return this.sohltest;
+    }
+    
+    public void setSohltest(Sohltest sohltest) {
+        this.sohltest = sohltest;
+    }
+
+    
+    @Column(name="LFDNR", nullable=false, precision=5, scale=0)
+    public int getLfdnr() {
+        return this.lfdnr;
+    }
+    
+    public void setLfdnr(int lfdnr) {
+        this.lfdnr = lfdnr;
+    }
+
+    
+    @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0)
+    public boolean isIstdigital() {
+        return this.istdigital;
+    }
+    
+    public void setIstdigital(boolean istdigital) {
+        this.istdigital = istdigital;
+    }
+
+    
+    @Column(name="PFAD", length=512)
+    public String getPfad() {
+        return this.pfad;
+    }
+    
+    public void setPfad(String pfad) {
+        this.pfad = pfad;
+    }
+
+    
+    @Column(name="STANDORT", length=50)
+    public String getStandort() {
+        return this.standort;
+    }
+    
+    public void setStandort(String standort) {
+        this.standort = standort;
+    }
+
+    
+    @Column(name="MEDIUM", length=50)
+    public String getMedium() {
+        return this.medium;
+    }
+    
+    public void setMedium(String medium) {
+        this.medium = medium;
+    }
+
+    
+    @Column(name="MEDPFAD", length=50)
+    public String getMedpfad() {
+        return this.medpfad;
+    }
+    
+    public void setMedpfad(String medpfad) {
+        this.medpfad = medpfad;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="TYPKLEIN", length=8)
+    public String getTypklein() {
+        return this.typklein;
+    }
+    
+    public void setTypklein(String typklein) {
+        this.typklein = typklein;
+    }
+
+    
+    @Column(name="TYPMITTEL", length=8)
+    public String getTypmittel() {
+        return this.typmittel;
+    }
+    
+    public void setTypmittel(String typmittel) {
+        this.typmittel = typmittel;
+    }
+
+    
+    @Column(name="TYPGROSS", length=8)
+    public String getTypgross() {
+        return this.typgross;
+    }
+    
+    public void setTypgross(String typgross) {
+        this.typgross = typgross;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gewaesser.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,139 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * Gewaesser generated by hbm2java
+ */
+@Entity
+@Table(name="GEWAESSER"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="NAME") 
+)
+public class Gewaesser  implements java.io.Serializable {
+
+
+     private long gewaesserid;
+     private String name;
+     private String kennung;
+     private BigDecimal laenge;
+     private BigDecimal einzugsgebiet;
+     private String bemerkung;
+     private Set<Bezugspegel> bezugspegels = new HashSet<Bezugspegel>(0);
+     private Set<Station> stations = new HashSet<Station>(0);
+
+    public Gewaesser() {
+    }
+
+    public Gewaesser(long gewaesserid, String name) {
+        this.gewaesserid = gewaesserid;
+        this.name = name;
+    }
+    public Gewaesser(long gewaesserid, String name, String kennung, BigDecimal laenge, BigDecimal einzugsgebiet, String bemerkung, Set<Bezugspegel> bezugspegels, Set<Station> stations) {
+       this.gewaesserid = gewaesserid;
+       this.name = name;
+       this.kennung = kennung;
+       this.laenge = laenge;
+       this.einzugsgebiet = einzugsgebiet;
+       this.bemerkung = bemerkung;
+       this.bezugspegels = bezugspegels;
+       this.stations = stations;
+    }
+   
+     @Id 
+
+    
+    @Column(name="GEWAESSERID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGewaesserid() {
+        return this.gewaesserid;
+    }
+    
+    public void setGewaesserid(long gewaesserid) {
+        this.gewaesserid = gewaesserid;
+    }
+
+    
+    @Column(name="NAME", unique=true, nullable=false, length=20)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="KENNUNG", length=11)
+    public String getKennung() {
+        return this.kennung;
+    }
+    
+    public void setKennung(String kennung) {
+        this.kennung = kennung;
+    }
+
+    
+    @Column(name="LAENGE", precision=7, scale=3)
+    public BigDecimal getLaenge() {
+        return this.laenge;
+    }
+    
+    public void setLaenge(BigDecimal laenge) {
+        this.laenge = laenge;
+    }
+
+    
+    @Column(name="EINZUGSGEBIET", precision=10)
+    public BigDecimal getEinzugsgebiet() {
+        return this.einzugsgebiet;
+    }
+    
+    public void setEinzugsgebiet(BigDecimal einzugsgebiet) {
+        this.einzugsgebiet = einzugsgebiet;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="gewaesser")
+    public Set<Bezugspegel> getBezugspegels() {
+        return this.bezugspegels;
+    }
+    
+    public void setBezugspegels(Set<Bezugspegel> bezugspegels) {
+        this.bezugspegels = bezugspegels;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="gewaesser")
+    public Set<Station> getStations() {
+        return this.stations;
+    }
+    
+    public void setStations(Set<Station> stations) {
+        this.stations = stations;
+    }
+
+
+
+
+}
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gfaenger.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,125 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * Gfaenger generated by hbm2java
+ */
+@Entity
+@Table(name="GFAENGER"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="NAME") 
+)
+public class Gfaenger  implements java.io.Serializable {
+
+
+     private long gfaengerid;
+     private boolean istaktiv;
+     private String name;
+     private BigDecimal breite;
+     private BigDecimal maschenweite;
+     private String bemerkung;
+     private Set<Messung> messungs = new HashSet<Messung>(0);
+
+    public Gfaenger() {
+    }
+
+    public Gfaenger(long gfaengerid, boolean istaktiv, String name, BigDecimal breite, BigDecimal maschenweite) {
+        this.gfaengerid = gfaengerid;
+        this.istaktiv = istaktiv;
+        this.name = name;
+        this.breite = breite;
+        this.maschenweite = maschenweite;
+    }
+    public Gfaenger(long gfaengerid, boolean istaktiv, String name, BigDecimal breite, BigDecimal maschenweite, String bemerkung, Set<Messung> messungs) {
+       this.gfaengerid = gfaengerid;
+       this.istaktiv = istaktiv;
+       this.name = name;
+       this.breite = breite;
+       this.maschenweite = maschenweite;
+       this.bemerkung = bemerkung;
+       this.messungs = messungs;
+    }
+   
+     @Id 
+
+    
+    @Column(name="GFAENGERID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGfaengerid() {
+        return this.gfaengerid;
+    }
+    
+    public void setGfaengerid(long gfaengerid) {
+        this.gfaengerid = gfaengerid;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="NAME", unique=true, nullable=false, length=30)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="BREITE", nullable=false, precision=6, scale=3)
+    public BigDecimal getBreite() {
+        return this.breite;
+    }
+    
+    public void setBreite(BigDecimal breite) {
+        this.breite = breite;
+    }
+
+    
+    @Column(name="MASCHENWEITE", nullable=false, precision=7, scale=4)
+    public BigDecimal getMaschenweite() {
+        return this.maschenweite;
+    }
+    
+    public void setMaschenweite(BigDecimal maschenweite) {
+        this.maschenweite = maschenweite;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="gfaenger")
+    public Set<Messung> getMessungs() {
+        return this.messungs;
+    }
+    
+    public void setMessungs(Set<Messung> messungs) {
+        this.messungs = messungs;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Glotlinks.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,72 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Glotlinks generated by hbm2java
+ */
+@Entity
+@Table(name="GLOTLINKS"
+    ,schema="SEDDB"
+)
+public class Glotlinks  implements java.io.Serializable {
+
+
+     private GlotlinksId id;
+
+    public Glotlinks() {
+    }
+
+    public Glotlinks(GlotlinksId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="glotrechteid", column=@Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="uferabst", column=@Column(name="UFERABST", nullable=false, precision=8, scale=3) ), 
+        @AttributeOverride(name="tgeschiebe", column=@Column(name="TGESCHIEBE", precision=8, scale=3) ), 
+        @AttributeOverride(name="dm", column=@Column(name="DM", precision=7, scale=4) ), 
+        @AttributeOverride(name="sk", column=@Column(name="SK", precision=8, scale=3) ), 
+        @AttributeOverride(name="so", column=@Column(name="SO", precision=8, scale=3) ), 
+        @AttributeOverride(name="u", column=@Column(name="U", precision=8, scale=3) ), 
+        @AttributeOverride(name="d90", column=@Column(name="D90", precision=7, scale=4) ), 
+        @AttributeOverride(name="d84", column=@Column(name="D84", precision=7, scale=4) ), 
+        @AttributeOverride(name="d80", column=@Column(name="D80", precision=7, scale=4) ), 
+        @AttributeOverride(name="d75", column=@Column(name="D75", precision=7, scale=4) ), 
+        @AttributeOverride(name="d70", column=@Column(name="D70", precision=7, scale=4) ), 
+        @AttributeOverride(name="d60", column=@Column(name="D60", precision=7, scale=4) ), 
+        @AttributeOverride(name="d50", column=@Column(name="D50", precision=7, scale=4) ), 
+        @AttributeOverride(name="d40", column=@Column(name="D40", precision=7, scale=4) ), 
+        @AttributeOverride(name="d30", column=@Column(name="D30", precision=7, scale=4) ), 
+        @AttributeOverride(name="d25", column=@Column(name="D25", precision=7, scale=4) ), 
+        @AttributeOverride(name="d20", column=@Column(name="D20", precision=7, scale=4) ), 
+        @AttributeOverride(name="d16", column=@Column(name="D16", precision=7, scale=4) ), 
+        @AttributeOverride(name="d10", column=@Column(name="D10", precision=7, scale=4) ), 
+        @AttributeOverride(name="dmin", column=@Column(name="DMIN", precision=7, scale=4) ), 
+        @AttributeOverride(name="durchdmin", column=@Column(name="DURCHDMIN", precision=6, scale=3) ), 
+        @AttributeOverride(name="dmax", column=@Column(name="DMAX", precision=7, scale=4) ), 
+        @AttributeOverride(name="durchdmax", column=@Column(name="DURCHDMAX", precision=6, scale=3) ), 
+        @AttributeOverride(name="stdabw", column=@Column(name="STDABW", precision=8, scale=3) ), 
+        @AttributeOverride(name="stdfehler", column=@Column(name="STDFEHLER", precision=8, scale=3) ), 
+        @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG", length=240) ), 
+        @AttributeOverride(name="uferablinks", column=@Column(name="UFERABLINKS", precision=8, scale=3) ), 
+        @AttributeOverride(name="linksabst", column=@Column(name="LINKSABST", precision=22, scale=0) ) } )
+    public GlotlinksId getId() {
+        return this.id;
+    }
+    
+    public void setId(GlotlinksId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/GlotlinksId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,464 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * GlotlinksId generated by hbm2java
+ */
+@Embeddable
+public class GlotlinksId  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+     private long messungid;
+     private BigDecimal uferabst;
+     private BigDecimal tgeschiebe;
+     private BigDecimal dm;
+     private BigDecimal sk;
+     private BigDecimal so;
+     private BigDecimal u;
+     private BigDecimal d90;
+     private BigDecimal d84;
+     private BigDecimal d80;
+     private BigDecimal d75;
+     private BigDecimal d70;
+     private BigDecimal d60;
+     private BigDecimal d50;
+     private BigDecimal d40;
+     private BigDecimal d30;
+     private BigDecimal d25;
+     private BigDecimal d20;
+     private BigDecimal d16;
+     private BigDecimal d10;
+     private BigDecimal dmin;
+     private BigDecimal durchdmin;
+     private BigDecimal dmax;
+     private BigDecimal durchdmax;
+     private BigDecimal stdabw;
+     private BigDecimal stdfehler;
+     private String bemerkung;
+     private BigDecimal uferablinks;
+     private BigDecimal linksabst;
+
+    public GlotlinksId() {
+    }
+
+    
+    public GlotlinksId(long glotrechteid, long messungid, BigDecimal uferabst) {
+        this.glotrechteid = glotrechteid;
+        this.messungid = messungid;
+        this.uferabst = uferabst;
+    }
+    public GlotlinksId(long glotrechteid, long messungid, BigDecimal uferabst, BigDecimal tgeschiebe, BigDecimal dm, BigDecimal sk, BigDecimal so, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, BigDecimal stdabw, BigDecimal stdfehler, String bemerkung, BigDecimal uferablinks, BigDecimal linksabst) {
+       this.glotrechteid = glotrechteid;
+       this.messungid = messungid;
+       this.uferabst = uferabst;
+       this.tgeschiebe = tgeschiebe;
+       this.dm = dm;
+       this.sk = sk;
+       this.so = so;
+       this.u = u;
+       this.d90 = d90;
+       this.d84 = d84;
+       this.d80 = d80;
+       this.d75 = d75;
+       this.d70 = d70;
+       this.d60 = d60;
+       this.d50 = d50;
+       this.d40 = d40;
+       this.d30 = d30;
+       this.d25 = d25;
+       this.d20 = d20;
+       this.d16 = d16;
+       this.d10 = d10;
+       this.dmin = dmin;
+       this.durchdmin = durchdmin;
+       this.dmax = dmax;
+       this.durchdmax = durchdmax;
+       this.stdabw = stdabw;
+       this.stdfehler = stdfehler;
+       this.bemerkung = bemerkung;
+       this.uferablinks = uferablinks;
+       this.linksabst = linksabst;
+    }
+   
+
+
+    @Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+
+
+    @Column(name="MESSUNGID", nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+
+
+    @Column(name="UFERABST", nullable=false, precision=8, scale=3)
+    public BigDecimal getUferabst() {
+        return this.uferabst;
+    }
+    
+    public void setUferabst(BigDecimal uferabst) {
+        this.uferabst = uferabst;
+    }
+
+
+    @Column(name="TGESCHIEBE", precision=8, scale=3)
+    public BigDecimal getTgeschiebe() {
+        return this.tgeschiebe;
+    }
+    
+    public void setTgeschiebe(BigDecimal tgeschiebe) {
+        this.tgeschiebe = tgeschiebe;
+    }
+
+
+    @Column(name="DM", precision=7, scale=4)
+    public BigDecimal getDm() {
+        return this.dm;
+    }
+    
+    public void setDm(BigDecimal dm) {
+        this.dm = dm;
+    }
+
+
+    @Column(name="SK", precision=8, scale=3)
+    public BigDecimal getSk() {
+        return this.sk;
+    }
+    
+    public void setSk(BigDecimal sk) {
+        this.sk = sk;
+    }
+
+
+    @Column(name="SO", precision=8, scale=3)
+    public BigDecimal getSo() {
+        return this.so;
+    }
+    
+    public void setSo(BigDecimal so) {
+        this.so = so;
+    }
+
+
+    @Column(name="U", precision=8, scale=3)
+    public BigDecimal getU() {
+        return this.u;
+    }
+    
+    public void setU(BigDecimal u) {
+        this.u = u;
+    }
+
+
+    @Column(name="D90", precision=7, scale=4)
+    public BigDecimal getD90() {
+        return this.d90;
+    }
+    
+    public void setD90(BigDecimal d90) {
+        this.d90 = d90;
+    }
+
+
+    @Column(name="D84", precision=7, scale=4)
+    public BigDecimal getD84() {
+        return this.d84;
+    }
+    
+    public void setD84(BigDecimal d84) {
+        this.d84 = d84;
+    }
+
+
+    @Column(name="D80", precision=7, scale=4)
+    public BigDecimal getD80() {
+        return this.d80;
+    }
+    
+    public void setD80(BigDecimal d80) {
+        this.d80 = d80;
+    }
+
+
+    @Column(name="D75", precision=7, scale=4)
+    public BigDecimal getD75() {
+        return this.d75;
+    }
+    
+    public void setD75(BigDecimal d75) {
+        this.d75 = d75;
+    }
+
+
+    @Column(name="D70", precision=7, scale=4)
+    public BigDecimal getD70() {
+        return this.d70;
+    }
+    
+    public void setD70(BigDecimal d70) {
+        this.d70 = d70;
+    }
+
+
+    @Column(name="D60", precision=7, scale=4)
+    public BigDecimal getD60() {
+        return this.d60;
+    }
+    
+    public void setD60(BigDecimal d60) {
+        this.d60 = d60;
+    }
+
+
+    @Column(name="D50", precision=7, scale=4)
+    public BigDecimal getD50() {
+        return this.d50;
+    }
+    
+    public void setD50(BigDecimal d50) {
+        this.d50 = d50;
+    }
+
+
+    @Column(name="D40", precision=7, scale=4)
+    public BigDecimal getD40() {
+        return this.d40;
+    }
+    
+    public void setD40(BigDecimal d40) {
+        this.d40 = d40;
+    }
+
+
+    @Column(name="D30", precision=7, scale=4)
+    public BigDecimal getD30() {
+        return this.d30;
+    }
+    
+    public void setD30(BigDecimal d30) {
+        this.d30 = d30;
+    }
+
+
+    @Column(name="D25", precision=7, scale=4)
+    public BigDecimal getD25() {
+        return this.d25;
+    }
+    
+    public void setD25(BigDecimal d25) {
+        this.d25 = d25;
+    }
+
+
+    @Column(name="D20", precision=7, scale=4)
+    public BigDecimal getD20() {
+        return this.d20;
+    }
+    
+    public void setD20(BigDecimal d20) {
+        this.d20 = d20;
+    }
+
+
+    @Column(name="D16", precision=7, scale=4)
+    public BigDecimal getD16() {
+        return this.d16;
+    }
+    
+    public void setD16(BigDecimal d16) {
+        this.d16 = d16;
+    }
+
+
+    @Column(name="D10", precision=7, scale=4)
+    public BigDecimal getD10() {
+        return this.d10;
+    }
+    
+    public void setD10(BigDecimal d10) {
+        this.d10 = d10;
+    }
+
+
+    @Column(name="DMIN", precision=7, scale=4)
+    public BigDecimal getDmin() {
+        return this.dmin;
+    }
+    
+    public void setDmin(BigDecimal dmin) {
+        this.dmin = dmin;
+    }
+
+
+    @Column(name="DURCHDMIN", precision=6, scale=3)
+    public BigDecimal getDurchdmin() {
+        return this.durchdmin;
+    }
+    
+    public void setDurchdmin(BigDecimal durchdmin) {
+        this.durchdmin = durchdmin;
+    }
+
+
+    @Column(name="DMAX", precision=7, scale=4)
+    public BigDecimal getDmax() {
+        return this.dmax;
+    }
+    
+    public void setDmax(BigDecimal dmax) {
+        this.dmax = dmax;
+    }
+
+
+    @Column(name="DURCHDMAX", precision=6, scale=3)
+    public BigDecimal getDurchdmax() {
+        return this.durchdmax;
+    }
+    
+    public void setDurchdmax(BigDecimal durchdmax) {
+        this.durchdmax = durchdmax;
+    }
+
+
+    @Column(name="STDABW", precision=8, scale=3)
+    public BigDecimal getStdabw() {
+        return this.stdabw;
+    }
+    
+    public void setStdabw(BigDecimal stdabw) {
+        this.stdabw = stdabw;
+    }
+
+
+    @Column(name="STDFEHLER", precision=8, scale=3)
+    public BigDecimal getStdfehler() {
+        return this.stdfehler;
+    }
+    
+    public void setStdfehler(BigDecimal stdfehler) {
+        this.stdfehler = stdfehler;
+    }
+
+
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+
+    @Column(name="UFERABLINKS", precision=8, scale=3)
+    public BigDecimal getUferablinks() {
+        return this.uferablinks;
+    }
+    
+    public void setUferablinks(BigDecimal uferablinks) {
+        this.uferablinks = uferablinks;
+    }
+
+
+    @Column(name="LINKSABST", precision=22, scale=0)
+    public BigDecimal getLinksabst() {
+        return this.linksabst;
+    }
+    
+    public void setLinksabst(BigDecimal linksabst) {
+        this.linksabst = linksabst;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof GlotlinksId) ) return false;
+         GlotlinksId castOther = ( GlotlinksId ) other; 
+         
+         return (this.getGlotrechteid()==castOther.getGlotrechteid())
+ && (this.getMessungid()==castOther.getMessungid())
+ && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) )
+ && ( (this.getTgeschiebe()==castOther.getTgeschiebe()) || ( this.getTgeschiebe()!=null && castOther.getTgeschiebe()!=null && this.getTgeschiebe().equals(castOther.getTgeschiebe()) ) )
+ && ( (this.getDm()==castOther.getDm()) || ( this.getDm()!=null && castOther.getDm()!=null && this.getDm().equals(castOther.getDm()) ) )
+ && ( (this.getSk()==castOther.getSk()) || ( this.getSk()!=null && castOther.getSk()!=null && this.getSk().equals(castOther.getSk()) ) )
+ && ( (this.getSo()==castOther.getSo()) || ( this.getSo()!=null && castOther.getSo()!=null && this.getSo().equals(castOther.getSo()) ) )
+ && ( (this.getU()==castOther.getU()) || ( this.getU()!=null && castOther.getU()!=null && this.getU().equals(castOther.getU()) ) )
+ && ( (this.getD90()==castOther.getD90()) || ( this.getD90()!=null && castOther.getD90()!=null && this.getD90().equals(castOther.getD90()) ) )
+ && ( (this.getD84()==castOther.getD84()) || ( this.getD84()!=null && castOther.getD84()!=null && this.getD84().equals(castOther.getD84()) ) )
+ && ( (this.getD80()==castOther.getD80()) || ( this.getD80()!=null && castOther.getD80()!=null && this.getD80().equals(castOther.getD80()) ) )
+ && ( (this.getD75()==castOther.getD75()) || ( this.getD75()!=null && castOther.getD75()!=null && this.getD75().equals(castOther.getD75()) ) )
+ && ( (this.getD70()==castOther.getD70()) || ( this.getD70()!=null && castOther.getD70()!=null && this.getD70().equals(castOther.getD70()) ) )
+ && ( (this.getD60()==castOther.getD60()) || ( this.getD60()!=null && castOther.getD60()!=null && this.getD60().equals(castOther.getD60()) ) )
+ && ( (this.getD50()==castOther.getD50()) || ( this.getD50()!=null && castOther.getD50()!=null && this.getD50().equals(castOther.getD50()) ) )
+ && ( (this.getD40()==castOther.getD40()) || ( this.getD40()!=null && castOther.getD40()!=null && this.getD40().equals(castOther.getD40()) ) )
+ && ( (this.getD30()==castOther.getD30()) || ( this.getD30()!=null && castOther.getD30()!=null && this.getD30().equals(castOther.getD30()) ) )
+ && ( (this.getD25()==castOther.getD25()) || ( this.getD25()!=null && castOther.getD25()!=null && this.getD25().equals(castOther.getD25()) ) )
+ && ( (this.getD20()==castOther.getD20()) || ( this.getD20()!=null && castOther.getD20()!=null && this.getD20().equals(castOther.getD20()) ) )
+ && ( (this.getD16()==castOther.getD16()) || ( this.getD16()!=null && castOther.getD16()!=null && this.getD16().equals(castOther.getD16()) ) )
+ && ( (this.getD10()==castOther.getD10()) || ( this.getD10()!=null && castOther.getD10()!=null && this.getD10().equals(castOther.getD10()) ) )
+ && ( (this.getDmin()==castOther.getDmin()) || ( this.getDmin()!=null && castOther.getDmin()!=null && this.getDmin().equals(castOther.getDmin()) ) )
+ && ( (this.getDurchdmin()==castOther.getDurchdmin()) || ( this.getDurchdmin()!=null && castOther.getDurchdmin()!=null && this.getDurchdmin().equals(castOther.getDurchdmin()) ) )
+ && ( (this.getDmax()==castOther.getDmax()) || ( this.getDmax()!=null && castOther.getDmax()!=null && this.getDmax().equals(castOther.getDmax()) ) )
+ && ( (this.getDurchdmax()==castOther.getDurchdmax()) || ( this.getDurchdmax()!=null && castOther.getDurchdmax()!=null && this.getDurchdmax().equals(castOther.getDurchdmax()) ) )
+ && ( (this.getStdabw()==castOther.getStdabw()) || ( this.getStdabw()!=null && castOther.getStdabw()!=null && this.getStdabw().equals(castOther.getStdabw()) ) )
+ && ( (this.getStdfehler()==castOther.getStdfehler()) || ( this.getStdfehler()!=null && castOther.getStdfehler()!=null && this.getStdfehler().equals(castOther.getStdfehler()) ) )
+ && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
+ && ( (this.getUferablinks()==castOther.getUferablinks()) || ( this.getUferablinks()!=null && castOther.getUferablinks()!=null && this.getUferablinks().equals(castOther.getUferablinks()) ) )
+ && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getGlotrechteid();
+         result = 37 * result + (int) this.getMessungid();
+         result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() );
+         result = 37 * result + ( getTgeschiebe() == null ? 0 : this.getTgeschiebe().hashCode() );
+         result = 37 * result + ( getDm() == null ? 0 : this.getDm().hashCode() );
+         result = 37 * result + ( getSk() == null ? 0 : this.getSk().hashCode() );
+         result = 37 * result + ( getSo() == null ? 0 : this.getSo().hashCode() );
+         result = 37 * result + ( getU() == null ? 0 : this.getU().hashCode() );
+         result = 37 * result + ( getD90() == null ? 0 : this.getD90().hashCode() );
+         result = 37 * result + ( getD84() == null ? 0 : this.getD84().hashCode() );
+         result = 37 * result + ( getD80() == null ? 0 : this.getD80().hashCode() );
+         result = 37 * result + ( getD75() == null ? 0 : this.getD75().hashCode() );
+         result = 37 * result + ( getD70() == null ? 0 : this.getD70().hashCode() );
+         result = 37 * result + ( getD60() == null ? 0 : this.getD60().hashCode() );
+         result = 37 * result + ( getD50() == null ? 0 : this.getD50().hashCode() );
+         result = 37 * result + ( getD40() == null ? 0 : this.getD40().hashCode() );
+         result = 37 * result + ( getD30() == null ? 0 : this.getD30().hashCode() );
+         result = 37 * result + ( getD25() == null ? 0 : this.getD25().hashCode() );
+         result = 37 * result + ( getD20() == null ? 0 : this.getD20().hashCode() );
+         result = 37 * result + ( getD16() == null ? 0 : this.getD16().hashCode() );
+         result = 37 * result + ( getD10() == null ? 0 : this.getD10().hashCode() );
+         result = 37 * result + ( getDmin() == null ? 0 : this.getDmin().hashCode() );
+         result = 37 * result + ( getDurchdmin() == null ? 0 : this.getDurchdmin().hashCode() );
+         result = 37 * result + ( getDmax() == null ? 0 : this.getDmax().hashCode() );
+         result = 37 * result + ( getDurchdmax() == null ? 0 : this.getDurchdmax().hashCode() );
+         result = 37 * result + ( getStdabw() == null ? 0 : this.getStdabw().hashCode() );
+         result = 37 * result + ( getStdfehler() == null ? 0 : this.getStdfehler().hashCode() );
+         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
+         result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() );
+         result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Glotrechte.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,412 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.OneToOne;
+import javax.persistence.Table;
+
+/**
+ * Glotrechte generated by hbm2java
+ */
+@Entity
+@Table(name="GLOTRECHTE"
+    ,schema="SEDDB"
+)
+public class Glotrechte  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+     private Messung messung;
+     private BigDecimal uferabst;
+     private BigDecimal tgeschiebe;
+     private BigDecimal dm;
+     private BigDecimal sk;
+     private BigDecimal so;
+     private BigDecimal u;
+     private BigDecimal d90;
+     private BigDecimal d84;
+     private BigDecimal d80;
+     private BigDecimal d75;
+     private BigDecimal d70;
+     private BigDecimal d60;
+     private BigDecimal d50;
+     private BigDecimal d40;
+     private BigDecimal d30;
+     private BigDecimal d25;
+     private BigDecimal d20;
+     private BigDecimal d16;
+     private BigDecimal d10;
+     private BigDecimal dmin;
+     private BigDecimal durchdmin;
+     private BigDecimal dmax;
+     private BigDecimal durchdmax;
+     private BigDecimal stdabw;
+     private BigDecimal stdfehler;
+     private String bemerkung;
+     private BigDecimal uferablinks;
+     private Gsiebung gsiebung;
+     private Set<Gprobe> gprobes = new HashSet<Gprobe>(0);
+
+    public Glotrechte() {
+    }
+
+	
+    public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst) {
+        this.glotrechteid = glotrechteid;
+        this.messung = messung;
+        this.uferabst = uferabst;
+    }
+    public Glotrechte(long glotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tgeschiebe, BigDecimal dm, BigDecimal sk, BigDecimal so, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, BigDecimal stdabw, BigDecimal stdfehler, String bemerkung, BigDecimal uferablinks, Gsiebung gsiebung, Set<Gprobe> gprobes) {
+       this.glotrechteid = glotrechteid;
+       this.messung = messung;
+       this.uferabst = uferabst;
+       this.tgeschiebe = tgeschiebe;
+       this.dm = dm;
+       this.sk = sk;
+       this.so = so;
+       this.u = u;
+       this.d90 = d90;
+       this.d84 = d84;
+       this.d80 = d80;
+       this.d75 = d75;
+       this.d70 = d70;
+       this.d60 = d60;
+       this.d50 = d50;
+       this.d40 = d40;
+       this.d30 = d30;
+       this.d25 = d25;
+       this.d20 = d20;
+       this.d16 = d16;
+       this.d10 = d10;
+       this.dmin = dmin;
+       this.durchdmin = durchdmin;
+       this.dmax = dmax;
+       this.durchdmax = durchdmax;
+       this.stdabw = stdabw;
+       this.stdfehler = stdfehler;
+       this.bemerkung = bemerkung;
+       this.uferablinks = uferablinks;
+       this.gsiebung = gsiebung;
+       this.gprobes = gprobes;
+    }
+   
+     @Id 
+
+    
+    @Column(name="GLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="MESSUNGID", nullable=false)
+    public Messung getMessung() {
+        return this.messung;
+    }
+    
+    public void setMessung(Messung messung) {
+        this.messung = messung;
+    }
+
+    
+    @Column(name="UFERABST", nullable=false, precision=8, scale=3)
+    public BigDecimal getUferabst() {
+        return this.uferabst;
+    }
+    
+    public void setUferabst(BigDecimal uferabst) {
+        this.uferabst = uferabst;
+    }
+
+    
+    @Column(name="TGESCHIEBE", precision=8, scale=3)
+    public BigDecimal getTgeschiebe() {
+        return this.tgeschiebe;
+    }
+    
+    public void setTgeschiebe(BigDecimal tgeschiebe) {
+        this.tgeschiebe = tgeschiebe;
+    }
+
+    
+    @Column(name="DM", precision=7, scale=4)
+    public BigDecimal getDm() {
+        return this.dm;
+    }
+    
+    public void setDm(BigDecimal dm) {
+        this.dm = dm;
+    }
+
+    
+    @Column(name="SK", precision=8, scale=3)
+    public BigDecimal getSk() {
+        return this.sk;
+    }
+    
+    public void setSk(BigDecimal sk) {
+        this.sk = sk;
+    }
+
+    
+    @Column(name="SO", precision=8, scale=3)
+    public BigDecimal getSo() {
+        return this.so;
+    }
+    
+    public void setSo(BigDecimal so) {
+        this.so = so;
+    }
+
+    
+    @Column(name="U", precision=8, scale=3)
+    public BigDecimal getU() {
+        return this.u;
+    }
+    
+    public void setU(BigDecimal u) {
+        this.u = u;
+    }
+
+    
+    @Column(name="D90", precision=7, scale=4)
+    public BigDecimal getD90() {
+        return this.d90;
+    }
+    
+    public void setD90(BigDecimal d90) {
+        this.d90 = d90;
+    }
+
+    
+    @Column(name="D84", precision=7, scale=4)
+    public BigDecimal getD84() {
+        return this.d84;
+    }
+    
+    public void setD84(BigDecimal d84) {
+        this.d84 = d84;
+    }
+
+    
+    @Column(name="D80", precision=7, scale=4)
+    public BigDecimal getD80() {
+        return this.d80;
+    }
+    
+    public void setD80(BigDecimal d80) {
+        this.d80 = d80;
+    }
+
+    
+    @Column(name="D75", precision=7, scale=4)
+    public BigDecimal getD75() {
+        return this.d75;
+    }
+    
+    public void setD75(BigDecimal d75) {
+        this.d75 = d75;
+    }
+
+    
+    @Column(name="D70", precision=7, scale=4)
+    public BigDecimal getD70() {
+        return this.d70;
+    }
+    
+    public void setD70(BigDecimal d70) {
+        this.d70 = d70;
+    }
+
+    
+    @Column(name="D60", precision=7, scale=4)
+    public BigDecimal getD60() {
+        return this.d60;
+    }
+    
+    public void setD60(BigDecimal d60) {
+        this.d60 = d60;
+    }
+
+    
+    @Column(name="D50", precision=7, scale=4)
+    public BigDecimal getD50() {
+        return this.d50;
+    }
+    
+    public void setD50(BigDecimal d50) {
+        this.d50 = d50;
+    }
+
+    
+    @Column(name="D40", precision=7, scale=4)
+    public BigDecimal getD40() {
+        return this.d40;
+    }
+    
+    public void setD40(BigDecimal d40) {
+        this.d40 = d40;
+    }
+
+    
+    @Column(name="D30", precision=7, scale=4)
+    public BigDecimal getD30() {
+        return this.d30;
+    }
+    
+    public void setD30(BigDecimal d30) {
+        this.d30 = d30;
+    }
+
+    
+    @Column(name="D25", precision=7, scale=4)
+    public BigDecimal getD25() {
+        return this.d25;
+    }
+    
+    public void setD25(BigDecimal d25) {
+        this.d25 = d25;
+    }
+
+    
+    @Column(name="D20", precision=7, scale=4)
+    public BigDecimal getD20() {
+        return this.d20;
+    }
+    
+    public void setD20(BigDecimal d20) {
+        this.d20 = d20;
+    }
+
+    
+    @Column(name="D16", precision=7, scale=4)
+    public BigDecimal getD16() {
+        return this.d16;
+    }
+    
+    public void setD16(BigDecimal d16) {
+        this.d16 = d16;
+    }
+
+    
+    @Column(name="D10", precision=7, scale=4)
+    public BigDecimal getD10() {
+        return this.d10;
+    }
+    
+    public void setD10(BigDecimal d10) {
+        this.d10 = d10;
+    }
+
+    
+    @Column(name="DMIN", precision=7, scale=4)
+    public BigDecimal getDmin() {
+        return this.dmin;
+    }
+    
+    public void setDmin(BigDecimal dmin) {
+        this.dmin = dmin;
+    }
+
+    
+    @Column(name="DURCHDMIN", precision=6, scale=3)
+    public BigDecimal getDurchdmin() {
+        return this.durchdmin;
+    }
+    
+    public void setDurchdmin(BigDecimal durchdmin) {
+        this.durchdmin = durchdmin;
+    }
+
+    
+    @Column(name="DMAX", precision=7, scale=4)
+    public BigDecimal getDmax() {
+        return this.dmax;
+    }
+    
+    public void setDmax(BigDecimal dmax) {
+        this.dmax = dmax;
+    }
+
+    
+    @Column(name="DURCHDMAX", precision=6, scale=3)
+    public BigDecimal getDurchdmax() {
+        return this.durchdmax;
+    }
+    
+    public void setDurchdmax(BigDecimal durchdmax) {
+        this.durchdmax = durchdmax;
+    }
+
+    
+    @Column(name="STDABW", precision=8, scale=3)
+    public BigDecimal getStdabw() {
+        return this.stdabw;
+    }
+    
+    public void setStdabw(BigDecimal stdabw) {
+        this.stdabw = stdabw;
+    }
+
+    
+    @Column(name="STDFEHLER", precision=8, scale=3)
+    public BigDecimal getStdfehler() {
+        return this.stdfehler;
+    }
+    
+    public void setStdfehler(BigDecimal stdfehler) {
+        this.stdfehler = stdfehler;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="UFERABLINKS", precision=8, scale=3)
+    public BigDecimal getUferablinks() {
+        return this.uferablinks;
+    }
+    
+    public void setUferablinks(BigDecimal uferablinks) {
+        this.uferablinks = uferablinks;
+    }
+
+@OneToOne(fetch=FetchType.LAZY, mappedBy="glotrechte")
+    public Gsiebung getGsiebung() {
+        return this.gsiebung;
+    }
+    
+    public void setGsiebung(Gsiebung gsiebung) {
+        this.gsiebung = gsiebung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="glotrechte")
+    public Set<Gprobe> getGprobes() {
+        return this.gprobes;
+    }
+    
+    public void setGprobes(Set<Gprobe> gprobes) {
+        this.gprobes = gprobes;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gprobe.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,138 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Gprobe generated by hbm2java
+ */
+@Entity
+@Table(name="GPROBE"
+    ,schema="SEDDB"
+)
+public class Gprobe  implements java.io.Serializable {
+
+
+     private GprobeId id;
+     private Glotrechte glotrechte;
+     private int messdauer;
+     private BigDecimal menge;
+     private BigDecimal gtrieb;
+     private BigDecimal faktor;
+     private BigDecimal mengeF;
+     private BigDecimal gtriebF;
+
+    public Gprobe() {
+    }
+
+    public Gprobe(GprobeId id, Glotrechte glotrechte, int messdauer, BigDecimal menge) {
+        this.id = id;
+        this.glotrechte = glotrechte;
+        this.messdauer = messdauer;
+        this.menge = menge;
+    }
+    public Gprobe(GprobeId id, Glotrechte glotrechte, int messdauer, BigDecimal menge, BigDecimal gtrieb, BigDecimal faktor, BigDecimal mengeF, BigDecimal gtriebF) {
+       this.id = id;
+       this.glotrechte = glotrechte;
+       this.messdauer = messdauer;
+       this.menge = menge;
+       this.gtrieb = gtrieb;
+       this.faktor = faktor;
+       this.mengeF = mengeF;
+       this.gtriebF = gtriebF;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="glotrechteid", column=@Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="lfdnr", column=@Column(name="LFDNR", nullable=false, precision=5, scale=0) ) } )
+    public GprobeId getId() {
+        return this.id;
+    }
+    
+    public void setId(GprobeId id) {
+        this.id = id;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GLOTRECHTEID", nullable=false, insertable=false, updatable=false)
+    public Glotrechte getGlotrechte() {
+        return this.glotrechte;
+    }
+    
+    public void setGlotrechte(Glotrechte glotrechte) {
+        this.glotrechte = glotrechte;
+    }
+
+    
+    @Column(name="MESSDAUER", nullable=false, precision=5, scale=0)
+    public int getMessdauer() {
+        return this.messdauer;
+    }
+    
+    public void setMessdauer(int messdauer) {
+        this.messdauer = messdauer;
+    }
+
+    
+    @Column(name="MENGE", nullable=false, precision=9, scale=3)
+    public BigDecimal getMenge() {
+        return this.menge;
+    }
+    
+    public void setMenge(BigDecimal menge) {
+        this.menge = menge;
+    }
+
+    
+    @Column(name="GTRIEB", precision=8, scale=3)
+    public BigDecimal getGtrieb() {
+        return this.gtrieb;
+    }
+    
+    public void setGtrieb(BigDecimal gtrieb) {
+        this.gtrieb = gtrieb;
+    }
+
+    
+    @Column(name="FAKTOR", precision=4, scale=3)
+    public BigDecimal getFaktor() {
+        return this.faktor;
+    }
+    
+    public void setFaktor(BigDecimal faktor) {
+        this.faktor = faktor;
+    }
+
+    
+    @Column(name="MENGE_F", precision=9, scale=3)
+    public BigDecimal getMengeF() {
+        return this.mengeF;
+    }
+    
+    public void setMengeF(BigDecimal mengeF) {
+        this.mengeF = mengeF;
+    }
+
+    
+    @Column(name="GTRIEB_F", precision=8, scale=3)
+    public BigDecimal getGtriebF() {
+        return this.gtriebF;
+    }
+    
+    public void setGtriebF(BigDecimal gtriebF) {
+        this.gtriebF = gtriebF;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/GprobeId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,65 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * GprobeId generated by hbm2java
+ */
+@Embeddable
+public class GprobeId  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+     private int lfdnr;
+
+    public GprobeId() {
+    }
+
+    public GprobeId(long glotrechteid, int lfdnr) {
+       this.glotrechteid = glotrechteid;
+       this.lfdnr = lfdnr;
+    }
+   
+
+
+    @Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+
+
+    @Column(name="LFDNR", nullable=false, precision=5, scale=0)
+    public int getLfdnr() {
+        return this.lfdnr;
+    }
+    
+    public void setLfdnr(int lfdnr) {
+        this.lfdnr = lfdnr;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof GprobeId) ) return false;
+         GprobeId castOther = ( GprobeId ) other; 
+         
+         return (this.getGlotrechteid()==castOther.getGlotrechteid())
+ && (this.getLfdnr()==castOther.getLfdnr());
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getGlotrechteid();
+         result = 37 * result + this.getLfdnr();
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gsiebsatz.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,363 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * Gsiebsatz generated by hbm2java
+ */
+@Entity
+@Table(name="GSIEBSATZ"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="NAME") 
+)
+public class Gsiebsatz  implements java.io.Serializable {
+
+
+     private long gsiebsatzid;
+     private String name;
+     private boolean istaktiv;
+     private BigDecimal sieb01;
+     private BigDecimal sieb02;
+     private BigDecimal sieb03;
+     private BigDecimal sieb04;
+     private BigDecimal sieb05;
+     private BigDecimal sieb06;
+     private BigDecimal sieb07;
+     private BigDecimal sieb08;
+     private BigDecimal sieb09;
+     private BigDecimal sieb10;
+     private BigDecimal sieb11;
+     private BigDecimal sieb12;
+     private BigDecimal sieb13;
+     private BigDecimal sieb14;
+     private BigDecimal sieb15;
+     private BigDecimal sieb16;
+     private BigDecimal sieb17;
+     private BigDecimal sieb18;
+     private BigDecimal sieb19;
+     private BigDecimal sieb20;
+     private BigDecimal sieb21;
+     private String bemerkung;
+     private Set<Ssiebung> ssiebungs = new HashSet<Ssiebung>(0);
+     private Set<Messung> messungs = new HashSet<Messung>(0);
+
+    public Gsiebsatz() {
+    }
+
+	
+    public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv) {
+        this.gsiebsatzid = gsiebsatzid;
+        this.name = name;
+        this.istaktiv = istaktiv;
+    }
+    public Gsiebsatz(long gsiebsatzid, String name, boolean istaktiv, BigDecimal sieb01, BigDecimal sieb02, BigDecimal sieb03, BigDecimal sieb04, BigDecimal sieb05, BigDecimal sieb06, BigDecimal sieb07, BigDecimal sieb08, BigDecimal sieb09, BigDecimal sieb10, BigDecimal sieb11, BigDecimal sieb12, BigDecimal sieb13, BigDecimal sieb14, BigDecimal sieb15, BigDecimal sieb16, BigDecimal sieb17, BigDecimal sieb18, BigDecimal sieb19, BigDecimal sieb20, BigDecimal sieb21, String bemerkung, Set<Ssiebung> ssiebungs, Set<Messung> messungs) {
+       this.gsiebsatzid = gsiebsatzid;
+       this.name = name;
+       this.istaktiv = istaktiv;
+       this.sieb01 = sieb01;
+       this.sieb02 = sieb02;
+       this.sieb03 = sieb03;
+       this.sieb04 = sieb04;
+       this.sieb05 = sieb05;
+       this.sieb06 = sieb06;
+       this.sieb07 = sieb07;
+       this.sieb08 = sieb08;
+       this.sieb09 = sieb09;
+       this.sieb10 = sieb10;
+       this.sieb11 = sieb11;
+       this.sieb12 = sieb12;
+       this.sieb13 = sieb13;
+       this.sieb14 = sieb14;
+       this.sieb15 = sieb15;
+       this.sieb16 = sieb16;
+       this.sieb17 = sieb17;
+       this.sieb18 = sieb18;
+       this.sieb19 = sieb19;
+       this.sieb20 = sieb20;
+       this.sieb21 = sieb21;
+       this.bemerkung = bemerkung;
+       this.ssiebungs = ssiebungs;
+       this.messungs = messungs;
+    }
+   
+     @Id 
+
+    
+    @Column(name="GSIEBSATZID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGsiebsatzid() {
+        return this.gsiebsatzid;
+    }
+    
+    public void setGsiebsatzid(long gsiebsatzid) {
+        this.gsiebsatzid = gsiebsatzid;
+    }
+
+    
+    @Column(name="NAME", unique=true, nullable=false, length=20)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="SIEB01", precision=7, scale=4)
+    public BigDecimal getSieb01() {
+        return this.sieb01;
+    }
+    
+    public void setSieb01(BigDecimal sieb01) {
+        this.sieb01 = sieb01;
+    }
+
+    
+    @Column(name="SIEB02", precision=7, scale=4)
+    public BigDecimal getSieb02() {
+        return this.sieb02;
+    }
+    
+    public void setSieb02(BigDecimal sieb02) {
+        this.sieb02 = sieb02;
+    }
+
+    
+    @Column(name="SIEB03", precision=7, scale=4)
+    public BigDecimal getSieb03() {
+        return this.sieb03;
+    }
+    
+    public void setSieb03(BigDecimal sieb03) {
+        this.sieb03 = sieb03;
+    }
+
+    
+    @Column(name="SIEB04", precision=7, scale=4)
+    public BigDecimal getSieb04() {
+        return this.sieb04;
+    }
+    
+    public void setSieb04(BigDecimal sieb04) {
+        this.sieb04 = sieb04;
+    }
+
+    
+    @Column(name="SIEB05", precision=7, scale=4)
+    public BigDecimal getSieb05() {
+        return this.sieb05;
+    }
+    
+    public void setSieb05(BigDecimal sieb05) {
+        this.sieb05 = sieb05;
+    }
+
+    
+    @Column(name="SIEB06", precision=7, scale=4)
+    public BigDecimal getSieb06() {
+        return this.sieb06;
+    }
+    
+    public void setSieb06(BigDecimal sieb06) {
+        this.sieb06 = sieb06;
+    }
+
+    
+    @Column(name="SIEB07", precision=7, scale=4)
+    public BigDecimal getSieb07() {
+        return this.sieb07;
+    }
+    
+    public void setSieb07(BigDecimal sieb07) {
+        this.sieb07 = sieb07;
+    }
+
+    
+    @Column(name="SIEB08", precision=7, scale=4)
+    public BigDecimal getSieb08() {
+        return this.sieb08;
+    }
+    
+    public void setSieb08(BigDecimal sieb08) {
+        this.sieb08 = sieb08;
+    }
+
+    
+    @Column(name="SIEB09", precision=7, scale=4)
+    public BigDecimal getSieb09() {
+        return this.sieb09;
+    }
+    
+    public void setSieb09(BigDecimal sieb09) {
+        this.sieb09 = sieb09;
+    }
+
+    
+    @Column(name="SIEB10", precision=7, scale=4)
+    public BigDecimal getSieb10() {
+        return this.sieb10;
+    }
+    
+    public void setSieb10(BigDecimal sieb10) {
+        this.sieb10 = sieb10;
+    }
+
+    
+    @Column(name="SIEB11", precision=7, scale=4)
+    public BigDecimal getSieb11() {
+        return this.sieb11;
+    }
+    
+    public void setSieb11(BigDecimal sieb11) {
+        this.sieb11 = sieb11;
+    }
+
+    
+    @Column(name="SIEB12", precision=7, scale=4)
+    public BigDecimal getSieb12() {
+        return this.sieb12;
+    }
+    
+    public void setSieb12(BigDecimal sieb12) {
+        this.sieb12 = sieb12;
+    }
+
+    
+    @Column(name="SIEB13", precision=7, scale=4)
+    public BigDecimal getSieb13() {
+        return this.sieb13;
+    }
+    
+    public void setSieb13(BigDecimal sieb13) {
+        this.sieb13 = sieb13;
+    }
+
+    
+    @Column(name="SIEB14", precision=7, scale=4)
+    public BigDecimal getSieb14() {
+        return this.sieb14;
+    }
+    
+    public void setSieb14(BigDecimal sieb14) {
+        this.sieb14 = sieb14;
+    }
+
+    
+    @Column(name="SIEB15", precision=7, scale=4)
+    public BigDecimal getSieb15() {
+        return this.sieb15;
+    }
+    
+    public void setSieb15(BigDecimal sieb15) {
+        this.sieb15 = sieb15;
+    }
+
+    
+    @Column(name="SIEB16", precision=7, scale=4)
+    public BigDecimal getSieb16() {
+        return this.sieb16;
+    }
+    
+    public void setSieb16(BigDecimal sieb16) {
+        this.sieb16 = sieb16;
+    }
+
+    
+    @Column(name="SIEB17", precision=7, scale=4)
+    public BigDecimal getSieb17() {
+        return this.sieb17;
+    }
+    
+    public void setSieb17(BigDecimal sieb17) {
+        this.sieb17 = sieb17;
+    }
+
+    
+    @Column(name="SIEB18", precision=7, scale=4)
+    public BigDecimal getSieb18() {
+        return this.sieb18;
+    }
+    
+    public void setSieb18(BigDecimal sieb18) {
+        this.sieb18 = sieb18;
+    }
+
+    
+    @Column(name="SIEB19", precision=7, scale=4)
+    public BigDecimal getSieb19() {
+        return this.sieb19;
+    }
+    
+    public void setSieb19(BigDecimal sieb19) {
+        this.sieb19 = sieb19;
+    }
+
+    
+    @Column(name="SIEB20", precision=7, scale=4)
+    public BigDecimal getSieb20() {
+        return this.sieb20;
+    }
+    
+    public void setSieb20(BigDecimal sieb20) {
+        this.sieb20 = sieb20;
+    }
+
+    
+    @Column(name="SIEB21", precision=7, scale=4)
+    public BigDecimal getSieb21() {
+        return this.sieb21;
+    }
+    
+    public void setSieb21(BigDecimal sieb21) {
+        this.sieb21 = sieb21;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz")
+    public Set<Ssiebung> getSsiebungs() {
+        return this.ssiebungs;
+    }
+    
+    public void setSsiebungs(Set<Ssiebung> ssiebungs) {
+        this.ssiebungs = ssiebungs;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="gsiebsatz")
+    public Set<Messung> getMessungs() {
+        return this.messungs;
+    }
+    
+    public void setMessungs(Set<Messung> messungs) {
+        this.messungs = messungs;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gsiebung.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,348 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+import javax.persistence.OneToOne;
+import javax.persistence.PrimaryKeyJoinColumn;
+import javax.persistence.Table;
+import org.hibernate.annotations.GenericGenerator;
+import org.hibernate.annotations.Parameter;
+
+/**
+ * Gsiebung generated by hbm2java
+ */
+@Entity
+@Table(name="GSIEBUNG"
+    ,schema="SEDDB"
+)
+public class Gsiebung  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+     private Glotrechte glotrechte;
+     private BigDecimal gmasse;
+     private BigDecimal rsieb01;
+     private BigDecimal rsieb02;
+     private BigDecimal rsieb03;
+     private BigDecimal rsieb04;
+     private BigDecimal rsieb05;
+     private BigDecimal rsieb06;
+     private BigDecimal rsieb07;
+     private BigDecimal rsieb08;
+     private BigDecimal rsieb09;
+     private BigDecimal rsieb10;
+     private BigDecimal rsieb11;
+     private BigDecimal rsieb12;
+     private BigDecimal rsieb13;
+     private BigDecimal rsieb14;
+     private BigDecimal rsieb15;
+     private BigDecimal rsieb16;
+     private BigDecimal rsieb17;
+     private BigDecimal rsieb18;
+     private BigDecimal rsieb19;
+     private BigDecimal rsieb20;
+     private BigDecimal rsieb21;
+     private BigDecimal rest;
+     private String bemerkung;
+
+    public Gsiebung() {
+    }
+
+    public Gsiebung(Glotrechte glotrechte) {
+        this.glotrechte = glotrechte;
+    }
+    public Gsiebung(Glotrechte glotrechte, BigDecimal gmasse, BigDecimal rsieb01, BigDecimal rsieb02, BigDecimal rsieb03, BigDecimal rsieb04, BigDecimal rsieb05, BigDecimal rsieb06, BigDecimal rsieb07, BigDecimal rsieb08, BigDecimal rsieb09, BigDecimal rsieb10, BigDecimal rsieb11, BigDecimal rsieb12, BigDecimal rsieb13, BigDecimal rsieb14, BigDecimal rsieb15, BigDecimal rsieb16, BigDecimal rsieb17, BigDecimal rsieb18, BigDecimal rsieb19, BigDecimal rsieb20, BigDecimal rsieb21, BigDecimal rest, String bemerkung) {
+       this.glotrechte = glotrechte;
+       this.gmasse = gmasse;
+       this.rsieb01 = rsieb01;
+       this.rsieb02 = rsieb02;
+       this.rsieb03 = rsieb03;
+       this.rsieb04 = rsieb04;
+       this.rsieb05 = rsieb05;
+       this.rsieb06 = rsieb06;
+       this.rsieb07 = rsieb07;
+       this.rsieb08 = rsieb08;
+       this.rsieb09 = rsieb09;
+       this.rsieb10 = rsieb10;
+       this.rsieb11 = rsieb11;
+       this.rsieb12 = rsieb12;
+       this.rsieb13 = rsieb13;
+       this.rsieb14 = rsieb14;
+       this.rsieb15 = rsieb15;
+       this.rsieb16 = rsieb16;
+       this.rsieb17 = rsieb17;
+       this.rsieb18 = rsieb18;
+       this.rsieb19 = rsieb19;
+       this.rsieb20 = rsieb20;
+       this.rsieb21 = rsieb21;
+       this.rest = rest;
+       this.bemerkung = bemerkung;
+    }
+   
+     @GenericGenerator(name="generator", strategy="foreign", parameters=@Parameter(name="property", value="glotrechte"))@Id @GeneratedValue(generator="generator")
+
+    
+    @Column(name="GLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+
+@OneToOne(fetch=FetchType.LAZY)@PrimaryKeyJoinColumn
+    public Glotrechte getGlotrechte() {
+        return this.glotrechte;
+    }
+    
+    public void setGlotrechte(Glotrechte glotrechte) {
+        this.glotrechte = glotrechte;
+    }
+
+    
+    @Column(name="GMASSE", precision=9, scale=3)
+    public BigDecimal getGmasse() {
+        return this.gmasse;
+    }
+    
+    public void setGmasse(BigDecimal gmasse) {
+        this.gmasse = gmasse;
+    }
+
+    
+    @Column(name="RSIEB01", precision=9, scale=3)
+    public BigDecimal getRsieb01() {
+        return this.rsieb01;
+    }
+    
+    public void setRsieb01(BigDecimal rsieb01) {
+        this.rsieb01 = rsieb01;
+    }
+
+    
+    @Column(name="RSIEB02", precision=9, scale=3)
+    public BigDecimal getRsieb02() {
+        return this.rsieb02;
+    }
+    
+    public void setRsieb02(BigDecimal rsieb02) {
+        this.rsieb02 = rsieb02;
+    }
+
+    
+    @Column(name="RSIEB03", precision=9, scale=3)
+    public BigDecimal getRsieb03() {
+        return this.rsieb03;
+    }
+    
+    public void setRsieb03(BigDecimal rsieb03) {
+        this.rsieb03 = rsieb03;
+    }
+
+    
+    @Column(name="RSIEB04", precision=9, scale=3)
+    public BigDecimal getRsieb04() {
+        return this.rsieb04;
+    }
+    
+    public void setRsieb04(BigDecimal rsieb04) {
+        this.rsieb04 = rsieb04;
+    }
+
+    
+    @Column(name="RSIEB05", precision=9, scale=3)
+    public BigDecimal getRsieb05() {
+        return this.rsieb05;
+    }
+    
+    public void setRsieb05(BigDecimal rsieb05) {
+        this.rsieb05 = rsieb05;
+    }
+
+    
+    @Column(name="RSIEB06", precision=9, scale=3)
+    public BigDecimal getRsieb06() {
+        return this.rsieb06;
+    }
+    
+    public void setRsieb06(BigDecimal rsieb06) {
+        this.rsieb06 = rsieb06;
+    }
+
+    
+    @Column(name="RSIEB07", precision=9, scale=3)
+    public BigDecimal getRsieb07() {
+        return this.rsieb07;
+    }
+    
+    public void setRsieb07(BigDecimal rsieb07) {
+        this.rsieb07 = rsieb07;
+    }
+
+    
+    @Column(name="RSIEB08", precision=9, scale=3)
+    public BigDecimal getRsieb08() {
+        return this.rsieb08;
+    }
+    
+    public void setRsieb08(BigDecimal rsieb08) {
+        this.rsieb08 = rsieb08;
+    }
+
+    
+    @Column(name="RSIEB09", precision=9, scale=3)
+    public BigDecimal getRsieb09() {
+        return this.rsieb09;
+    }
+    
+    public void setRsieb09(BigDecimal rsieb09) {
+        this.rsieb09 = rsieb09;
+    }
+
+    
+    @Column(name="RSIEB10", precision=9, scale=3)
+    public BigDecimal getRsieb10() {
+        return this.rsieb10;
+    }
+    
+    public void setRsieb10(BigDecimal rsieb10) {
+        this.rsieb10 = rsieb10;
+    }
+
+    
+    @Column(name="RSIEB11", precision=9, scale=3)
+    public BigDecimal getRsieb11() {
+        return this.rsieb11;
+    }
+    
+    public void setRsieb11(BigDecimal rsieb11) {
+        this.rsieb11 = rsieb11;
+    }
+
+    
+    @Column(name="RSIEB12", precision=9, scale=3)
+    public BigDecimal getRsieb12() {
+        return this.rsieb12;
+    }
+    
+    public void setRsieb12(BigDecimal rsieb12) {
+        this.rsieb12 = rsieb12;
+    }
+
+    
+    @Column(name="RSIEB13", precision=9, scale=3)
+    public BigDecimal getRsieb13() {
+        return this.rsieb13;
+    }
+    
+    public void setRsieb13(BigDecimal rsieb13) {
+        this.rsieb13 = rsieb13;
+    }
+
+    
+    @Column(name="RSIEB14", precision=9, scale=3)
+    public BigDecimal getRsieb14() {
+        return this.rsieb14;
+    }
+    
+    public void setRsieb14(BigDecimal rsieb14) {
+        this.rsieb14 = rsieb14;
+    }
+
+    
+    @Column(name="RSIEB15", precision=9, scale=3)
+    public BigDecimal getRsieb15() {
+        return this.rsieb15;
+    }
+    
+    public void setRsieb15(BigDecimal rsieb15) {
+        this.rsieb15 = rsieb15;
+    }
+
+    
+    @Column(name="RSIEB16", precision=9, scale=3)
+    public BigDecimal getRsieb16() {
+        return this.rsieb16;
+    }
+    
+    public void setRsieb16(BigDecimal rsieb16) {
+        this.rsieb16 = rsieb16;
+    }
+
+    
+    @Column(name="RSIEB17", precision=9, scale=3)
+    public BigDecimal getRsieb17() {
+        return this.rsieb17;
+    }
+    
+    public void setRsieb17(BigDecimal rsieb17) {
+        this.rsieb17 = rsieb17;
+    }
+
+    
+    @Column(name="RSIEB18", precision=9, scale=3)
+    public BigDecimal getRsieb18() {
+        return this.rsieb18;
+    }
+    
+    public void setRsieb18(BigDecimal rsieb18) {
+        this.rsieb18 = rsieb18;
+    }
+
+    
+    @Column(name="RSIEB19", precision=9, scale=3)
+    public BigDecimal getRsieb19() {
+        return this.rsieb19;
+    }
+    
+    public void setRsieb19(BigDecimal rsieb19) {
+        this.rsieb19 = rsieb19;
+    }
+
+    
+    @Column(name="RSIEB20", precision=9, scale=3)
+    public BigDecimal getRsieb20() {
+        return this.rsieb20;
+    }
+    
+    public void setRsieb20(BigDecimal rsieb20) {
+        this.rsieb20 = rsieb20;
+    }
+
+    
+    @Column(name="RSIEB21", precision=9, scale=3)
+    public BigDecimal getRsieb21() {
+        return this.rsieb21;
+    }
+    
+    public void setRsieb21(BigDecimal rsieb21) {
+        this.rsieb21 = rsieb21;
+    }
+
+    
+    @Column(name="REST", precision=9, scale=3)
+    public BigDecimal getRest() {
+        return this.rest;
+    }
+    
+    public void setRest(BigDecimal rest) {
+        this.rest = rest;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Gsiebungsieb.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,88 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Gsiebungsieb generated by hbm2java
+ */
+@Entity
+@Table(name="GSIEBUNGSIEB"
+    ,schema="SEDDB"
+)
+public class Gsiebungsieb  implements java.io.Serializable {
+
+
+     private GsiebungsiebId id;
+
+    public Gsiebungsieb() {
+    }
+
+    public Gsiebungsieb(GsiebungsiebId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="glotrechteid", column=@Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gmasse", column=@Column(name="GMASSE", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche01", column=@Column(name="MASCHE01", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck01", column=@Column(name="RUECK01", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche02", column=@Column(name="MASCHE02", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck02", column=@Column(name="RUECK02", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche03", column=@Column(name="MASCHE03", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck03", column=@Column(name="RUECK03", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche04", column=@Column(name="MASCHE04", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck04", column=@Column(name="RUECK04", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche05", column=@Column(name="MASCHE05", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck05", column=@Column(name="RUECK05", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche06", column=@Column(name="MASCHE06", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck06", column=@Column(name="RUECK06", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche07", column=@Column(name="MASCHE07", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck07", column=@Column(name="RUECK07", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche08", column=@Column(name="MASCHE08", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck08", column=@Column(name="RUECK08", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche09", column=@Column(name="MASCHE09", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck09", column=@Column(name="RUECK09", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche10", column=@Column(name="MASCHE10", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck10", column=@Column(name="RUECK10", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche11", column=@Column(name="MASCHE11", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck11", column=@Column(name="RUECK11", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche12", column=@Column(name="MASCHE12", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck12", column=@Column(name="RUECK12", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche13", column=@Column(name="MASCHE13", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck13", column=@Column(name="RUECK13", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche14", column=@Column(name="MASCHE14", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck14", column=@Column(name="RUECK14", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche15", column=@Column(name="MASCHE15", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck15", column=@Column(name="RUECK15", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche16", column=@Column(name="MASCHE16", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck16", column=@Column(name="RUECK16", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche17", column=@Column(name="MASCHE17", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck17", column=@Column(name="RUECK17", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche18", column=@Column(name="MASCHE18", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck18", column=@Column(name="RUECK18", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche19", column=@Column(name="MASCHE19", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck19", column=@Column(name="RUECK19", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche20", column=@Column(name="MASCHE20", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck20", column=@Column(name="RUECK20", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche21", column=@Column(name="MASCHE21", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck21", column=@Column(name="RUECK21", precision=9, scale=3) ), 
+        @AttributeOverride(name="rest", column=@Column(name="REST", precision=9, scale=3) ) } )
+    public GsiebungsiebId getId() {
+        return this.id;
+    }
+    
+    public void setId(GsiebungsiebId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/GsiebungsiebId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,687 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * GsiebungsiebId generated by hbm2java
+ */
+@Embeddable
+public class GsiebungsiebId  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+     private long gsiebsatzid;
+     private BigDecimal gmasse;
+     private BigDecimal masche01;
+     private BigDecimal rueck01;
+     private BigDecimal masche02;
+     private BigDecimal rueck02;
+     private BigDecimal masche03;
+     private BigDecimal rueck03;
+     private BigDecimal masche04;
+     private BigDecimal rueck04;
+     private BigDecimal masche05;
+     private BigDecimal rueck05;
+     private BigDecimal masche06;
+     private BigDecimal rueck06;
+     private BigDecimal masche07;
+     private BigDecimal rueck07;
+     private BigDecimal masche08;
+     private BigDecimal rueck08;
+     private BigDecimal masche09;
+     private BigDecimal rueck09;
+     private BigDecimal masche10;
+     private BigDecimal rueck10;
+     private BigDecimal masche11;
+     private BigDecimal rueck11;
+     private BigDecimal masche12;
+     private BigDecimal rueck12;
+     private BigDecimal masche13;
+     private BigDecimal rueck13;
+     private BigDecimal masche14;
+     private BigDecimal rueck14;
+     private BigDecimal masche15;
+     private BigDecimal rueck15;
+     private BigDecimal masche16;
+     private BigDecimal rueck16;
+     private BigDecimal masche17;
+     private BigDecimal rueck17;
+     private BigDecimal masche18;
+     private BigDecimal rueck18;
+     private BigDecimal masche19;
+     private BigDecimal rueck19;
+     private BigDecimal masche20;
+     private BigDecimal rueck20;
+     private BigDecimal masche21;
+     private BigDecimal rueck21;
+     private BigDecimal rest;
+
+    public GsiebungsiebId() {
+    }
+
+    
+    public GsiebungsiebId(long glotrechteid, long gsiebsatzid) {
+        this.glotrechteid = glotrechteid;
+        this.gsiebsatzid = gsiebsatzid;
+    }
+    public GsiebungsiebId(long glotrechteid, long gsiebsatzid, BigDecimal gmasse, BigDecimal masche01, BigDecimal rueck01, BigDecimal masche02, BigDecimal rueck02, BigDecimal masche03, BigDecimal rueck03, BigDecimal masche04, BigDecimal rueck04, BigDecimal masche05, BigDecimal rueck05, BigDecimal masche06, BigDecimal rueck06, BigDecimal masche07, BigDecimal rueck07, BigDecimal masche08, BigDecimal rueck08, BigDecimal masche09, BigDecimal rueck09, BigDecimal masche10, BigDecimal rueck10, BigDecimal masche11, BigDecimal rueck11, BigDecimal masche12, BigDecimal rueck12, BigDecimal masche13, BigDecimal rueck13, BigDecimal masche14, BigDecimal rueck14, BigDecimal masche15, BigDecimal rueck15, BigDecimal masche16, BigDecimal rueck16, BigDecimal masche17, BigDecimal rueck17, BigDecimal masche18, BigDecimal rueck18, BigDecimal masche19, BigDecimal rueck19, BigDecimal masche20, BigDecimal rueck20, BigDecimal masche21, BigDecimal rueck21, BigDecimal rest) {
+       this.glotrechteid = glotrechteid;
+       this.gsiebsatzid = gsiebsatzid;
+       this.gmasse = gmasse;
+       this.masche01 = masche01;
+       this.rueck01 = rueck01;
+       this.masche02 = masche02;
+       this.rueck02 = rueck02;
+       this.masche03 = masche03;
+       this.rueck03 = rueck03;
+       this.masche04 = masche04;
+       this.rueck04 = rueck04;
+       this.masche05 = masche05;
+       this.rueck05 = rueck05;
+       this.masche06 = masche06;
+       this.rueck06 = rueck06;
+       this.masche07 = masche07;
+       this.rueck07 = rueck07;
+       this.masche08 = masche08;
+       this.rueck08 = rueck08;
+       this.masche09 = masche09;
+       this.rueck09 = rueck09;
+       this.masche10 = masche10;
+       this.rueck10 = rueck10;
+       this.masche11 = masche11;
+       this.rueck11 = rueck11;
+       this.masche12 = masche12;
+       this.rueck12 = rueck12;
+       this.masche13 = masche13;
+       this.rueck13 = rueck13;
+       this.masche14 = masche14;
+       this.rueck14 = rueck14;
+       this.masche15 = masche15;
+       this.rueck15 = rueck15;
+       this.masche16 = masche16;
+       this.rueck16 = rueck16;
+       this.masche17 = masche17;
+       this.rueck17 = rueck17;
+       this.masche18 = masche18;
+       this.rueck18 = rueck18;
+       this.masche19 = masche19;
+       this.rueck19 = rueck19;
+       this.masche20 = masche20;
+       this.rueck20 = rueck20;
+       this.masche21 = masche21;
+       this.rueck21 = rueck21;
+       this.rest = rest;
+    }
+   
+
+
+    @Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+
+
+    @Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0)
+    public long getGsiebsatzid() {
+        return this.gsiebsatzid;
+    }
+    
+    public void setGsiebsatzid(long gsiebsatzid) {
+        this.gsiebsatzid = gsiebsatzid;
+    }
+
+
+    @Column(name="GMASSE", precision=9, scale=3)
+    public BigDecimal getGmasse() {
+        return this.gmasse;
+    }
+    
+    public void setGmasse(BigDecimal gmasse) {
+        this.gmasse = gmasse;
+    }
+
+
+    @Column(name="MASCHE01", precision=7, scale=4)
+    public BigDecimal getMasche01() {
+        return this.masche01;
+    }
+    
+    public void setMasche01(BigDecimal masche01) {
+        this.masche01 = masche01;
+    }
+
+
+    @Column(name="RUECK01", precision=9, scale=3)
+    public BigDecimal getRueck01() {
+        return this.rueck01;
+    }
+    
+    public void setRueck01(BigDecimal rueck01) {
+        this.rueck01 = rueck01;
+    }
+
+
+    @Column(name="MASCHE02", precision=7, scale=4)
+    public BigDecimal getMasche02() {
+        return this.masche02;
+    }
+    
+    public void setMasche02(BigDecimal masche02) {
+        this.masche02 = masche02;
+    }
+
+
+    @Column(name="RUECK02", precision=9, scale=3)
+    public BigDecimal getRueck02() {
+        return this.rueck02;
+    }
+    
+    public void setRueck02(BigDecimal rueck02) {
+        this.rueck02 = rueck02;
+    }
+
+
+    @Column(name="MASCHE03", precision=7, scale=4)
+    public BigDecimal getMasche03() {
+        return this.masche03;
+    }
+    
+    public void setMasche03(BigDecimal masche03) {
+        this.masche03 = masche03;
+    }
+
+
+    @Column(name="RUECK03", precision=9, scale=3)
+    public BigDecimal getRueck03() {
+        return this.rueck03;
+    }
+    
+    public void setRueck03(BigDecimal rueck03) {
+        this.rueck03 = rueck03;
+    }
+
+
+    @Column(name="MASCHE04", precision=7, scale=4)
+    public BigDecimal getMasche04() {
+        return this.masche04;
+    }
+    
+    public void setMasche04(BigDecimal masche04) {
+        this.masche04 = masche04;
+    }
+
+
+    @Column(name="RUECK04", precision=9, scale=3)
+    public BigDecimal getRueck04() {
+        return this.rueck04;
+    }
+    
+    public void setRueck04(BigDecimal rueck04) {
+        this.rueck04 = rueck04;
+    }
+
+
+    @Column(name="MASCHE05", precision=7, scale=4)
+    public BigDecimal getMasche05() {
+        return this.masche05;
+    }
+    
+    public void setMasche05(BigDecimal masche05) {
+        this.masche05 = masche05;
+    }
+
+
+    @Column(name="RUECK05", precision=9, scale=3)
+    public BigDecimal getRueck05() {
+        return this.rueck05;
+    }
+    
+    public void setRueck05(BigDecimal rueck05) {
+        this.rueck05 = rueck05;
+    }
+
+
+    @Column(name="MASCHE06", precision=7, scale=4)
+    public BigDecimal getMasche06() {
+        return this.masche06;
+    }
+    
+    public void setMasche06(BigDecimal masche06) {
+        this.masche06 = masche06;
+    }
+
+
+    @Column(name="RUECK06", precision=9, scale=3)
+    public BigDecimal getRueck06() {
+        return this.rueck06;
+    }
+    
+    public void setRueck06(BigDecimal rueck06) {
+        this.rueck06 = rueck06;
+    }
+
+
+    @Column(name="MASCHE07", precision=7, scale=4)
+    public BigDecimal getMasche07() {
+        return this.masche07;
+    }
+    
+    public void setMasche07(BigDecimal masche07) {
+        this.masche07 = masche07;
+    }
+
+
+    @Column(name="RUECK07", precision=9, scale=3)
+    public BigDecimal getRueck07() {
+        return this.rueck07;
+    }
+    
+    public void setRueck07(BigDecimal rueck07) {
+        this.rueck07 = rueck07;
+    }
+
+
+    @Column(name="MASCHE08", precision=7, scale=4)
+    public BigDecimal getMasche08() {
+        return this.masche08;
+    }
+    
+    public void setMasche08(BigDecimal masche08) {
+        this.masche08 = masche08;
+    }
+
+
+    @Column(name="RUECK08", precision=9, scale=3)
+    public BigDecimal getRueck08() {
+        return this.rueck08;
+    }
+    
+    public void setRueck08(BigDecimal rueck08) {
+        this.rueck08 = rueck08;
+    }
+
+
+    @Column(name="MASCHE09", precision=7, scale=4)
+    public BigDecimal getMasche09() {
+        return this.masche09;
+    }
+    
+    public void setMasche09(BigDecimal masche09) {
+        this.masche09 = masche09;
+    }
+
+
+    @Column(name="RUECK09", precision=9, scale=3)
+    public BigDecimal getRueck09() {
+        return this.rueck09;
+    }
+    
+    public void setRueck09(BigDecimal rueck09) {
+        this.rueck09 = rueck09;
+    }
+
+
+    @Column(name="MASCHE10", precision=7, scale=4)
+    public BigDecimal getMasche10() {
+        return this.masche10;
+    }
+    
+    public void setMasche10(BigDecimal masche10) {
+        this.masche10 = masche10;
+    }
+
+
+    @Column(name="RUECK10", precision=9, scale=3)
+    public BigDecimal getRueck10() {
+        return this.rueck10;
+    }
+    
+    public void setRueck10(BigDecimal rueck10) {
+        this.rueck10 = rueck10;
+    }
+
+
+    @Column(name="MASCHE11", precision=7, scale=4)
+    public BigDecimal getMasche11() {
+        return this.masche11;
+    }
+    
+    public void setMasche11(BigDecimal masche11) {
+        this.masche11 = masche11;
+    }
+
+
+    @Column(name="RUECK11", precision=9, scale=3)
+    public BigDecimal getRueck11() {
+        return this.rueck11;
+    }
+    
+    public void setRueck11(BigDecimal rueck11) {
+        this.rueck11 = rueck11;
+    }
+
+
+    @Column(name="MASCHE12", precision=7, scale=4)
+    public BigDecimal getMasche12() {
+        return this.masche12;
+    }
+    
+    public void setMasche12(BigDecimal masche12) {
+        this.masche12 = masche12;
+    }
+
+
+    @Column(name="RUECK12", precision=9, scale=3)
+    public BigDecimal getRueck12() {
+        return this.rueck12;
+    }
+    
+    public void setRueck12(BigDecimal rueck12) {
+        this.rueck12 = rueck12;
+    }
+
+
+    @Column(name="MASCHE13", precision=7, scale=4)
+    public BigDecimal getMasche13() {
+        return this.masche13;
+    }
+    
+    public void setMasche13(BigDecimal masche13) {
+        this.masche13 = masche13;
+    }
+
+
+    @Column(name="RUECK13", precision=9, scale=3)
+    public BigDecimal getRueck13() {
+        return this.rueck13;
+    }
+    
+    public void setRueck13(BigDecimal rueck13) {
+        this.rueck13 = rueck13;
+    }
+
+
+    @Column(name="MASCHE14", precision=7, scale=4)
+    public BigDecimal getMasche14() {
+        return this.masche14;
+    }
+    
+    public void setMasche14(BigDecimal masche14) {
+        this.masche14 = masche14;
+    }
+
+
+    @Column(name="RUECK14", precision=9, scale=3)
+    public BigDecimal getRueck14() {
+        return this.rueck14;
+    }
+    
+    public void setRueck14(BigDecimal rueck14) {
+        this.rueck14 = rueck14;
+    }
+
+
+    @Column(name="MASCHE15", precision=7, scale=4)
+    public BigDecimal getMasche15() {
+        return this.masche15;
+    }
+    
+    public void setMasche15(BigDecimal masche15) {
+        this.masche15 = masche15;
+    }
+
+
+    @Column(name="RUECK15", precision=9, scale=3)
+    public BigDecimal getRueck15() {
+        return this.rueck15;
+    }
+    
+    public void setRueck15(BigDecimal rueck15) {
+        this.rueck15 = rueck15;
+    }
+
+
+    @Column(name="MASCHE16", precision=7, scale=4)
+    public BigDecimal getMasche16() {
+        return this.masche16;
+    }
+    
+    public void setMasche16(BigDecimal masche16) {
+        this.masche16 = masche16;
+    }
+
+
+    @Column(name="RUECK16", precision=9, scale=3)
+    public BigDecimal getRueck16() {
+        return this.rueck16;
+    }
+    
+    public void setRueck16(BigDecimal rueck16) {
+        this.rueck16 = rueck16;
+    }
+
+
+    @Column(name="MASCHE17", precision=7, scale=4)
+    public BigDecimal getMasche17() {
+        return this.masche17;
+    }
+    
+    public void setMasche17(BigDecimal masche17) {
+        this.masche17 = masche17;
+    }
+
+
+    @Column(name="RUECK17", precision=9, scale=3)
+    public BigDecimal getRueck17() {
+        return this.rueck17;
+    }
+    
+    public void setRueck17(BigDecimal rueck17) {
+        this.rueck17 = rueck17;
+    }
+
+
+    @Column(name="MASCHE18", precision=7, scale=4)
+    public BigDecimal getMasche18() {
+        return this.masche18;
+    }
+    
+    public void setMasche18(BigDecimal masche18) {
+        this.masche18 = masche18;
+    }
+
+
+    @Column(name="RUECK18", precision=9, scale=3)
+    public BigDecimal getRueck18() {
+        return this.rueck18;
+    }
+    
+    public void setRueck18(BigDecimal rueck18) {
+        this.rueck18 = rueck18;
+    }
+
+
+    @Column(name="MASCHE19", precision=7, scale=4)
+    public BigDecimal getMasche19() {
+        return this.masche19;
+    }
+    
+    public void setMasche19(BigDecimal masche19) {
+        this.masche19 = masche19;
+    }
+
+
+    @Column(name="RUECK19", precision=9, scale=3)
+    public BigDecimal getRueck19() {
+        return this.rueck19;
+    }
+    
+    public void setRueck19(BigDecimal rueck19) {
+        this.rueck19 = rueck19;
+    }
+
+
+    @Column(name="MASCHE20", precision=7, scale=4)
+    public BigDecimal getMasche20() {
+        return this.masche20;
+    }
+    
+    public void setMasche20(BigDecimal masche20) {
+        this.masche20 = masche20;
+    }
+
+
+    @Column(name="RUECK20", precision=9, scale=3)
+    public BigDecimal getRueck20() {
+        return this.rueck20;
+    }
+    
+    public void setRueck20(BigDecimal rueck20) {
+        this.rueck20 = rueck20;
+    }
+
+
+    @Column(name="MASCHE21", precision=7, scale=4)
+    public BigDecimal getMasche21() {
+        return this.masche21;
+    }
+    
+    public void setMasche21(BigDecimal masche21) {
+        this.masche21 = masche21;
+    }
+
+
+    @Column(name="RUECK21", precision=9, scale=3)
+    public BigDecimal getRueck21() {
+        return this.rueck21;
+    }
+    
+    public void setRueck21(BigDecimal rueck21) {
+        this.rueck21 = rueck21;
+    }
+
+
+    @Column(name="REST", precision=9, scale=3)
+    public BigDecimal getRest() {
+        return this.rest;
+    }
+    
+    public void setRest(BigDecimal rest) {
+        this.rest = rest;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof GsiebungsiebId) ) return false;
+         GsiebungsiebId castOther = ( GsiebungsiebId ) other; 
+         
+         return (this.getGlotrechteid()==castOther.getGlotrechteid())
+ && (this.getGsiebsatzid()==castOther.getGsiebsatzid())
+ && ( (this.getGmasse()==castOther.getGmasse()) || ( this.getGmasse()!=null && castOther.getGmasse()!=null && this.getGmasse().equals(castOther.getGmasse()) ) )
+ && ( (this.getMasche01()==castOther.getMasche01()) || ( this.getMasche01()!=null && castOther.getMasche01()!=null && this.getMasche01().equals(castOther.getMasche01()) ) )
+ && ( (this.getRueck01()==castOther.getRueck01()) || ( this.getRueck01()!=null && castOther.getRueck01()!=null && this.getRueck01().equals(castOther.getRueck01()) ) )
+ && ( (this.getMasche02()==castOther.getMasche02()) || ( this.getMasche02()!=null && castOther.getMasche02()!=null && this.getMasche02().equals(castOther.getMasche02()) ) )
+ && ( (this.getRueck02()==castOther.getRueck02()) || ( this.getRueck02()!=null && castOther.getRueck02()!=null && this.getRueck02().equals(castOther.getRueck02()) ) )
+ && ( (this.getMasche03()==castOther.getMasche03()) || ( this.getMasche03()!=null && castOther.getMasche03()!=null && this.getMasche03().equals(castOther.getMasche03()) ) )
+ && ( (this.getRueck03()==castOther.getRueck03()) || ( this.getRueck03()!=null && castOther.getRueck03()!=null && this.getRueck03().equals(castOther.getRueck03()) ) )
+ && ( (this.getMasche04()==castOther.getMasche04()) || ( this.getMasche04()!=null && castOther.getMasche04()!=null && this.getMasche04().equals(castOther.getMasche04()) ) )
+ && ( (this.getRueck04()==castOther.getRueck04()) || ( this.getRueck04()!=null && castOther.getRueck04()!=null && this.getRueck04().equals(castOther.getRueck04()) ) )
+ && ( (this.getMasche05()==castOther.getMasche05()) || ( this.getMasche05()!=null && castOther.getMasche05()!=null && this.getMasche05().equals(castOther.getMasche05()) ) )
+ && ( (this.getRueck05()==castOther.getRueck05()) || ( this.getRueck05()!=null && castOther.getRueck05()!=null && this.getRueck05().equals(castOther.getRueck05()) ) )
+ && ( (this.getMasche06()==castOther.getMasche06()) || ( this.getMasche06()!=null && castOther.getMasche06()!=null && this.getMasche06().equals(castOther.getMasche06()) ) )
+ && ( (this.getRueck06()==castOther.getRueck06()) || ( this.getRueck06()!=null && castOther.getRueck06()!=null && this.getRueck06().equals(castOther.getRueck06()) ) )
+ && ( (this.getMasche07()==castOther.getMasche07()) || ( this.getMasche07()!=null && castOther.getMasche07()!=null && this.getMasche07().equals(castOther.getMasche07()) ) )
+ && ( (this.getRueck07()==castOther.getRueck07()) || ( this.getRueck07()!=null && castOther.getRueck07()!=null && this.getRueck07().equals(castOther.getRueck07()) ) )
+ && ( (this.getMasche08()==castOther.getMasche08()) || ( this.getMasche08()!=null && castOther.getMasche08()!=null && this.getMasche08().equals(castOther.getMasche08()) ) )
+ && ( (this.getRueck08()==castOther.getRueck08()) || ( this.getRueck08()!=null && castOther.getRueck08()!=null && this.getRueck08().equals(castOther.getRueck08()) ) )
+ && ( (this.getMasche09()==castOther.getMasche09()) || ( this.getMasche09()!=null && castOther.getMasche09()!=null && this.getMasche09().equals(castOther.getMasche09()) ) )
+ && ( (this.getRueck09()==castOther.getRueck09()) || ( this.getRueck09()!=null && castOther.getRueck09()!=null && this.getRueck09().equals(castOther.getRueck09()) ) )
+ && ( (this.getMasche10()==castOther.getMasche10()) || ( this.getMasche10()!=null && castOther.getMasche10()!=null && this.getMasche10().equals(castOther.getMasche10()) ) )
+ && ( (this.getRueck10()==castOther.getRueck10()) || ( this.getRueck10()!=null && castOther.getRueck10()!=null && this.getRueck10().equals(castOther.getRueck10()) ) )
+ && ( (this.getMasche11()==castOther.getMasche11()) || ( this.getMasche11()!=null && castOther.getMasche11()!=null && this.getMasche11().equals(castOther.getMasche11()) ) )
+ && ( (this.getRueck11()==castOther.getRueck11()) || ( this.getRueck11()!=null && castOther.getRueck11()!=null && this.getRueck11().equals(castOther.getRueck11()) ) )
+ && ( (this.getMasche12()==castOther.getMasche12()) || ( this.getMasche12()!=null && castOther.getMasche12()!=null && this.getMasche12().equals(castOther.getMasche12()) ) )
+ && ( (this.getRueck12()==castOther.getRueck12()) || ( this.getRueck12()!=null && castOther.getRueck12()!=null && this.getRueck12().equals(castOther.getRueck12()) ) )
+ && ( (this.getMasche13()==castOther.getMasche13()) || ( this.getMasche13()!=null && castOther.getMasche13()!=null && this.getMasche13().equals(castOther.getMasche13()) ) )
+ && ( (this.getRueck13()==castOther.getRueck13()) || ( this.getRueck13()!=null && castOther.getRueck13()!=null && this.getRueck13().equals(castOther.getRueck13()) ) )
+ && ( (this.getMasche14()==castOther.getMasche14()) || ( this.getMasche14()!=null && castOther.getMasche14()!=null && this.getMasche14().equals(castOther.getMasche14()) ) )
+ && ( (this.getRueck14()==castOther.getRueck14()) || ( this.getRueck14()!=null && castOther.getRueck14()!=null && this.getRueck14().equals(castOther.getRueck14()) ) )
+ && ( (this.getMasche15()==castOther.getMasche15()) || ( this.getMasche15()!=null && castOther.getMasche15()!=null && this.getMasche15().equals(castOther.getMasche15()) ) )
+ && ( (this.getRueck15()==castOther.getRueck15()) || ( this.getRueck15()!=null && castOther.getRueck15()!=null && this.getRueck15().equals(castOther.getRueck15()) ) )
+ && ( (this.getMasche16()==castOther.getMasche16()) || ( this.getMasche16()!=null && castOther.getMasche16()!=null && this.getMasche16().equals(castOther.getMasche16()) ) )
+ && ( (this.getRueck16()==castOther.getRueck16()) || ( this.getRueck16()!=null && castOther.getRueck16()!=null && this.getRueck16().equals(castOther.getRueck16()) ) )
+ && ( (this.getMasche17()==castOther.getMasche17()) || ( this.getMasche17()!=null && castOther.getMasche17()!=null && this.getMasche17().equals(castOther.getMasche17()) ) )
+ && ( (this.getRueck17()==castOther.getRueck17()) || ( this.getRueck17()!=null && castOther.getRueck17()!=null && this.getRueck17().equals(castOther.getRueck17()) ) )
+ && ( (this.getMasche18()==castOther.getMasche18()) || ( this.getMasche18()!=null && castOther.getMasche18()!=null && this.getMasche18().equals(castOther.getMasche18()) ) )
+ && ( (this.getRueck18()==castOther.getRueck18()) || ( this.getRueck18()!=null && castOther.getRueck18()!=null && this.getRueck18().equals(castOther.getRueck18()) ) )
+ && ( (this.getMasche19()==castOther.getMasche19()) || ( this.getMasche19()!=null && castOther.getMasche19()!=null && this.getMasche19().equals(castOther.getMasche19()) ) )
+ && ( (this.getRueck19()==castOther.getRueck19()) || ( this.getRueck19()!=null && castOther.getRueck19()!=null && this.getRueck19().equals(castOther.getRueck19()) ) )
+ && ( (this.getMasche20()==castOther.getMasche20()) || ( this.getMasche20()!=null && castOther.getMasche20()!=null && this.getMasche20().equals(castOther.getMasche20()) ) )
+ && ( (this.getRueck20()==castOther.getRueck20()) || ( this.getRueck20()!=null && castOther.getRueck20()!=null && this.getRueck20().equals(castOther.getRueck20()) ) )
+ && ( (this.getMasche21()==castOther.getMasche21()) || ( this.getMasche21()!=null && castOther.getMasche21()!=null && this.getMasche21().equals(castOther.getMasche21()) ) )
+ && ( (this.getRueck21()==castOther.getRueck21()) || ( this.getRueck21()!=null && castOther.getRueck21()!=null && this.getRueck21().equals(castOther.getRueck21()) ) )
+ && ( (this.getRest()==castOther.getRest()) || ( this.getRest()!=null && castOther.getRest()!=null && this.getRest().equals(castOther.getRest()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getGlotrechteid();
+         result = 37 * result + (int) this.getGsiebsatzid();
+         result = 37 * result + ( getGmasse() == null ? 0 : this.getGmasse().hashCode() );
+         result = 37 * result + ( getMasche01() == null ? 0 : this.getMasche01().hashCode() );
+         result = 37 * result + ( getRueck01() == null ? 0 : this.getRueck01().hashCode() );
+         result = 37 * result + ( getMasche02() == null ? 0 : this.getMasche02().hashCode() );
+         result = 37 * result + ( getRueck02() == null ? 0 : this.getRueck02().hashCode() );
+         result = 37 * result + ( getMasche03() == null ? 0 : this.getMasche03().hashCode() );
+         result = 37 * result + ( getRueck03() == null ? 0 : this.getRueck03().hashCode() );
+         result = 37 * result + ( getMasche04() == null ? 0 : this.getMasche04().hashCode() );
+         result = 37 * result + ( getRueck04() == null ? 0 : this.getRueck04().hashCode() );
+         result = 37 * result + ( getMasche05() == null ? 0 : this.getMasche05().hashCode() );
+         result = 37 * result + ( getRueck05() == null ? 0 : this.getRueck05().hashCode() );
+         result = 37 * result + ( getMasche06() == null ? 0 : this.getMasche06().hashCode() );
+         result = 37 * result + ( getRueck06() == null ? 0 : this.getRueck06().hashCode() );
+         result = 37 * result + ( getMasche07() == null ? 0 : this.getMasche07().hashCode() );
+         result = 37 * result + ( getRueck07() == null ? 0 : this.getRueck07().hashCode() );
+         result = 37 * result + ( getMasche08() == null ? 0 : this.getMasche08().hashCode() );
+         result = 37 * result + ( getRueck08() == null ? 0 : this.getRueck08().hashCode() );
+         result = 37 * result + ( getMasche09() == null ? 0 : this.getMasche09().hashCode() );
+         result = 37 * result + ( getRueck09() == null ? 0 : this.getRueck09().hashCode() );
+         result = 37 * result + ( getMasche10() == null ? 0 : this.getMasche10().hashCode() );
+         result = 37 * result + ( getRueck10() == null ? 0 : this.getRueck10().hashCode() );
+         result = 37 * result + ( getMasche11() == null ? 0 : this.getMasche11().hashCode() );
+         result = 37 * result + ( getRueck11() == null ? 0 : this.getRueck11().hashCode() );
+         result = 37 * result + ( getMasche12() == null ? 0 : this.getMasche12().hashCode() );
+         result = 37 * result + ( getRueck12() == null ? 0 : this.getRueck12().hashCode() );
+         result = 37 * result + ( getMasche13() == null ? 0 : this.getMasche13().hashCode() );
+         result = 37 * result + ( getRueck13() == null ? 0 : this.getRueck13().hashCode() );
+         result = 37 * result + ( getMasche14() == null ? 0 : this.getMasche14().hashCode() );
+         result = 37 * result + ( getRueck14() == null ? 0 : this.getRueck14().hashCode() );
+         result = 37 * result + ( getMasche15() == null ? 0 : this.getMasche15().hashCode() );
+         result = 37 * result + ( getRueck15() == null ? 0 : this.getRueck15().hashCode() );
+         result = 37 * result + ( getMasche16() == null ? 0 : this.getMasche16().hashCode() );
+         result = 37 * result + ( getRueck16() == null ? 0 : this.getRueck16().hashCode() );
+         result = 37 * result + ( getMasche17() == null ? 0 : this.getMasche17().hashCode() );
+         result = 37 * result + ( getRueck17() == null ? 0 : this.getRueck17().hashCode() );
+         result = 37 * result + ( getMasche18() == null ? 0 : this.getMasche18().hashCode() );
+         result = 37 * result + ( getRueck18() == null ? 0 : this.getRueck18().hashCode() );
+         result = 37 * result + ( getMasche19() == null ? 0 : this.getMasche19().hashCode() );
+         result = 37 * result + ( getRueck19() == null ? 0 : this.getRueck19().hashCode() );
+         result = 37 * result + ( getMasche20() == null ? 0 : this.getMasche20().hashCode() );
+         result = 37 * result + ( getRueck20() == null ? 0 : this.getRueck20().hashCode() );
+         result = 37 * result + ( getMasche21() == null ? 0 : this.getMasche21().hashCode() );
+         result = 37 * result + ( getRueck21() == null ? 0 : this.getRueck21().hashCode() );
+         result = 37 * result + ( getRest() == null ? 0 : this.getRest().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Hpeilpunkt.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,84 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Hpeilpunkt generated by hbm2java
+ */
+@Entity
+@Table(name="HPEILPUNKT"
+    ,schema="SEDDB"
+)
+public class Hpeilpunkt  implements java.io.Serializable {
+
+
+     private HpeilpunktId id;
+     private Hpeilung hpeilung;
+     private BigDecimal y;
+     private BigDecimal z;
+
+    public Hpeilpunkt() {
+    }
+
+    public Hpeilpunkt(HpeilpunktId id, Hpeilung hpeilung, BigDecimal y, BigDecimal z) {
+       this.id = id;
+       this.hpeilung = hpeilung;
+       this.y = y;
+       this.z = z;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="hpeilungid", column=@Column(name="HPEILUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="punktnr", column=@Column(name="PUNKTNR", nullable=false, precision=5, scale=0) ) } )
+    public HpeilpunktId getId() {
+        return this.id;
+    }
+    
+    public void setId(HpeilpunktId id) {
+        this.id = id;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="HPEILUNGID", nullable=false, insertable=false, updatable=false)
+    public Hpeilung getHpeilung() {
+        return this.hpeilung;
+    }
+    
+    public void setHpeilung(Hpeilung hpeilung) {
+        this.hpeilung = hpeilung;
+    }
+
+    
+    @Column(name="Y", nullable=false, precision=8, scale=3)
+    public BigDecimal getY() {
+        return this.y;
+    }
+    
+    public void setY(BigDecimal y) {
+        this.y = y;
+    }
+
+    
+    @Column(name="Z", nullable=false, precision=8, scale=3)
+    public BigDecimal getZ() {
+        return this.z;
+    }
+    
+    public void setZ(BigDecimal z) {
+        this.z = z;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/HpeilpunktId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,65 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * HpeilpunktId generated by hbm2java
+ */
+@Embeddable
+public class HpeilpunktId  implements java.io.Serializable {
+
+
+     private long hpeilungid;
+     private int punktnr;
+
+    public HpeilpunktId() {
+    }
+
+    public HpeilpunktId(long hpeilungid, int punktnr) {
+       this.hpeilungid = hpeilungid;
+       this.punktnr = punktnr;
+    }
+   
+
+
+    @Column(name="HPEILUNGID", nullable=false, precision=11, scale=0)
+    public long getHpeilungid() {
+        return this.hpeilungid;
+    }
+    
+    public void setHpeilungid(long hpeilungid) {
+        this.hpeilungid = hpeilungid;
+    }
+
+
+    @Column(name="PUNKTNR", nullable=false, precision=5, scale=0)
+    public int getPunktnr() {
+        return this.punktnr;
+    }
+    
+    public void setPunktnr(int punktnr) {
+        this.punktnr = punktnr;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof HpeilpunktId) ) return false;
+         HpeilpunktId castOther = ( HpeilpunktId ) other; 
+         
+         return (this.getHpeilungid()==castOther.getHpeilungid())
+ && (this.getPunktnr()==castOther.getPunktnr());
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getHpeilungid();
+         result = 37 * result + this.getPunktnr();
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Hpeilung.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,463 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+
+/**
+ * Hpeilung generated by hbm2java
+ */
+@Entity
+@Table(name="HPEILUNG"
+    ,schema="SEDDB"
+)
+public class Hpeilung  implements java.io.Serializable {
+
+
+     private long hpeilungid;
+     private Station station;
+     private BigDecimal km;
+     private Date datum;
+     private String glwname;
+     private BigDecimal glwhoehe;
+     private BigDecimal buliabst;
+     private BigDecimal bulihoehe;
+     private BigDecimal bulifuss;
+     private BigDecimal buliruecken;
+     private BigDecimal bureabst;
+     private BigDecimal burehoehe;
+     private BigDecimal burefuss;
+     private BigDecimal bureruecken;
+     private BigDecimal fahrliabst;
+     private BigDecimal fahrreabst;
+     private BigDecimal fahrtief;
+     private BigDecimal ausbliabst;
+     private BigDecimal ausbreabst;
+     private BigDecimal achseabst;
+     private BigDecimal teilvonabst;
+     private BigDecimal teilbisabst;
+     private BigDecimal hmabst;
+     private BigDecimal lgkrechts;
+     private BigDecimal lgkhoch;
+     private BigDecimal lgkhoehe;
+     private BigDecimal rgkrechts;
+     private BigDecimal rgkhoch;
+     private BigDecimal rgkhoehe;
+     private String bemerkung;
+     private Date lastupdated;
+     private Long oldprfid;
+     private BigDecimal mitteabst;
+     private Set<Hpeilpunkt> hpeilpunkts = new HashSet<Hpeilpunkt>(0);
+     private Set<Messung> messungs = new HashSet<Messung>(0);
+
+    public Hpeilung() {
+    }
+
+    public Hpeilung(long hpeilungid, Station station, BigDecimal km, Date datum, Date lastupdated) {
+        this.hpeilungid = hpeilungid;
+        this.station = station;
+        this.km = km;
+        this.datum = datum;
+        this.lastupdated = lastupdated;
+    }
+    public Hpeilung(long hpeilungid, Station station, BigDecimal km, Date datum, String glwname, BigDecimal glwhoehe, BigDecimal buliabst, BigDecimal bulihoehe, BigDecimal bulifuss, BigDecimal buliruecken, BigDecimal bureabst, BigDecimal burehoehe, BigDecimal burefuss, BigDecimal bureruecken, BigDecimal fahrliabst, BigDecimal fahrreabst, BigDecimal fahrtief, BigDecimal ausbliabst, BigDecimal ausbreabst, BigDecimal achseabst, BigDecimal teilvonabst, BigDecimal teilbisabst, BigDecimal hmabst, BigDecimal lgkrechts, BigDecimal lgkhoch, BigDecimal lgkhoehe, BigDecimal rgkrechts, BigDecimal rgkhoch, BigDecimal rgkhoehe, String bemerkung, Date lastupdated, Long oldprfid, BigDecimal mitteabst, Set<Hpeilpunkt> hpeilpunkts, Set<Messung> messungs) {
+       this.hpeilungid = hpeilungid;
+       this.station = station;
+       this.km = km;
+       this.datum = datum;
+       this.glwname = glwname;
+       this.glwhoehe = glwhoehe;
+       this.buliabst = buliabst;
+       this.bulihoehe = bulihoehe;
+       this.bulifuss = bulifuss;
+       this.buliruecken = buliruecken;
+       this.bureabst = bureabst;
+       this.burehoehe = burehoehe;
+       this.burefuss = burefuss;
+       this.bureruecken = bureruecken;
+       this.fahrliabst = fahrliabst;
+       this.fahrreabst = fahrreabst;
+       this.fahrtief = fahrtief;
+       this.ausbliabst = ausbliabst;
+       this.ausbreabst = ausbreabst;
+       this.achseabst = achseabst;
+       this.teilvonabst = teilvonabst;
+       this.teilbisabst = teilbisabst;
+       this.hmabst = hmabst;
+       this.lgkrechts = lgkrechts;
+       this.lgkhoch = lgkhoch;
+       this.lgkhoehe = lgkhoehe;
+       this.rgkrechts = rgkrechts;
+       this.rgkhoch = rgkhoch;
+       this.rgkhoehe = rgkhoehe;
+       this.bemerkung = bemerkung;
+       this.lastupdated = lastupdated;
+       this.oldprfid = oldprfid;
+       this.mitteabst = mitteabst;
+       this.hpeilpunkts = hpeilpunkts;
+       this.messungs = messungs;
+    }
+   
+     @Id 
+
+    
+    @Column(name="HPEILUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getHpeilungid() {
+        return this.hpeilungid;
+    }
+    
+    public void setHpeilungid(long hpeilungid) {
+        this.hpeilungid = hpeilungid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="STATIONID", nullable=false)
+    public Station getStation() {
+        return this.station;
+    }
+    
+    public void setStation(Station station) {
+        this.station = station;
+    }
+
+    
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="DATUM", nullable=false, length=7)
+    public Date getDatum() {
+        return this.datum;
+    }
+    
+    public void setDatum(Date datum) {
+        this.datum = datum;
+    }
+
+    
+    @Column(name="GLWNAME", length=8)
+    public String getGlwname() {
+        return this.glwname;
+    }
+    
+    public void setGlwname(String glwname) {
+        this.glwname = glwname;
+    }
+
+    
+    @Column(name="GLWHOEHE", precision=8, scale=3)
+    public BigDecimal getGlwhoehe() {
+        return this.glwhoehe;
+    }
+    
+    public void setGlwhoehe(BigDecimal glwhoehe) {
+        this.glwhoehe = glwhoehe;
+    }
+
+    
+    @Column(name="BULIABST", precision=8, scale=3)
+    public BigDecimal getBuliabst() {
+        return this.buliabst;
+    }
+    
+    public void setBuliabst(BigDecimal buliabst) {
+        this.buliabst = buliabst;
+    }
+
+    
+    @Column(name="BULIHOEHE", precision=8, scale=3)
+    public BigDecimal getBulihoehe() {
+        return this.bulihoehe;
+    }
+    
+    public void setBulihoehe(BigDecimal bulihoehe) {
+        this.bulihoehe = bulihoehe;
+    }
+
+    
+    @Column(name="BULIFUSS", precision=8, scale=3)
+    public BigDecimal getBulifuss() {
+        return this.bulifuss;
+    }
+    
+    public void setBulifuss(BigDecimal bulifuss) {
+        this.bulifuss = bulifuss;
+    }
+
+    
+    @Column(name="BULIRUECKEN", precision=8, scale=3)
+    public BigDecimal getBuliruecken() {
+        return this.buliruecken;
+    }
+    
+    public void setBuliruecken(BigDecimal buliruecken) {
+        this.buliruecken = buliruecken;
+    }
+
+    
+    @Column(name="BUREABST", precision=8, scale=3)
+    public BigDecimal getBureabst() {
+        return this.bureabst;
+    }
+    
+    public void setBureabst(BigDecimal bureabst) {
+        this.bureabst = bureabst;
+    }
+
+    
+    @Column(name="BUREHOEHE", precision=8, scale=3)
+    public BigDecimal getBurehoehe() {
+        return this.burehoehe;
+    }
+    
+    public void setBurehoehe(BigDecimal burehoehe) {
+        this.burehoehe = burehoehe;
+    }
+
+    
+    @Column(name="BUREFUSS", precision=8, scale=3)
+    public BigDecimal getBurefuss() {
+        return this.burefuss;
+    }
+    
+    public void setBurefuss(BigDecimal burefuss) {
+        this.burefuss = burefuss;
+    }
+
+    
+    @Column(name="BURERUECKEN", precision=8, scale=3)
+    public BigDecimal getBureruecken() {
+        return this.bureruecken;
+    }
+    
+    public void setBureruecken(BigDecimal bureruecken) {
+        this.bureruecken = bureruecken;
+    }
+
+    
+    @Column(name="FAHRLIABST", precision=8, scale=3)
+    public BigDecimal getFahrliabst() {
+        return this.fahrliabst;
+    }
+    
+    public void setFahrliabst(BigDecimal fahrliabst) {
+        this.fahrliabst = fahrliabst;
+    }
+
+    
+    @Column(name="FAHRREABST", precision=8, scale=3)
+    public BigDecimal getFahrreabst() {
+        return this.fahrreabst;
+    }
+    
+    public void setFahrreabst(BigDecimal fahrreabst) {
+        this.fahrreabst = fahrreabst;
+    }
+
+    
+    @Column(name="FAHRTIEF", precision=8, scale=3)
+    public BigDecimal getFahrtief() {
+        return this.fahrtief;
+    }
+    
+    public void setFahrtief(BigDecimal fahrtief) {
+        this.fahrtief = fahrtief;
+    }
+
+    
+    @Column(name="AUSBLIABST", precision=8, scale=3)
+    public BigDecimal getAusbliabst() {
+        return this.ausbliabst;
+    }
+    
+    public void setAusbliabst(BigDecimal ausbliabst) {
+        this.ausbliabst = ausbliabst;
+    }
+
+    
+    @Column(name="AUSBREABST", precision=8, scale=3)
+    public BigDecimal getAusbreabst() {
+        return this.ausbreabst;
+    }
+    
+    public void setAusbreabst(BigDecimal ausbreabst) {
+        this.ausbreabst = ausbreabst;
+    }
+
+    
+    @Column(name="ACHSEABST", precision=8, scale=3)
+    public BigDecimal getAchseabst() {
+        return this.achseabst;
+    }
+    
+    public void setAchseabst(BigDecimal achseabst) {
+        this.achseabst = achseabst;
+    }
+
+    
+    @Column(name="TEILVONABST", precision=8, scale=3)
+    public BigDecimal getTeilvonabst() {
+        return this.teilvonabst;
+    }
+    
+    public void setTeilvonabst(BigDecimal teilvonabst) {
+        this.teilvonabst = teilvonabst;
+    }
+
+    
+    @Column(name="TEILBISABST", precision=8, scale=3)
+    public BigDecimal getTeilbisabst() {
+        return this.teilbisabst;
+    }
+    
+    public void setTeilbisabst(BigDecimal teilbisabst) {
+        this.teilbisabst = teilbisabst;
+    }
+
+    
+    @Column(name="HMABST", precision=8, scale=3)
+    public BigDecimal getHmabst() {
+        return this.hmabst;
+    }
+    
+    public void setHmabst(BigDecimal hmabst) {
+        this.hmabst = hmabst;
+    }
+
+    
+    @Column(name="LGKRECHTS", precision=11, scale=3)
+    public BigDecimal getLgkrechts() {
+        return this.lgkrechts;
+    }
+    
+    public void setLgkrechts(BigDecimal lgkrechts) {
+        this.lgkrechts = lgkrechts;
+    }
+
+    
+    @Column(name="LGKHOCH", precision=11, scale=3)
+    public BigDecimal getLgkhoch() {
+        return this.lgkhoch;
+    }
+    
+    public void setLgkhoch(BigDecimal lgkhoch) {
+        this.lgkhoch = lgkhoch;
+    }
+
+    
+    @Column(name="LGKHOEHE", precision=8, scale=3)
+    public BigDecimal getLgkhoehe() {
+        return this.lgkhoehe;
+    }
+    
+    public void setLgkhoehe(BigDecimal lgkhoehe) {
+        this.lgkhoehe = lgkhoehe;
+    }
+
+    
+    @Column(name="RGKRECHTS", precision=11, scale=3)
+    public BigDecimal getRgkrechts() {
+        return this.rgkrechts;
+    }
+    
+    public void setRgkrechts(BigDecimal rgkrechts) {
+        this.rgkrechts = rgkrechts;
+    }
+
+    
+    @Column(name="RGKHOCH", precision=11, scale=3)
+    public BigDecimal getRgkhoch() {
+        return this.rgkhoch;
+    }
+    
+    public void setRgkhoch(BigDecimal rgkhoch) {
+        this.rgkhoch = rgkhoch;
+    }
+
+    
+    @Column(name="RGKHOEHE", precision=8, scale=3)
+    public BigDecimal getRgkhoehe() {
+        return this.rgkhoehe;
+    }
+    
+    public void setRgkhoehe(BigDecimal rgkhoehe) {
+        this.rgkhoehe = rgkhoehe;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="LASTUPDATED", nullable=false, length=7)
+    public Date getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Date lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+    
+    @Column(name="OLDPRFID", precision=11, scale=0)
+    public Long getOldprfid() {
+        return this.oldprfid;
+    }
+    
+    public void setOldprfid(Long oldprfid) {
+        this.oldprfid = oldprfid;
+    }
+
+    
+    @Column(name="MITTEABST", precision=8, scale=3)
+    public BigDecimal getMitteabst() {
+        return this.mitteabst;
+    }
+    
+    public void setMitteabst(BigDecimal mitteabst) {
+        this.mitteabst = mitteabst;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="hpeilung")
+    public Set<Hpeilpunkt> getHpeilpunkts() {
+        return this.hpeilpunkts;
+    }
+    
+    public void setHpeilpunkts(Set<Hpeilpunkt> hpeilpunkts) {
+        this.hpeilpunkts = hpeilpunkts;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="hpeilung")
+    public Set<Messung> getMessungs() {
+        return this.messungs;
+    }
+    
+    public void setMessungs(Set<Messung> messungs) {
+        this.messungs = messungs;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Messung.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,995 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+
+/**
+ * Messung generated by hbm2java
+ */
+@Entity
+@Table(name="MESSUNG"
+    ,schema="SEDDB"
+)
+public class Messung  implements java.io.Serializable {
+
+     private long messungid;
+     private Station station;
+     private Gsiebsatz gsiebsatz;
+     private Gfaenger gfaenger;
+     private Hpeilung hpeilung;
+     private Date datum;
+     private Long mpeilungid;
+     private int messnr;
+     private String fgue;
+     private Date uhrvon;
+     private Date uhrbis;
+     private BigDecimal wspcm;
+     private BigDecimal QBpegel;
+     private BigDecimal wspnn;
+     private BigDecimal ie;
+     private BigDecimal wtemp;
+     private BigDecimal gbreite;
+     private BigDecimal gbreitevon;
+     private BigDecimal gbreitebis;
+     private BigDecimal tgeschiebe;
+     private BigDecimal tsand;
+     private BigDecimal tschweb;
+     private BigDecimal cschweb;
+     private BigDecimal uferliabst;
+     private BigDecimal uferreabst;
+     private BigDecimal q;
+     private BigDecimal AHpeil;
+     private BigDecimal AMpeil;
+     private BigDecimal b;
+     private BigDecimal hm;
+     private BigDecimal vm;
+     private BigDecimal vsohle;
+     private BigDecimal tau;
+     private BigDecimal tauv;
+     private BigDecimal teilQ;
+     private BigDecimal teilAHpeil;
+     private BigDecimal teilAMpeil;
+     private BigDecimal teilB;
+     private BigDecimal teilHm;
+     private BigDecimal teilVm;
+     private BigDecimal teilVsohle;
+     private BigDecimal teilTau;
+     private BigDecimal teilTauv;
+     private Boolean mitteltyp;
+     private BigDecimal dm;
+     private BigDecimal sk;
+     private BigDecimal so;
+     private BigDecimal u;
+     private BigDecimal d90;
+     private BigDecimal d84;
+     private BigDecimal d80;
+     private BigDecimal d75;
+     private BigDecimal d70;
+     private BigDecimal d60;
+     private BigDecimal d50;
+     private BigDecimal d40;
+     private BigDecimal d30;
+     private BigDecimal d25;
+     private BigDecimal d20;
+     private BigDecimal d16;
+     private BigDecimal d10;
+     private BigDecimal dmin;
+     private BigDecimal durchdmin;
+     private BigDecimal dmax;
+     private BigDecimal durchdmax;
+     private int NGeschieb;
+     private int NVielpkt;
+     private Date sysDate;
+     private String bemerkung;
+     private Date lastupdated;
+     private BigDecimal km;
+     private BigDecimal glotabstoffset;
+     private BigDecimal slotabstoffset;
+     private BigDecimal gbreitevonlinks;
+     private BigDecimal gbreitebislinks;
+     private Boolean glotuferabstistvonlinks;
+     private Boolean slotuferabstistvonlinks;
+     private Set<Glotrechte> glotrechtes = new HashSet<Glotrechte>(0);
+     private Set<Slotrechte> slotrechtes = new HashSet<Slotrechte>(0);
+
+    public Messung() {
+    }
+
+	
+    public Messung(long messungid, Station station, Date datum, int messnr, int NGeschieb, int NVielpkt, Date lastupdated, BigDecimal glotabstoffset, BigDecimal slotabstoffset) {
+        this.messungid = messungid;
+        this.station = station;
+        this.datum = datum;
+        this.messnr = messnr;
+        this.NGeschieb = NGeschieb;
+        this.NVielpkt = NVielpkt;
+        this.lastupdated = lastupdated;
+        this.glotabstoffset = glotabstoffset;
+        this.slotabstoffset = slotabstoffset;
+    }
+    public Messung(long messungid, Station station, Gsiebsatz gsiebsatz, Gfaenger gfaenger, Hpeilung hpeilung, Date datum, Long mpeilungid, int messnr, String fgue, Date uhrvon, Date uhrbis, BigDecimal wspcm, BigDecimal QBpegel, BigDecimal wspnn, BigDecimal ie, BigDecimal wtemp, BigDecimal gbreite, BigDecimal gbreitevon, BigDecimal gbreitebis, BigDecimal tgeschiebe, BigDecimal tsand, BigDecimal tschweb, BigDecimal cschweb, BigDecimal uferliabst, BigDecimal uferreabst, BigDecimal q, BigDecimal AHpeil, BigDecimal AMpeil, BigDecimal b, BigDecimal hm, BigDecimal vm, BigDecimal vsohle, BigDecimal tau, BigDecimal tauv, BigDecimal teilQ, BigDecimal teilAHpeil, BigDecimal teilAMpeil, BigDecimal teilB, BigDecimal teilHm, BigDecimal teilVm, BigDecimal teilVsohle, BigDecimal teilTau, BigDecimal teilTauv, Boolean mitteltyp, BigDecimal dm, BigDecimal sk, BigDecimal so, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, int NGeschieb, int NVielpkt, Date sysDate, String bemerkung, Date lastupdated, BigDecimal km, BigDecimal glotabstoffset, BigDecimal slotabstoffset, BigDecimal gbreitevonlinks, BigDecimal gbreitebislinks, Boolean glotuferabstistvonlinks, Boolean slotuferabstistvonlinks, Set<Glotrechte> glotrechtes, Set<Slotrechte> slotrechtes) {
+       this.messungid = messungid;
+       this.station = station;
+       this.gsiebsatz = gsiebsatz;
+       this.gfaenger = gfaenger;
+       this.hpeilung = hpeilung;
+       this.datum = datum;
+       this.mpeilungid = mpeilungid;
+       this.messnr = messnr;
+       this.fgue = fgue;
+       this.uhrvon = uhrvon;
+       this.uhrbis = uhrbis;
+       this.wspcm = wspcm;
+       this.QBpegel = QBpegel;
+       this.wspnn = wspnn;
+       this.ie = ie;
+       this.wtemp = wtemp;
+       this.gbreite = gbreite;
+       this.gbreitevon = gbreitevon;
+       this.gbreitebis = gbreitebis;
+       this.tgeschiebe = tgeschiebe;
+       this.tsand = tsand;
+       this.tschweb = tschweb;
+       this.cschweb = cschweb;
+       this.uferliabst = uferliabst;
+       this.uferreabst = uferreabst;
+       this.q = q;
+       this.AHpeil = AHpeil;
+       this.AMpeil = AMpeil;
+       this.b = b;
+       this.hm = hm;
+       this.vm = vm;
+       this.vsohle = vsohle;
+       this.tau = tau;
+       this.tauv = tauv;
+       this.teilQ = teilQ;
+       this.teilAHpeil = teilAHpeil;
+       this.teilAMpeil = teilAMpeil;
+       this.teilB = teilB;
+       this.teilHm = teilHm;
+       this.teilVm = teilVm;
+       this.teilVsohle = teilVsohle;
+       this.teilTau = teilTau;
+       this.teilTauv = teilTauv;
+       this.mitteltyp = mitteltyp;
+       this.dm = dm;
+       this.sk = sk;
+       this.so = so;
+       this.u = u;
+       this.d90 = d90;
+       this.d84 = d84;
+       this.d80 = d80;
+       this.d75 = d75;
+       this.d70 = d70;
+       this.d60 = d60;
+       this.d50 = d50;
+       this.d40 = d40;
+       this.d30 = d30;
+       this.d25 = d25;
+       this.d20 = d20;
+       this.d16 = d16;
+       this.d10 = d10;
+       this.dmin = dmin;
+       this.durchdmin = durchdmin;
+       this.dmax = dmax;
+       this.durchdmax = durchdmax;
+       this.NGeschieb = NGeschieb;
+       this.NVielpkt = NVielpkt;
+       this.sysDate = sysDate;
+       this.bemerkung = bemerkung;
+       this.lastupdated = lastupdated;
+       this.km = km;
+       this.glotabstoffset = glotabstoffset;
+       this.slotabstoffset = slotabstoffset;
+       this.gbreitevonlinks = gbreitevonlinks;
+       this.gbreitebislinks = gbreitebislinks;
+       this.glotuferabstistvonlinks = glotuferabstistvonlinks;
+       this.slotuferabstistvonlinks = slotuferabstistvonlinks;
+       this.glotrechtes = glotrechtes;
+       this.slotrechtes = slotrechtes;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MESSUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="STATIONID", nullable=false)
+    public Station getStation() {
+        return this.station;
+    }
+    
+    public void setStation(Station station) {
+        this.station = station;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GSIEBSATZID")
+    public Gsiebsatz getGsiebsatz() {
+        return this.gsiebsatz;
+    }
+    
+    public void setGsiebsatz(Gsiebsatz gsiebsatz) {
+        this.gsiebsatz = gsiebsatz;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GFAENGERID")
+    public Gfaenger getGfaenger() {
+        return this.gfaenger;
+    }
+    
+    public void setGfaenger(Gfaenger gfaenger) {
+        this.gfaenger = gfaenger;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="HPEILUNGID")
+    public Hpeilung getHpeilung() {
+        return this.hpeilung;
+    }
+    
+    public void setHpeilung(Hpeilung hpeilung) {
+        this.hpeilung = hpeilung;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="DATUM", nullable=false, length=7)
+    public Date getDatum() {
+        return this.datum;
+    }
+    
+    public void setDatum(Date datum) {
+        this.datum = datum;
+    }
+
+    
+    @Column(name="MPEILUNGID", precision=11, scale=0)
+    public Long getMpeilungid() {
+        return this.mpeilungid;
+    }
+    
+    public void setMpeilungid(Long mpeilungid) {
+        this.mpeilungid = mpeilungid;
+    }
+
+    
+    @Column(name="MESSNR", nullable=false, precision=5, scale=0)
+    public int getMessnr() {
+        return this.messnr;
+    }
+    
+    public void setMessnr(int messnr) {
+        this.messnr = messnr;
+    }
+
+    
+    @Column(name="FGUE", length=10)
+    public String getFgue() {
+        return this.fgue;
+    }
+    
+    public void setFgue(String fgue) {
+        this.fgue = fgue;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="UHRVON", length=7)
+    public Date getUhrvon() {
+        return this.uhrvon;
+    }
+    
+    public void setUhrvon(Date uhrvon) {
+        this.uhrvon = uhrvon;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="UHRBIS", length=7)
+    public Date getUhrbis() {
+        return this.uhrbis;
+    }
+    
+    public void setUhrbis(Date uhrbis) {
+        this.uhrbis = uhrbis;
+    }
+
+    
+    @Column(name="WSPCM", precision=8, scale=1)
+    public BigDecimal getWspcm() {
+        return this.wspcm;
+    }
+    
+    public void setWspcm(BigDecimal wspcm) {
+        this.wspcm = wspcm;
+    }
+
+    
+    @Column(name="Q_BPEGEL", precision=8, scale=3)
+    public BigDecimal getQBpegel() {
+        return this.QBpegel;
+    }
+    
+    public void setQBpegel(BigDecimal QBpegel) {
+        this.QBpegel = QBpegel;
+    }
+
+    
+    @Column(name="WSPNN", precision=8, scale=3)
+    public BigDecimal getWspnn() {
+        return this.wspnn;
+    }
+    
+    public void setWspnn(BigDecimal wspnn) {
+        this.wspnn = wspnn;
+    }
+
+    
+    @Column(name="IE", precision=6, scale=3)
+    public BigDecimal getIe() {
+        return this.ie;
+    }
+    
+    public void setIe(BigDecimal ie) {
+        this.ie = ie;
+    }
+
+    
+    @Column(name="WTEMP", precision=4, scale=1)
+    public BigDecimal getWtemp() {
+        return this.wtemp;
+    }
+    
+    public void setWtemp(BigDecimal wtemp) {
+        this.wtemp = wtemp;
+    }
+
+    
+    @Column(name="GBREITE", precision=8, scale=3)
+    public BigDecimal getGbreite() {
+        return this.gbreite;
+    }
+    
+    public void setGbreite(BigDecimal gbreite) {
+        this.gbreite = gbreite;
+    }
+
+    
+    @Column(name="GBREITEVON", precision=8, scale=3)
+    public BigDecimal getGbreitevon() {
+        return this.gbreitevon;
+    }
+    
+    public void setGbreitevon(BigDecimal gbreitevon) {
+        this.gbreitevon = gbreitevon;
+    }
+
+    
+    @Column(name="GBREITEBIS", precision=8, scale=3)
+    public BigDecimal getGbreitebis() {
+        return this.gbreitebis;
+    }
+    
+    public void setGbreitebis(BigDecimal gbreitebis) {
+        this.gbreitebis = gbreitebis;
+    }
+
+    
+    @Column(name="TGESCHIEBE", precision=9, scale=3)
+    public BigDecimal getTgeschiebe() {
+        return this.tgeschiebe;
+    }
+    
+    public void setTgeschiebe(BigDecimal tgeschiebe) {
+        this.tgeschiebe = tgeschiebe;
+    }
+
+    
+    @Column(name="TSAND", precision=9, scale=3)
+    public BigDecimal getTsand() {
+        return this.tsand;
+    }
+    
+    public void setTsand(BigDecimal tsand) {
+        this.tsand = tsand;
+    }
+
+    
+    @Column(name="TSCHWEB", precision=9, scale=3)
+    public BigDecimal getTschweb() {
+        return this.tschweb;
+    }
+    
+    public void setTschweb(BigDecimal tschweb) {
+        this.tschweb = tschweb;
+    }
+
+    
+    @Column(name="CSCHWEB", precision=8, scale=3)
+    public BigDecimal getCschweb() {
+        return this.cschweb;
+    }
+    
+    public void setCschweb(BigDecimal cschweb) {
+        this.cschweb = cschweb;
+    }
+
+    
+    @Column(name="UFERLIABST", precision=8, scale=3)
+    public BigDecimal getUferliabst() {
+        return this.uferliabst;
+    }
+    
+    public void setUferliabst(BigDecimal uferliabst) {
+        this.uferliabst = uferliabst;
+    }
+
+    
+    @Column(name="UFERREABST", precision=8, scale=3)
+    public BigDecimal getUferreabst() {
+        return this.uferreabst;
+    }
+    
+    public void setUferreabst(BigDecimal uferreabst) {
+        this.uferreabst = uferreabst;
+    }
+
+    
+    @Column(name="Q", precision=8, scale=3)
+    public BigDecimal getQ() {
+        return this.q;
+    }
+    
+    public void setQ(BigDecimal q) {
+        this.q = q;
+    }
+
+    
+    @Column(name="A_HPEIL", precision=6, scale=1)
+    public BigDecimal getAHpeil() {
+        return this.AHpeil;
+    }
+    
+    public void setAHpeil(BigDecimal AHpeil) {
+        this.AHpeil = AHpeil;
+    }
+
+    
+    @Column(name="A_MPEIL", precision=6, scale=1)
+    public BigDecimal getAMpeil() {
+        return this.AMpeil;
+    }
+    
+    public void setAMpeil(BigDecimal AMpeil) {
+        this.AMpeil = AMpeil;
+    }
+
+    
+    @Column(name="B", precision=8, scale=3)
+    public BigDecimal getB() {
+        return this.b;
+    }
+    
+    public void setB(BigDecimal b) {
+        this.b = b;
+    }
+
+    
+    @Column(name="HM", precision=8, scale=3)
+    public BigDecimal getHm() {
+        return this.hm;
+    }
+    
+    public void setHm(BigDecimal hm) {
+        this.hm = hm;
+    }
+
+    
+    @Column(name="VM", precision=6, scale=4)
+    public BigDecimal getVm() {
+        return this.vm;
+    }
+    
+    public void setVm(BigDecimal vm) {
+        this.vm = vm;
+    }
+
+    
+    @Column(name="VSOHLE", precision=6, scale=4)
+    public BigDecimal getVsohle() {
+        return this.vsohle;
+    }
+    
+    public void setVsohle(BigDecimal vsohle) {
+        this.vsohle = vsohle;
+    }
+
+    
+    @Column(name="TAU", precision=9, scale=4)
+    public BigDecimal getTau() {
+        return this.tau;
+    }
+    
+    public void setTau(BigDecimal tau) {
+        this.tau = tau;
+    }
+
+    
+    @Column(name="TAUV", precision=9, scale=6)
+    public BigDecimal getTauv() {
+        return this.tauv;
+    }
+    
+    public void setTauv(BigDecimal tauv) {
+        this.tauv = tauv;
+    }
+
+    
+    @Column(name="TEIL_Q", precision=8, scale=3)
+    public BigDecimal getTeilQ() {
+        return this.teilQ;
+    }
+    
+    public void setTeilQ(BigDecimal teilQ) {
+        this.teilQ = teilQ;
+    }
+
+    
+    @Column(name="TEIL_A_HPEIL", precision=6, scale=1)
+    public BigDecimal getTeilAHpeil() {
+        return this.teilAHpeil;
+    }
+    
+    public void setTeilAHpeil(BigDecimal teilAHpeil) {
+        this.teilAHpeil = teilAHpeil;
+    }
+
+    
+    @Column(name="TEIL_A_MPEIL", precision=6, scale=1)
+    public BigDecimal getTeilAMpeil() {
+        return this.teilAMpeil;
+    }
+    
+    public void setTeilAMpeil(BigDecimal teilAMpeil) {
+        this.teilAMpeil = teilAMpeil;
+    }
+
+    
+    @Column(name="TEIL_B", precision=8, scale=3)
+    public BigDecimal getTeilB() {
+        return this.teilB;
+    }
+    
+    public void setTeilB(BigDecimal teilB) {
+        this.teilB = teilB;
+    }
+
+    
+    @Column(name="TEIL_HM", precision=8, scale=3)
+    public BigDecimal getTeilHm() {
+        return this.teilHm;
+    }
+    
+    public void setTeilHm(BigDecimal teilHm) {
+        this.teilHm = teilHm;
+    }
+
+    
+    @Column(name="TEIL_VM", precision=6, scale=4)
+    public BigDecimal getTeilVm() {
+        return this.teilVm;
+    }
+    
+    public void setTeilVm(BigDecimal teilVm) {
+        this.teilVm = teilVm;
+    }
+
+    
+    @Column(name="TEIL_VSOHLE", precision=6, scale=4)
+    public BigDecimal getTeilVsohle() {
+        return this.teilVsohle;
+    }
+    
+    public void setTeilVsohle(BigDecimal teilVsohle) {
+        this.teilVsohle = teilVsohle;
+    }
+
+    
+    @Column(name="TEIL_TAU", precision=9, scale=4)
+    public BigDecimal getTeilTau() {
+        return this.teilTau;
+    }
+    
+    public void setTeilTau(BigDecimal teilTau) {
+        this.teilTau = teilTau;
+    }
+
+    
+    @Column(name="TEIL_TAUV", precision=9, scale=6)
+    public BigDecimal getTeilTauv() {
+        return this.teilTauv;
+    }
+    
+    public void setTeilTauv(BigDecimal teilTauv) {
+        this.teilTauv = teilTauv;
+    }
+
+    
+    @Column(name="MITTELTYP", precision=1, scale=0)
+    public Boolean getMitteltyp() {
+        return this.mitteltyp;
+    }
+    
+    public void setMitteltyp(Boolean mitteltyp) {
+        this.mitteltyp = mitteltyp;
+    }
+
+    
+    @Column(name="DM", precision=7, scale=3)
+    public BigDecimal getDm() {
+        return this.dm;
+    }
+    
+    public void setDm(BigDecimal dm) {
+        this.dm = dm;
+    }
+
+    
+    @Column(name="SK", precision=8, scale=3)
+    public BigDecimal getSk() {
+        return this.sk;
+    }
+    
+    public void setSk(BigDecimal sk) {
+        this.sk = sk;
+    }
+
+    
+    @Column(name="SO", precision=8, scale=3)
+    public BigDecimal getSo() {
+        return this.so;
+    }
+    
+    public void setSo(BigDecimal so) {
+        this.so = so;
+    }
+
+    
+    @Column(name="U", precision=8, scale=3)
+    public BigDecimal getU() {
+        return this.u;
+    }
+    
+    public void setU(BigDecimal u) {
+        this.u = u;
+    }
+
+    
+    @Column(name="D90", precision=7, scale=4)
+    public BigDecimal getD90() {
+        return this.d90;
+    }
+    
+    public void setD90(BigDecimal d90) {
+        this.d90 = d90;
+    }
+
+    
+    @Column(name="D84", precision=7, scale=4)
+    public BigDecimal getD84() {
+        return this.d84;
+    }
+    
+    public void setD84(BigDecimal d84) {
+        this.d84 = d84;
+    }
+
+    
+    @Column(name="D80", precision=7, scale=4)
+    public BigDecimal getD80() {
+        return this.d80;
+    }
+    
+    public void setD80(BigDecimal d80) {
+        this.d80 = d80;
+    }
+
+    
+    @Column(name="D75", precision=7, scale=4)
+    public BigDecimal getD75() {
+        return this.d75;
+    }
+    
+    public void setD75(BigDecimal d75) {
+        this.d75 = d75;
+    }
+
+    
+    @Column(name="D70", precision=7, scale=4)
+    public BigDecimal getD70() {
+        return this.d70;
+    }
+    
+    public void setD70(BigDecimal d70) {
+        this.d70 = d70;
+    }
+
+    
+    @Column(name="D60", precision=7, scale=4)
+    public BigDecimal getD60() {
+        return this.d60;
+    }
+    
+    public void setD60(BigDecimal d60) {
+        this.d60 = d60;
+    }
+
+    
+    @Column(name="D50", precision=7, scale=4)
+    public BigDecimal getD50() {
+        return this.d50;
+    }
+    
+    public void setD50(BigDecimal d50) {
+        this.d50 = d50;
+    }
+
+    
+    @Column(name="D40", precision=7, scale=4)
+    public BigDecimal getD40() {
+        return this.d40;
+    }
+    
+    public void setD40(BigDecimal d40) {
+        this.d40 = d40;
+    }
+
+    
+    @Column(name="D30", precision=7, scale=4)
+    public BigDecimal getD30() {
+        return this.d30;
+    }
+    
+    public void setD30(BigDecimal d30) {
+        this.d30 = d30;
+    }
+
+    
+    @Column(name="D25", precision=7, scale=4)
+    public BigDecimal getD25() {
+        return this.d25;
+    }
+    
+    public void setD25(BigDecimal d25) {
+        this.d25 = d25;
+    }
+
+    
+    @Column(name="D20", precision=7, scale=4)
+    public BigDecimal getD20() {
+        return this.d20;
+    }
+    
+    public void setD20(BigDecimal d20) {
+        this.d20 = d20;
+    }
+
+    
+    @Column(name="D16", precision=7, scale=4)
+    public BigDecimal getD16() {
+        return this.d16;
+    }
+    
+    public void setD16(BigDecimal d16) {
+        this.d16 = d16;
+    }
+
+    
+    @Column(name="D10", precision=7, scale=4)
+    public BigDecimal getD10() {
+        return this.d10;
+    }
+    
+    public void setD10(BigDecimal d10) {
+        this.d10 = d10;
+    }
+
+    
+    @Column(name="DMIN", precision=7, scale=4)
+    public BigDecimal getDmin() {
+        return this.dmin;
+    }
+    
+    public void setDmin(BigDecimal dmin) {
+        this.dmin = dmin;
+    }
+
+    
+    @Column(name="DURCHDMIN", precision=6, scale=3)
+    public BigDecimal getDurchdmin() {
+        return this.durchdmin;
+    }
+    
+    public void setDurchdmin(BigDecimal durchdmin) {
+        this.durchdmin = durchdmin;
+    }
+
+    
+    @Column(name="DMAX", precision=7, scale=3)
+    public BigDecimal getDmax() {
+        return this.dmax;
+    }
+    
+    public void setDmax(BigDecimal dmax) {
+        this.dmax = dmax;
+    }
+
+    
+    @Column(name="DURCHDMAX", precision=6, scale=3)
+    public BigDecimal getDurchdmax() {
+        return this.durchdmax;
+    }
+    
+    public void setDurchdmax(BigDecimal durchdmax) {
+        this.durchdmax = durchdmax;
+    }
+
+    
+    @Column(name="N_GESCHIEB", nullable=false, precision=5, scale=0)
+    public int getNGeschieb() {
+        return this.NGeschieb;
+    }
+    
+    public void setNGeschieb(int NGeschieb) {
+        this.NGeschieb = NGeschieb;
+    }
+
+    
+    @Column(name="N_VIELPKT", nullable=false, precision=5, scale=0)
+    public int getNVielpkt() {
+        return this.NVielpkt;
+    }
+    
+    public void setNVielpkt(int NVielpkt) {
+        this.NVielpkt = NVielpkt;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="SYS_DATE", length=7)
+    public Date getSysDate() {
+        return this.sysDate;
+    }
+    
+    public void setSysDate(Date sysDate) {
+        this.sysDate = sysDate;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="LASTUPDATED", nullable=false, length=7)
+    public Date getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Date lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+    
+    @Column(name="KM", precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    
+    @Column(name="GLOTABSTOFFSET", nullable=false, precision=8, scale=3)
+    public BigDecimal getGlotabstoffset() {
+        return this.glotabstoffset;
+    }
+    
+    public void setGlotabstoffset(BigDecimal glotabstoffset) {
+        this.glotabstoffset = glotabstoffset;
+    }
+
+    
+    @Column(name="SLOTABSTOFFSET", nullable=false, precision=8, scale=3)
+    public BigDecimal getSlotabstoffset() {
+        return this.slotabstoffset;
+    }
+    
+    public void setSlotabstoffset(BigDecimal slotabstoffset) {
+        this.slotabstoffset = slotabstoffset;
+    }
+
+    
+    @Column(name="GBREITEVONLINKS", precision=8, scale=3)
+    public BigDecimal getGbreitevonlinks() {
+        return this.gbreitevonlinks;
+    }
+    
+    public void setGbreitevonlinks(BigDecimal gbreitevonlinks) {
+        this.gbreitevonlinks = gbreitevonlinks;
+    }
+
+    
+    @Column(name="GBREITEBISLINKS", precision=8, scale=3)
+    public BigDecimal getGbreitebislinks() {
+        return this.gbreitebislinks;
+    }
+    
+    public void setGbreitebislinks(BigDecimal gbreitebislinks) {
+        this.gbreitebislinks = gbreitebislinks;
+    }
+
+    
+    @Column(name="GLOTUFERABSTISTVONLINKS", precision=1, scale=0)
+    public Boolean getGlotuferabstistvonlinks() {
+        return this.glotuferabstistvonlinks;
+    }
+    
+    public void setGlotuferabstistvonlinks(Boolean glotuferabstistvonlinks) {
+        this.glotuferabstistvonlinks = glotuferabstistvonlinks;
+    }
+
+    
+    @Column(name="SLOTUFERABSTISTVONLINKS", precision=1, scale=0)
+    public Boolean getSlotuferabstistvonlinks() {
+        return this.slotuferabstistvonlinks;
+    }
+    
+    public void setSlotuferabstistvonlinks(Boolean slotuferabstistvonlinks) {
+        this.slotuferabstistvonlinks = slotuferabstistvonlinks;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="messung")
+    public Set<Glotrechte> getGlotrechtes() {
+        return this.glotrechtes;
+    }
+    
+    public void setGlotrechtes(Set<Glotrechte> glotrechtes) {
+        this.glotrechtes = glotrechtes;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="messung")
+    public Set<Slotrechte> getSlotrechtes() {
+        return this.slotrechtes;
+    }
+    
+    public void setSlotrechtes(Set<Slotrechte> slotrechtes) {
+        this.slotrechtes = slotrechtes;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Messunglotcount.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,45 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Messunglotcount generated by hbm2java
+ */
+@Entity
+@Table(name="MESSUNGLOTCOUNT"
+    ,schema="SEDDB"
+)
+public class Messunglotcount  implements java.io.Serializable {
+
+
+     private MessunglotcountId id;
+
+    public Messunglotcount() {
+    }
+
+    public Messunglotcount(MessunglotcountId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="glotcount", column=@Column(name="GLOTCOUNT", precision=22, scale=0) ), 
+        @AttributeOverride(name="slotcount", column=@Column(name="SLOTCOUNT", precision=22, scale=0) ) } )
+    public MessunglotcountId getId() {
+        return this.id;
+    }
+    
+    public void setId(MessunglotcountId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/MessunglotcountId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,84 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * MessunglotcountId generated by hbm2java
+ */
+@Embeddable
+public class MessunglotcountId  implements java.io.Serializable {
+
+
+     private long messungid;
+     private BigDecimal glotcount;
+     private BigDecimal slotcount;
+
+    public MessunglotcountId() {
+    }
+
+    
+    public MessunglotcountId(long messungid) {
+        this.messungid = messungid;
+    }
+    public MessunglotcountId(long messungid, BigDecimal glotcount, BigDecimal slotcount) {
+       this.messungid = messungid;
+       this.glotcount = glotcount;
+       this.slotcount = slotcount;
+    }
+   
+
+
+    @Column(name="MESSUNGID", nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+
+
+    @Column(name="GLOTCOUNT", precision=22, scale=0)
+    public BigDecimal getGlotcount() {
+        return this.glotcount;
+    }
+    
+    public void setGlotcount(BigDecimal glotcount) {
+        this.glotcount = glotcount;
+    }
+
+
+    @Column(name="SLOTCOUNT", precision=22, scale=0)
+    public BigDecimal getSlotcount() {
+        return this.slotcount;
+    }
+    
+    public void setSlotcount(BigDecimal slotcount) {
+        this.slotcount = slotcount;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof MessunglotcountId) ) return false;
+         MessunglotcountId castOther = ( MessunglotcountId ) other; 
+         
+         return (this.getMessungid()==castOther.getMessungid())
+ && ( (this.getGlotcount()==castOther.getGlotcount()) || ( this.getGlotcount()!=null && castOther.getGlotcount()!=null && this.getGlotcount().equals(castOther.getGlotcount()) ) )
+ && ( (this.getSlotcount()==castOther.getSlotcount()) || ( this.getSlotcount()!=null && castOther.getSlotcount()!=null && this.getSlotcount().equals(castOther.getSlotcount()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getMessungid();
+         result = 37 * result + ( getGlotcount() == null ? 0 : this.getGlotcount().hashCode() );
+         result = 37 * result + ( getSlotcount() == null ? 0 : this.getSlotcount().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Messungsta.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,122 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Messungsta generated by hbm2java
+ */
+@Entity
+@Table(name="MESSUNGSTA"
+    ,schema="SEDDB"
+)
+public class Messungsta  implements java.io.Serializable {
+
+
+     private MessungstaId id;
+
+    public Messungsta() {
+    }
+
+    public Messungsta(MessungstaId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID") ), 
+        @AttributeOverride(name="stationid", column=@Column(name="STATIONID") ), 
+        @AttributeOverride(name="datum", column=@Column(name="DATUM") ), 
+        @AttributeOverride(name="hpeilungid", column=@Column(name="HPEILUNGID") ), 
+        @AttributeOverride(name="mpeilungid", column=@Column(name="MPEILUNGID") ), 
+        @AttributeOverride(name="gfaengerid", column=@Column(name="GFAENGERID") ), 
+        @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID") ), 
+        @AttributeOverride(name="messnr", column=@Column(name="MESSNR") ), 
+        @AttributeOverride(name="fgue", column=@Column(name="FGUE") ), 
+        @AttributeOverride(name="uhrvon", column=@Column(name="UHRVON") ), 
+        @AttributeOverride(name="uhrbis", column=@Column(name="UHRBIS") ), 
+        @AttributeOverride(name="wspcm", column=@Column(name="WSPCM") ), 
+        @AttributeOverride(name="QBpegel", column=@Column(name="Q_BPEGEL") ), 
+        @AttributeOverride(name="wspnn", column=@Column(name="WSPNN") ), 
+        @AttributeOverride(name="ie", column=@Column(name="IE") ), 
+        @AttributeOverride(name="wtemp", column=@Column(name="WTEMP") ), 
+        @AttributeOverride(name="gbreite", column=@Column(name="GBREITE") ), 
+        @AttributeOverride(name="gbreitevon", column=@Column(name="GBREITEVON") ), 
+        @AttributeOverride(name="gbreitebis", column=@Column(name="GBREITEBIS") ), 
+        @AttributeOverride(name="tgeschiebe", column=@Column(name="TGESCHIEBE") ), 
+        @AttributeOverride(name="tsand", column=@Column(name="TSAND") ), 
+        @AttributeOverride(name="tschweb", column=@Column(name="TSCHWEB") ), 
+        @AttributeOverride(name="cschweb", column=@Column(name="CSCHWEB") ), 
+        @AttributeOverride(name="uferliabst", column=@Column(name="UFERLIABST") ), 
+        @AttributeOverride(name="uferreabst", column=@Column(name="UFERREABST") ), 
+        @AttributeOverride(name="q", column=@Column(name="Q") ), 
+        @AttributeOverride(name="AHpeil", column=@Column(name="A_HPEIL") ), 
+        @AttributeOverride(name="AMpeil", column=@Column(name="A_MPEIL") ), 
+        @AttributeOverride(name="b", column=@Column(name="B") ), 
+        @AttributeOverride(name="hm", column=@Column(name="HM") ), 
+        @AttributeOverride(name="vm", column=@Column(name="VM") ), 
+        @AttributeOverride(name="vsohle", column=@Column(name="VSOHLE") ), 
+        @AttributeOverride(name="tau", column=@Column(name="TAU") ), 
+        @AttributeOverride(name="tauv", column=@Column(name="TAUV") ), 
+        @AttributeOverride(name="teilQ", column=@Column(name="TEIL_Q") ), 
+        @AttributeOverride(name="teilAHpeil", column=@Column(name="TEIL_A_HPEIL") ), 
+        @AttributeOverride(name="teilAMpeil", column=@Column(name="TEIL_A_MPEIL") ), 
+        @AttributeOverride(name="teilB", column=@Column(name="TEIL_B") ), 
+        @AttributeOverride(name="teilHm", column=@Column(name="TEIL_HM") ), 
+        @AttributeOverride(name="teilVm", column=@Column(name="TEIL_VM") ), 
+        @AttributeOverride(name="teilVsohle", column=@Column(name="TEIL_VSOHLE") ), 
+        @AttributeOverride(name="teilTau", column=@Column(name="TEIL_TAU") ), 
+        @AttributeOverride(name="teilTauv", column=@Column(name="TEIL_TAUV") ), 
+        @AttributeOverride(name="mitteltyp", column=@Column(name="MITTELTYP") ), 
+        @AttributeOverride(name="dm", column=@Column(name="DM") ), 
+        @AttributeOverride(name="sk", column=@Column(name="SK") ), 
+        @AttributeOverride(name="so", column=@Column(name="SO") ), 
+        @AttributeOverride(name="u", column=@Column(name="U") ), 
+        @AttributeOverride(name="d90", column=@Column(name="D90") ), 
+        @AttributeOverride(name="d84", column=@Column(name="D84") ), 
+        @AttributeOverride(name="d80", column=@Column(name="D80") ), 
+        @AttributeOverride(name="d75", column=@Column(name="D75") ), 
+        @AttributeOverride(name="d70", column=@Column(name="D70") ), 
+        @AttributeOverride(name="d60", column=@Column(name="D60") ), 
+        @AttributeOverride(name="d50", column=@Column(name="D50") ), 
+        @AttributeOverride(name="d40", column=@Column(name="D40") ), 
+        @AttributeOverride(name="d30", column=@Column(name="D30") ), 
+        @AttributeOverride(name="d25", column=@Column(name="D25") ), 
+        @AttributeOverride(name="d20", column=@Column(name="D20") ), 
+        @AttributeOverride(name="d16", column=@Column(name="D16") ), 
+        @AttributeOverride(name="d10", column=@Column(name="D10") ), 
+        @AttributeOverride(name="dmin", column=@Column(name="DMIN") ), 
+        @AttributeOverride(name="durchdmin", column=@Column(name="DURCHDMIN") ), 
+        @AttributeOverride(name="dmax", column=@Column(name="DMAX") ), 
+        @AttributeOverride(name="durchdmax", column=@Column(name="DURCHDMAX") ), 
+        @AttributeOverride(name="NGeschieb", column=@Column(name="N_GESCHIEB") ), 
+        @AttributeOverride(name="NVielpkt", column=@Column(name="N_VIELPKT") ), 
+        @AttributeOverride(name="sysDate", column=@Column(name="SYS_DATE") ), 
+        @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG") ), 
+        @AttributeOverride(name="lastupdated", column=@Column(name="LASTUPDATED") ), 
+        @AttributeOverride(name="km", column=@Column(name="KM") ), 
+        @AttributeOverride(name="glotabstoffset", column=@Column(name="GLOTABSTOFFSET") ), 
+        @AttributeOverride(name="slotabstoffset", column=@Column(name="SLOTABSTOFFSET") ), 
+        @AttributeOverride(name="gbreitevonlinks", column=@Column(name="GBREITEVONLINKS") ), 
+        @AttributeOverride(name="gbreitebislinks", column=@Column(name="GBREITEBISLINKS") ), 
+        @AttributeOverride(name="staname", column=@Column(name="STANAME") ), 
+        @AttributeOverride(name="stakm", column=@Column(name="STAKM") ), 
+        @AttributeOverride(name="gewaesserid", column=@Column(name="GEWAESSERID") ), 
+        @AttributeOverride(name="gewname", column=@Column(name="GEWNAME") ), 
+        @AttributeOverride(name="bezugspegelid", column=@Column(name="BEZUGSPEGELID") ) } )
+    public MessungstaId getId() {
+        return this.id;
+    }
+    
+    public void setId(MessungstaId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/MessungstaId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,1158 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.io.Serializable;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * MessungstaId generated by hbm2java
+ */
+@Embeddable
+public class MessungstaId  implements java.io.Serializable {
+
+
+     private Serializable messungid;
+     private Serializable stationid;
+     private Serializable datum;
+     private Serializable hpeilungid;
+     private Serializable mpeilungid;
+     private Serializable gfaengerid;
+     private Serializable gsiebsatzid;
+     private Serializable messnr;
+     private Serializable fgue;
+     private Serializable uhrvon;
+     private Serializable uhrbis;
+     private Serializable wspcm;
+     private Serializable QBpegel;
+     private Serializable wspnn;
+     private Serializable ie;
+     private Serializable wtemp;
+     private Serializable gbreite;
+     private Serializable gbreitevon;
+     private Serializable gbreitebis;
+     private Serializable tgeschiebe;
+     private Serializable tsand;
+     private Serializable tschweb;
+     private Serializable cschweb;
+     private Serializable uferliabst;
+     private Serializable uferreabst;
+     private Serializable q;
+     private Serializable AHpeil;
+     private Serializable AMpeil;
+     private Serializable b;
+     private Serializable hm;
+     private Serializable vm;
+     private Serializable vsohle;
+     private Serializable tau;
+     private Serializable tauv;
+     private Serializable teilQ;
+     private Serializable teilAHpeil;
+     private Serializable teilAMpeil;
+     private Serializable teilB;
+     private Serializable teilHm;
+     private Serializable teilVm;
+     private Serializable teilVsohle;
+     private Serializable teilTau;
+     private Serializable teilTauv;
+     private Serializable mitteltyp;
+     private Serializable dm;
+     private Serializable sk;
+     private Serializable so;
+     private Serializable u;
+     private Serializable d90;
+     private Serializable d84;
+     private Serializable d80;
+     private Serializable d75;
+     private Serializable d70;
+     private Serializable d60;
+     private Serializable d50;
+     private Serializable d40;
+     private Serializable d30;
+     private Serializable d25;
+     private Serializable d20;
+     private Serializable d16;
+     private Serializable d10;
+     private Serializable dmin;
+     private Serializable durchdmin;
+     private Serializable dmax;
+     private Serializable durchdmax;
+     private Serializable NGeschieb;
+     private Serializable NVielpkt;
+     private Serializable sysDate;
+     private Serializable bemerkung;
+     private Serializable lastupdated;
+     private Serializable km;
+     private Serializable glotabstoffset;
+     private Serializable slotabstoffset;
+     private Serializable gbreitevonlinks;
+     private Serializable gbreitebislinks;
+     private Serializable staname;
+     private Serializable stakm;
+     private Serializable gewaesserid;
+     private Serializable gewname;
+     private Serializable bezugspegelid;
+
+    public MessungstaId() {
+    }
+
+    public MessungstaId(Serializable messungid, Serializable stationid, Serializable datum, Serializable hpeilungid, Serializable mpeilungid, Serializable gfaengerid, Serializable gsiebsatzid, Serializable messnr, Serializable fgue, Serializable uhrvon, Serializable uhrbis, Serializable wspcm, Serializable QBpegel, Serializable wspnn, Serializable ie, Serializable wtemp, Serializable gbreite, Serializable gbreitevon, Serializable gbreitebis, Serializable tgeschiebe, Serializable tsand, Serializable tschweb, Serializable cschweb, Serializable uferliabst, Serializable uferreabst, Serializable q, Serializable AHpeil, Serializable AMpeil, Serializable b, Serializable hm, Serializable vm, Serializable vsohle, Serializable tau, Serializable tauv, Serializable teilQ, Serializable teilAHpeil, Serializable teilAMpeil, Serializable teilB, Serializable teilHm, Serializable teilVm, Serializable teilVsohle, Serializable teilTau, Serializable teilTauv, Serializable mitteltyp, Serializable dm, Serializable sk, Serializable so, Serializable u, Serializable d90, Serializable d84, Serializable d80, Serializable d75, Serializable d70, Serializable d60, Serializable d50, Serializable d40, Serializable d30, Serializable d25, Serializable d20, Serializable d16, Serializable d10, Serializable dmin, Serializable durchdmin, Serializable dmax, Serializable durchdmax, Serializable NGeschieb, Serializable NVielpkt, Serializable sysDate, Serializable bemerkung, Serializable lastupdated, Serializable km, Serializable glotabstoffset, Serializable slotabstoffset, Serializable gbreitevonlinks, Serializable gbreitebislinks, Serializable staname, Serializable stakm, Serializable gewaesserid, Serializable gewname, Serializable bezugspegelid) {
+       this.messungid = messungid;
+       this.stationid = stationid;
+       this.datum = datum;
+       this.hpeilungid = hpeilungid;
+       this.mpeilungid = mpeilungid;
+       this.gfaengerid = gfaengerid;
+       this.gsiebsatzid = gsiebsatzid;
+       this.messnr = messnr;
+       this.fgue = fgue;
+       this.uhrvon = uhrvon;
+       this.uhrbis = uhrbis;
+       this.wspcm = wspcm;
+       this.QBpegel = QBpegel;
+       this.wspnn = wspnn;
+       this.ie = ie;
+       this.wtemp = wtemp;
+       this.gbreite = gbreite;
+       this.gbreitevon = gbreitevon;
+       this.gbreitebis = gbreitebis;
+       this.tgeschiebe = tgeschiebe;
+       this.tsand = tsand;
+       this.tschweb = tschweb;
+       this.cschweb = cschweb;
+       this.uferliabst = uferliabst;
+       this.uferreabst = uferreabst;
+       this.q = q;
+       this.AHpeil = AHpeil;
+       this.AMpeil = AMpeil;
+       this.b = b;
+       this.hm = hm;
+       this.vm = vm;
+       this.vsohle = vsohle;
+       this.tau = tau;
+       this.tauv = tauv;
+       this.teilQ = teilQ;
+       this.teilAHpeil = teilAHpeil;
+       this.teilAMpeil = teilAMpeil;
+       this.teilB = teilB;
+       this.teilHm = teilHm;
+       this.teilVm = teilVm;
+       this.teilVsohle = teilVsohle;
+       this.teilTau = teilTau;
+       this.teilTauv = teilTauv;
+       this.mitteltyp = mitteltyp;
+       this.dm = dm;
+       this.sk = sk;
+       this.so = so;
+       this.u = u;
+       this.d90 = d90;
+       this.d84 = d84;
+       this.d80 = d80;
+       this.d75 = d75;
+       this.d70 = d70;
+       this.d60 = d60;
+       this.d50 = d50;
+       this.d40 = d40;
+       this.d30 = d30;
+       this.d25 = d25;
+       this.d20 = d20;
+       this.d16 = d16;
+       this.d10 = d10;
+       this.dmin = dmin;
+       this.durchdmin = durchdmin;
+       this.dmax = dmax;
+       this.durchdmax = durchdmax;
+       this.NGeschieb = NGeschieb;
+       this.NVielpkt = NVielpkt;
+       this.sysDate = sysDate;
+       this.bemerkung = bemerkung;
+       this.lastupdated = lastupdated;
+       this.km = km;
+       this.glotabstoffset = glotabstoffset;
+       this.slotabstoffset = slotabstoffset;
+       this.gbreitevonlinks = gbreitevonlinks;
+       this.gbreitebislinks = gbreitebislinks;
+       this.staname = staname;
+       this.stakm = stakm;
+       this.gewaesserid = gewaesserid;
+       this.gewname = gewname;
+       this.bezugspegelid = bezugspegelid;
+    }
+   
+
+
+    @Column(name="MESSUNGID")
+    public Serializable getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(Serializable messungid) {
+        this.messungid = messungid;
+    }
+
+
+    @Column(name="STATIONID")
+    public Serializable getStationid() {
+        return this.stationid;
+    }
+    
+    public void setStationid(Serializable stationid) {
+        this.stationid = stationid;
+    }
+
+
+    @Column(name="DATUM")
+    public Serializable getDatum() {
+        return this.datum;
+    }
+    
+    public void setDatum(Serializable datum) {
+        this.datum = datum;
+    }
+
+
+    @Column(name="HPEILUNGID")
+    public Serializable getHpeilungid() {
+        return this.hpeilungid;
+    }
+    
+    public void setHpeilungid(Serializable hpeilungid) {
+        this.hpeilungid = hpeilungid;
+    }
+
+
+    @Column(name="MPEILUNGID")
+    public Serializable getMpeilungid() {
+        return this.mpeilungid;
+    }
+    
+    public void setMpeilungid(Serializable mpeilungid) {
+        this.mpeilungid = mpeilungid;
+    }
+
+
+    @Column(name="GFAENGERID")
+    public Serializable getGfaengerid() {
+        return this.gfaengerid;
+    }
+    
+    public void setGfaengerid(Serializable gfaengerid) {
+        this.gfaengerid = gfaengerid;
+    }
+
+
+    @Column(name="GSIEBSATZID")
+    public Serializable getGsiebsatzid() {
+        return this.gsiebsatzid;
+    }
+    
+    public void setGsiebsatzid(Serializable gsiebsatzid) {
+        this.gsiebsatzid = gsiebsatzid;
+    }
+
+
+    @Column(name="MESSNR")
+    public Serializable getMessnr() {
+        return this.messnr;
+    }
+    
+    public void setMessnr(Serializable messnr) {
+        this.messnr = messnr;
+    }
+
+
+    @Column(name="FGUE")
+    public Serializable getFgue() {
+        return this.fgue;
+    }
+    
+    public void setFgue(Serializable fgue) {
+        this.fgue = fgue;
+    }
+
+
+    @Column(name="UHRVON")
+    public Serializable getUhrvon() {
+        return this.uhrvon;
+    }
+    
+    public void setUhrvon(Serializable uhrvon) {
+        this.uhrvon = uhrvon;
+    }
+
+
+    @Column(name="UHRBIS")
+    public Serializable getUhrbis() {
+        return this.uhrbis;
+    }
+    
+    public void setUhrbis(Serializable uhrbis) {
+        this.uhrbis = uhrbis;
+    }
+
+
+    @Column(name="WSPCM")
+    public Serializable getWspcm() {
+        return this.wspcm;
+    }
+    
+    public void setWspcm(Serializable wspcm) {
+        this.wspcm = wspcm;
+    }
+
+
+    @Column(name="Q_BPEGEL")
+    public Serializable getQBpegel() {
+        return this.QBpegel;
+    }
+    
+    public void setQBpegel(Serializable QBpegel) {
+        this.QBpegel = QBpegel;
+    }
+
+
+    @Column(name="WSPNN")
+    public Serializable getWspnn() {
+        return this.wspnn;
+    }
+    
+    public void setWspnn(Serializable wspnn) {
+        this.wspnn = wspnn;
+    }
+
+
+    @Column(name="IE")
+    public Serializable getIe() {
+        return this.ie;
+    }
+    
+    public void setIe(Serializable ie) {
+        this.ie = ie;
+    }
+
+
+    @Column(name="WTEMP")
+    public Serializable getWtemp() {
+        return this.wtemp;
+    }
+    
+    public void setWtemp(Serializable wtemp) {
+        this.wtemp = wtemp;
+    }
+
+
+    @Column(name="GBREITE")
+    public Serializable getGbreite() {
+        return this.gbreite;
+    }
+    
+    public void setGbreite(Serializable gbreite) {
+        this.gbreite = gbreite;
+    }
+
+
+    @Column(name="GBREITEVON")
+    public Serializable getGbreitevon() {
+        return this.gbreitevon;
+    }
+    
+    public void setGbreitevon(Serializable gbreitevon) {
+        this.gbreitevon = gbreitevon;
+    }
+
+
+    @Column(name="GBREITEBIS")
+    public Serializable getGbreitebis() {
+        return this.gbreitebis;
+    }
+    
+    public void setGbreitebis(Serializable gbreitebis) {
+        this.gbreitebis = gbreitebis;
+    }
+
+
+    @Column(name="TGESCHIEBE")
+    public Serializable getTgeschiebe() {
+        return this.tgeschiebe;
+    }
+    
+    public void setTgeschiebe(Serializable tgeschiebe) {
+        this.tgeschiebe = tgeschiebe;
+    }
+
+
+    @Column(name="TSAND")
+    public Serializable getTsand() {
+        return this.tsand;
+    }
+    
+    public void setTsand(Serializable tsand) {
+        this.tsand = tsand;
+    }
+
+
+    @Column(name="TSCHWEB")
+    public Serializable getTschweb() {
+        return this.tschweb;
+    }
+    
+    public void setTschweb(Serializable tschweb) {
+        this.tschweb = tschweb;
+    }
+
+
+    @Column(name="CSCHWEB")
+    public Serializable getCschweb() {
+        return this.cschweb;
+    }
+    
+    public void setCschweb(Serializable cschweb) {
+        this.cschweb = cschweb;
+    }
+
+
+    @Column(name="UFERLIABST")
+    public Serializable getUferliabst() {
+        return this.uferliabst;
+    }
+    
+    public void setUferliabst(Serializable uferliabst) {
+        this.uferliabst = uferliabst;
+    }
+
+
+    @Column(name="UFERREABST")
+    public Serializable getUferreabst() {
+        return this.uferreabst;
+    }
+    
+    public void setUferreabst(Serializable uferreabst) {
+        this.uferreabst = uferreabst;
+    }
+
+
+    @Column(name="Q")
+    public Serializable getQ() {
+        return this.q;
+    }
+    
+    public void setQ(Serializable q) {
+        this.q = q;
+    }
+
+
+    @Column(name="A_HPEIL")
+    public Serializable getAHpeil() {
+        return this.AHpeil;
+    }
+    
+    public void setAHpeil(Serializable AHpeil) {
+        this.AHpeil = AHpeil;
+    }
+
+
+    @Column(name="A_MPEIL")
+    public Serializable getAMpeil() {
+        return this.AMpeil;
+    }
+    
+    public void setAMpeil(Serializable AMpeil) {
+        this.AMpeil = AMpeil;
+    }
+
+
+    @Column(name="B")
+    public Serializable getB() {
+        return this.b;
+    }
+    
+    public void setB(Serializable b) {
+        this.b = b;
+    }
+
+
+    @Column(name="HM")
+    public Serializable getHm() {
+        return this.hm;
+    }
+    
+    public void setHm(Serializable hm) {
+        this.hm = hm;
+    }
+
+
+    @Column(name="VM")
+    public Serializable getVm() {
+        return this.vm;
+    }
+    
+    public void setVm(Serializable vm) {
+        this.vm = vm;
+    }
+
+
+    @Column(name="VSOHLE")
+    public Serializable getVsohle() {
+        return this.vsohle;
+    }
+    
+    public void setVsohle(Serializable vsohle) {
+        this.vsohle = vsohle;
+    }
+
+
+    @Column(name="TAU")
+    public Serializable getTau() {
+        return this.tau;
+    }
+    
+    public void setTau(Serializable tau) {
+        this.tau = tau;
+    }
+
+
+    @Column(name="TAUV")
+    public Serializable getTauv() {
+        return this.tauv;
+    }
+    
+    public void setTauv(Serializable tauv) {
+        this.tauv = tauv;
+    }
+
+
+    @Column(name="TEIL_Q")
+    public Serializable getTeilQ() {
+        return this.teilQ;
+    }
+    
+    public void setTeilQ(Serializable teilQ) {
+        this.teilQ = teilQ;
+    }
+
+
+    @Column(name="TEIL_A_HPEIL")
+    public Serializable getTeilAHpeil() {
+        return this.teilAHpeil;
+    }
+    
+    public void setTeilAHpeil(Serializable teilAHpeil) {
+        this.teilAHpeil = teilAHpeil;
+    }
+
+
+    @Column(name="TEIL_A_MPEIL")
+    public Serializable getTeilAMpeil() {
+        return this.teilAMpeil;
+    }
+    
+    public void setTeilAMpeil(Serializable teilAMpeil) {
+        this.teilAMpeil = teilAMpeil;
+    }
+
+
+    @Column(name="TEIL_B")
+    public Serializable getTeilB() {
+        return this.teilB;
+    }
+    
+    public void setTeilB(Serializable teilB) {
+        this.teilB = teilB;
+    }
+
+
+    @Column(name="TEIL_HM")
+    public Serializable getTeilHm() {
+        return this.teilHm;
+    }
+    
+    public void setTeilHm(Serializable teilHm) {
+        this.teilHm = teilHm;
+    }
+
+
+    @Column(name="TEIL_VM")
+    public Serializable getTeilVm() {
+        return this.teilVm;
+    }
+    
+    public void setTeilVm(Serializable teilVm) {
+        this.teilVm = teilVm;
+    }
+
+
+    @Column(name="TEIL_VSOHLE")
+    public Serializable getTeilVsohle() {
+        return this.teilVsohle;
+    }
+    
+    public void setTeilVsohle(Serializable teilVsohle) {
+        this.teilVsohle = teilVsohle;
+    }
+
+
+    @Column(name="TEIL_TAU")
+    public Serializable getTeilTau() {
+        return this.teilTau;
+    }
+    
+    public void setTeilTau(Serializable teilTau) {
+        this.teilTau = teilTau;
+    }
+
+
+    @Column(name="TEIL_TAUV")
+    public Serializable getTeilTauv() {
+        return this.teilTauv;
+    }
+    
+    public void setTeilTauv(Serializable teilTauv) {
+        this.teilTauv = teilTauv;
+    }
+
+
+    @Column(name="MITTELTYP")
+    public Serializable getMitteltyp() {
+        return this.mitteltyp;
+    }
+    
+    public void setMitteltyp(Serializable mitteltyp) {
+        this.mitteltyp = mitteltyp;
+    }
+
+
+    @Column(name="DM")
+    public Serializable getDm() {
+        return this.dm;
+    }
+    
+    public void setDm(Serializable dm) {
+        this.dm = dm;
+    }
+
+
+    @Column(name="SK")
+    public Serializable getSk() {
+        return this.sk;
+    }
+    
+    public void setSk(Serializable sk) {
+        this.sk = sk;
+    }
+
+
+    @Column(name="SO")
+    public Serializable getSo() {
+        return this.so;
+    }
+    
+    public void setSo(Serializable so) {
+        this.so = so;
+    }
+
+
+    @Column(name="U")
+    public Serializable getU() {
+        return this.u;
+    }
+    
+    public void setU(Serializable u) {
+        this.u = u;
+    }
+
+
+    @Column(name="D90")
+    public Serializable getD90() {
+        return this.d90;
+    }
+    
+    public void setD90(Serializable d90) {
+        this.d90 = d90;
+    }
+
+
+    @Column(name="D84")
+    public Serializable getD84() {
+        return this.d84;
+    }
+    
+    public void setD84(Serializable d84) {
+        this.d84 = d84;
+    }
+
+
+    @Column(name="D80")
+    public Serializable getD80() {
+        return this.d80;
+    }
+    
+    public void setD80(Serializable d80) {
+        this.d80 = d80;
+    }
+
+
+    @Column(name="D75")
+    public Serializable getD75() {
+        return this.d75;
+    }
+    
+    public void setD75(Serializable d75) {
+        this.d75 = d75;
+    }
+
+
+    @Column(name="D70")
+    public Serializable getD70() {
+        return this.d70;
+    }
+    
+    public void setD70(Serializable d70) {
+        this.d70 = d70;
+    }
+
+
+    @Column(name="D60")
+    public Serializable getD60() {
+        return this.d60;
+    }
+    
+    public void setD60(Serializable d60) {
+        this.d60 = d60;
+    }
+
+
+    @Column(name="D50")
+    public Serializable getD50() {
+        return this.d50;
+    }
+    
+    public void setD50(Serializable d50) {
+        this.d50 = d50;
+    }
+
+
+    @Column(name="D40")
+    public Serializable getD40() {
+        return this.d40;
+    }
+    
+    public void setD40(Serializable d40) {
+        this.d40 = d40;
+    }
+
+
+    @Column(name="D30")
+    public Serializable getD30() {
+        return this.d30;
+    }
+    
+    public void setD30(Serializable d30) {
+        this.d30 = d30;
+    }
+
+
+    @Column(name="D25")
+    public Serializable getD25() {
+        return this.d25;
+    }
+    
+    public void setD25(Serializable d25) {
+        this.d25 = d25;
+    }
+
+
+    @Column(name="D20")
+    public Serializable getD20() {
+        return this.d20;
+    }
+    
+    public void setD20(Serializable d20) {
+        this.d20 = d20;
+    }
+
+
+    @Column(name="D16")
+    public Serializable getD16() {
+        return this.d16;
+    }
+    
+    public void setD16(Serializable d16) {
+        this.d16 = d16;
+    }
+
+
+    @Column(name="D10")
+    public Serializable getD10() {
+        return this.d10;
+    }
+    
+    public void setD10(Serializable d10) {
+        this.d10 = d10;
+    }
+
+
+    @Column(name="DMIN")
+    public Serializable getDmin() {
+        return this.dmin;
+    }
+    
+    public void setDmin(Serializable dmin) {
+        this.dmin = dmin;
+    }
+
+
+    @Column(name="DURCHDMIN")
+    public Serializable getDurchdmin() {
+        return this.durchdmin;
+    }
+    
+    public void setDurchdmin(Serializable durchdmin) {
+        this.durchdmin = durchdmin;
+    }
+
+
+    @Column(name="DMAX")
+    public Serializable getDmax() {
+        return this.dmax;
+    }
+    
+    public void setDmax(Serializable dmax) {
+        this.dmax = dmax;
+    }
+
+
+    @Column(name="DURCHDMAX")
+    public Serializable getDurchdmax() {
+        return this.durchdmax;
+    }
+    
+    public void setDurchdmax(Serializable durchdmax) {
+        this.durchdmax = durchdmax;
+    }
+
+
+    @Column(name="N_GESCHIEB")
+    public Serializable getNGeschieb() {
+        return this.NGeschieb;
+    }
+    
+    public void setNGeschieb(Serializable NGeschieb) {
+        this.NGeschieb = NGeschieb;
+    }
+
+
+    @Column(name="N_VIELPKT")
+    public Serializable getNVielpkt() {
+        return this.NVielpkt;
+    }
+    
+    public void setNVielpkt(Serializable NVielpkt) {
+        this.NVielpkt = NVielpkt;
+    }
+
+
+    @Column(name="SYS_DATE")
+    public Serializable getSysDate() {
+        return this.sysDate;
+    }
+    
+    public void setSysDate(Serializable sysDate) {
+        this.sysDate = sysDate;
+    }
+
+
+    @Column(name="BEMERKUNG")
+    public Serializable getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(Serializable bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+
+    @Column(name="LASTUPDATED")
+    public Serializable getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Serializable lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+
+    @Column(name="KM")
+    public Serializable getKm() {
+        return this.km;
+    }
+    
+    public void setKm(Serializable km) {
+        this.km = km;
+    }
+
+
+    @Column(name="GLOTABSTOFFSET")
+    public Serializable getGlotabstoffset() {
+        return this.glotabstoffset;
+    }
+    
+    public void setGlotabstoffset(Serializable glotabstoffset) {
+        this.glotabstoffset = glotabstoffset;
+    }
+
+
+    @Column(name="SLOTABSTOFFSET")
+    public Serializable getSlotabstoffset() {
+        return this.slotabstoffset;
+    }
+    
+    public void setSlotabstoffset(Serializable slotabstoffset) {
+        this.slotabstoffset = slotabstoffset;
+    }
+
+
+    @Column(name="GBREITEVONLINKS")
+    public Serializable getGbreitevonlinks() {
+        return this.gbreitevonlinks;
+    }
+    
+    public void setGbreitevonlinks(Serializable gbreitevonlinks) {
+        this.gbreitevonlinks = gbreitevonlinks;
+    }
+
+
+    @Column(name="GBREITEBISLINKS")
+    public Serializable getGbreitebislinks() {
+        return this.gbreitebislinks;
+    }
+    
+    public void setGbreitebislinks(Serializable gbreitebislinks) {
+        this.gbreitebislinks = gbreitebislinks;
+    }
+
+
+    @Column(name="STANAME")
+    public Serializable getStaname() {
+        return this.staname;
+    }
+    
+    public void setStaname(Serializable staname) {
+        this.staname = staname;
+    }
+
+
+    @Column(name="STAKM")
+    public Serializable getStakm() {
+        return this.stakm;
+    }
+    
+    public void setStakm(Serializable stakm) {
+        this.stakm = stakm;
+    }
+
+
+    @Column(name="GEWAESSERID")
+    public Serializable getGewaesserid() {
+        return this.gewaesserid;
+    }
+    
+    public void setGewaesserid(Serializable gewaesserid) {
+        this.gewaesserid = gewaesserid;
+    }
+
+
+    @Column(name="GEWNAME")
+    public Serializable getGewname() {
+        return this.gewname;
+    }
+    
+    public void setGewname(Serializable gewname) {
+        this.gewname = gewname;
+    }
+
+
+    @Column(name="BEZUGSPEGELID")
+    public Serializable getBezugspegelid() {
+        return this.bezugspegelid;
+    }
+    
+    public void setBezugspegelid(Serializable bezugspegelid) {
+        this.bezugspegelid = bezugspegelid;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof MessungstaId) ) return false;
+         MessungstaId castOther = ( MessungstaId ) other; 
+         
+         return ( (this.getMessungid()==castOther.getMessungid()) || ( this.getMessungid()!=null && castOther.getMessungid()!=null && this.getMessungid().equals(castOther.getMessungid()) ) )
+ && ( (this.getStationid()==castOther.getStationid()) || ( this.getStationid()!=null && castOther.getStationid()!=null && this.getStationid().equals(castOther.getStationid()) ) )
+ && ( (this.getDatum()==castOther.getDatum()) || ( this.getDatum()!=null && castOther.getDatum()!=null && this.getDatum().equals(castOther.getDatum()) ) )
+ && ( (this.getHpeilungid()==castOther.getHpeilungid()) || ( this.getHpeilungid()!=null && castOther.getHpeilungid()!=null && this.getHpeilungid().equals(castOther.getHpeilungid()) ) )
+ && ( (this.getMpeilungid()==castOther.getMpeilungid()) || ( this.getMpeilungid()!=null && castOther.getMpeilungid()!=null && this.getMpeilungid().equals(castOther.getMpeilungid()) ) )
+ && ( (this.getGfaengerid()==castOther.getGfaengerid()) || ( this.getGfaengerid()!=null && castOther.getGfaengerid()!=null && this.getGfaengerid().equals(castOther.getGfaengerid()) ) )
+ && ( (this.getGsiebsatzid()==castOther.getGsiebsatzid()) || ( this.getGsiebsatzid()!=null && castOther.getGsiebsatzid()!=null && this.getGsiebsatzid().equals(castOther.getGsiebsatzid()) ) )
+ && ( (this.getMessnr()==castOther.getMessnr()) || ( this.getMessnr()!=null && castOther.getMessnr()!=null && this.getMessnr().equals(castOther.getMessnr()) ) )
+ && ( (this.getFgue()==castOther.getFgue()) || ( this.getFgue()!=null && castOther.getFgue()!=null && this.getFgue().equals(castOther.getFgue()) ) )
+ && ( (this.getUhrvon()==castOther.getUhrvon()) || ( this.getUhrvon()!=null && castOther.getUhrvon()!=null && this.getUhrvon().equals(castOther.getUhrvon()) ) )
+ && ( (this.getUhrbis()==castOther.getUhrbis()) || ( this.getUhrbis()!=null && castOther.getUhrbis()!=null && this.getUhrbis().equals(castOther.getUhrbis()) ) )
+ && ( (this.getWspcm()==castOther.getWspcm()) || ( this.getWspcm()!=null && castOther.getWspcm()!=null && this.getWspcm().equals(castOther.getWspcm()) ) )
+ && ( (this.getQBpegel()==castOther.getQBpegel()) || ( this.getQBpegel()!=null && castOther.getQBpegel()!=null && this.getQBpegel().equals(castOther.getQBpegel()) ) )
+ && ( (this.getWspnn()==castOther.getWspnn()) || ( this.getWspnn()!=null && castOther.getWspnn()!=null && this.getWspnn().equals(castOther.getWspnn()) ) )
+ && ( (this.getIe()==castOther.getIe()) || ( this.getIe()!=null && castOther.getIe()!=null && this.getIe().equals(castOther.getIe()) ) )
+ && ( (this.getWtemp()==castOther.getWtemp()) || ( this.getWtemp()!=null && castOther.getWtemp()!=null && this.getWtemp().equals(castOther.getWtemp()) ) )
+ && ( (this.getGbreite()==castOther.getGbreite()) || ( this.getGbreite()!=null && castOther.getGbreite()!=null && this.getGbreite().equals(castOther.getGbreite()) ) )
+ && ( (this.getGbreitevon()==castOther.getGbreitevon()) || ( this.getGbreitevon()!=null && castOther.getGbreitevon()!=null && this.getGbreitevon().equals(castOther.getGbreitevon()) ) )
+ && ( (this.getGbreitebis()==castOther.getGbreitebis()) || ( this.getGbreitebis()!=null && castOther.getGbreitebis()!=null && this.getGbreitebis().equals(castOther.getGbreitebis()) ) )
+ && ( (this.getTgeschiebe()==castOther.getTgeschiebe()) || ( this.getTgeschiebe()!=null && castOther.getTgeschiebe()!=null && this.getTgeschiebe().equals(castOther.getTgeschiebe()) ) )
+ && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) )
+ && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) )
+ && ( (this.getCschweb()==castOther.getCschweb()) || ( this.getCschweb()!=null && castOther.getCschweb()!=null && this.getCschweb().equals(castOther.getCschweb()) ) )
+ && ( (this.getUferliabst()==castOther.getUferliabst()) || ( this.getUferliabst()!=null && castOther.getUferliabst()!=null && this.getUferliabst().equals(castOther.getUferliabst()) ) )
+ && ( (this.getUferreabst()==castOther.getUferreabst()) || ( this.getUferreabst()!=null && castOther.getUferreabst()!=null && this.getUferreabst().equals(castOther.getUferreabst()) ) )
+ && ( (this.getQ()==castOther.getQ()) || ( this.getQ()!=null && castOther.getQ()!=null && this.getQ().equals(castOther.getQ()) ) )
+ && ( (this.getAHpeil()==castOther.getAHpeil()) || ( this.getAHpeil()!=null && castOther.getAHpeil()!=null && this.getAHpeil().equals(castOther.getAHpeil()) ) )
+ && ( (this.getAMpeil()==castOther.getAMpeil()) || ( this.getAMpeil()!=null && castOther.getAMpeil()!=null && this.getAMpeil().equals(castOther.getAMpeil()) ) )
+ && ( (this.getB()==castOther.getB()) || ( this.getB()!=null && castOther.getB()!=null && this.getB().equals(castOther.getB()) ) )
+ && ( (this.getHm()==castOther.getHm()) || ( this.getHm()!=null && castOther.getHm()!=null && this.getHm().equals(castOther.getHm()) ) )
+ && ( (this.getVm()==castOther.getVm()) || ( this.getVm()!=null && castOther.getVm()!=null && this.getVm().equals(castOther.getVm()) ) )
+ && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) )
+ && ( (this.getTau()==castOther.getTau()) || ( this.getTau()!=null && castOther.getTau()!=null && this.getTau().equals(castOther.getTau()) ) )
+ && ( (this.getTauv()==castOther.getTauv()) || ( this.getTauv()!=null && castOther.getTauv()!=null && this.getTauv().equals(castOther.getTauv()) ) )
+ && ( (this.getTeilQ()==castOther.getTeilQ()) || ( this.getTeilQ()!=null && castOther.getTeilQ()!=null && this.getTeilQ().equals(castOther.getTeilQ()) ) )
+ && ( (this.getTeilAHpeil()==castOther.getTeilAHpeil()) || ( this.getTeilAHpeil()!=null && castOther.getTeilAHpeil()!=null && this.getTeilAHpeil().equals(castOther.getTeilAHpeil()) ) )
+ && ( (this.getTeilAMpeil()==castOther.getTeilAMpeil()) || ( this.getTeilAMpeil()!=null && castOther.getTeilAMpeil()!=null && this.getTeilAMpeil().equals(castOther.getTeilAMpeil()) ) )
+ && ( (this.getTeilB()==castOther.getTeilB()) || ( this.getTeilB()!=null && castOther.getTeilB()!=null && this.getTeilB().equals(castOther.getTeilB()) ) )
+ && ( (this.getTeilHm()==castOther.getTeilHm()) || ( this.getTeilHm()!=null && castOther.getTeilHm()!=null && this.getTeilHm().equals(castOther.getTeilHm()) ) )
+ && ( (this.getTeilVm()==castOther.getTeilVm()) || ( this.getTeilVm()!=null && castOther.getTeilVm()!=null && this.getTeilVm().equals(castOther.getTeilVm()) ) )
+ && ( (this.getTeilVsohle()==castOther.getTeilVsohle()) || ( this.getTeilVsohle()!=null && castOther.getTeilVsohle()!=null && this.getTeilVsohle().equals(castOther.getTeilVsohle()) ) )
+ && ( (this.getTeilTau()==castOther.getTeilTau()) || ( this.getTeilTau()!=null && castOther.getTeilTau()!=null && this.getTeilTau().equals(castOther.getTeilTau()) ) )
+ && ( (this.getTeilTauv()==castOther.getTeilTauv()) || ( this.getTeilTauv()!=null && castOther.getTeilTauv()!=null && this.getTeilTauv().equals(castOther.getTeilTauv()) ) )
+ && ( (this.getMitteltyp()==castOther.getMitteltyp()) || ( this.getMitteltyp()!=null && castOther.getMitteltyp()!=null && this.getMitteltyp().equals(castOther.getMitteltyp()) ) )
+ && ( (this.getDm()==castOther.getDm()) || ( this.getDm()!=null && castOther.getDm()!=null && this.getDm().equals(castOther.getDm()) ) )
+ && ( (this.getSk()==castOther.getSk()) || ( this.getSk()!=null && castOther.getSk()!=null && this.getSk().equals(castOther.getSk()) ) )
+ && ( (this.getSo()==castOther.getSo()) || ( this.getSo()!=null && castOther.getSo()!=null && this.getSo().equals(castOther.getSo()) ) )
+ && ( (this.getU()==castOther.getU()) || ( this.getU()!=null && castOther.getU()!=null && this.getU().equals(castOther.getU()) ) )
+ && ( (this.getD90()==castOther.getD90()) || ( this.getD90()!=null && castOther.getD90()!=null && this.getD90().equals(castOther.getD90()) ) )
+ && ( (this.getD84()==castOther.getD84()) || ( this.getD84()!=null && castOther.getD84()!=null && this.getD84().equals(castOther.getD84()) ) )
+ && ( (this.getD80()==castOther.getD80()) || ( this.getD80()!=null && castOther.getD80()!=null && this.getD80().equals(castOther.getD80()) ) )
+ && ( (this.getD75()==castOther.getD75()) || ( this.getD75()!=null && castOther.getD75()!=null && this.getD75().equals(castOther.getD75()) ) )
+ && ( (this.getD70()==castOther.getD70()) || ( this.getD70()!=null && castOther.getD70()!=null && this.getD70().equals(castOther.getD70()) ) )
+ && ( (this.getD60()==castOther.getD60()) || ( this.getD60()!=null && castOther.getD60()!=null && this.getD60().equals(castOther.getD60()) ) )
+ && ( (this.getD50()==castOther.getD50()) || ( this.getD50()!=null && castOther.getD50()!=null && this.getD50().equals(castOther.getD50()) ) )
+ && ( (this.getD40()==castOther.getD40()) || ( this.getD40()!=null && castOther.getD40()!=null && this.getD40().equals(castOther.getD40()) ) )
+ && ( (this.getD30()==castOther.getD30()) || ( this.getD30()!=null && castOther.getD30()!=null && this.getD30().equals(castOther.getD30()) ) )
+ && ( (this.getD25()==castOther.getD25()) || ( this.getD25()!=null && castOther.getD25()!=null && this.getD25().equals(castOther.getD25()) ) )
+ && ( (this.getD20()==castOther.getD20()) || ( this.getD20()!=null && castOther.getD20()!=null && this.getD20().equals(castOther.getD20()) ) )
+ && ( (this.getD16()==castOther.getD16()) || ( this.getD16()!=null && castOther.getD16()!=null && this.getD16().equals(castOther.getD16()) ) )
+ && ( (this.getD10()==castOther.getD10()) || ( this.getD10()!=null && castOther.getD10()!=null && this.getD10().equals(castOther.getD10()) ) )
+ && ( (this.getDmin()==castOther.getDmin()) || ( this.getDmin()!=null && castOther.getDmin()!=null && this.getDmin().equals(castOther.getDmin()) ) )
+ && ( (this.getDurchdmin()==castOther.getDurchdmin()) || ( this.getDurchdmin()!=null && castOther.getDurchdmin()!=null && this.getDurchdmin().equals(castOther.getDurchdmin()) ) )
+ && ( (this.getDmax()==castOther.getDmax()) || ( this.getDmax()!=null && castOther.getDmax()!=null && this.getDmax().equals(castOther.getDmax()) ) )
+ && ( (this.getDurchdmax()==castOther.getDurchdmax()) || ( this.getDurchdmax()!=null && castOther.getDurchdmax()!=null && this.getDurchdmax().equals(castOther.getDurchdmax()) ) )
+ && ( (this.getNGeschieb()==castOther.getNGeschieb()) || ( this.getNGeschieb()!=null && castOther.getNGeschieb()!=null && this.getNGeschieb().equals(castOther.getNGeschieb()) ) )
+ && ( (this.getNVielpkt()==castOther.getNVielpkt()) || ( this.getNVielpkt()!=null && castOther.getNVielpkt()!=null && this.getNVielpkt().equals(castOther.getNVielpkt()) ) )
+ && ( (this.getSysDate()==castOther.getSysDate()) || ( this.getSysDate()!=null && castOther.getSysDate()!=null && this.getSysDate().equals(castOther.getSysDate()) ) )
+ && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
+ && ( (this.getLastupdated()==castOther.getLastupdated()) || ( this.getLastupdated()!=null && castOther.getLastupdated()!=null && this.getLastupdated().equals(castOther.getLastupdated()) ) )
+ && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) )
+ && ( (this.getGlotabstoffset()==castOther.getGlotabstoffset()) || ( this.getGlotabstoffset()!=null && castOther.getGlotabstoffset()!=null && this.getGlotabstoffset().equals(castOther.getGlotabstoffset()) ) )
+ && ( (this.getSlotabstoffset()==castOther.getSlotabstoffset()) || ( this.getSlotabstoffset()!=null && castOther.getSlotabstoffset()!=null && this.getSlotabstoffset().equals(castOther.getSlotabstoffset()) ) )
+ && ( (this.getGbreitevonlinks()==castOther.getGbreitevonlinks()) || ( this.getGbreitevonlinks()!=null && castOther.getGbreitevonlinks()!=null && this.getGbreitevonlinks().equals(castOther.getGbreitevonlinks()) ) )
+ && ( (this.getGbreitebislinks()==castOther.getGbreitebislinks()) || ( this.getGbreitebislinks()!=null && castOther.getGbreitebislinks()!=null && this.getGbreitebislinks().equals(castOther.getGbreitebislinks()) ) )
+ && ( (this.getStaname()==castOther.getStaname()) || ( this.getStaname()!=null && castOther.getStaname()!=null && this.getStaname().equals(castOther.getStaname()) ) )
+ && ( (this.getStakm()==castOther.getStakm()) || ( this.getStakm()!=null && castOther.getStakm()!=null && this.getStakm().equals(castOther.getStakm()) ) )
+ && ( (this.getGewaesserid()==castOther.getGewaesserid()) || ( this.getGewaesserid()!=null && castOther.getGewaesserid()!=null && this.getGewaesserid().equals(castOther.getGewaesserid()) ) )
+ && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) )
+ && ( (this.getBezugspegelid()==castOther.getBezugspegelid()) || ( this.getBezugspegelid()!=null && castOther.getBezugspegelid()!=null && this.getBezugspegelid().equals(castOther.getBezugspegelid()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + ( getMessungid() == null ? 0 : this.getMessungid().hashCode() );
+         result = 37 * result + ( getStationid() == null ? 0 : this.getStationid().hashCode() );
+         result = 37 * result + ( getDatum() == null ? 0 : this.getDatum().hashCode() );
+         result = 37 * result + ( getHpeilungid() == null ? 0 : this.getHpeilungid().hashCode() );
+         result = 37 * result + ( getMpeilungid() == null ? 0 : this.getMpeilungid().hashCode() );
+         result = 37 * result + ( getGfaengerid() == null ? 0 : this.getGfaengerid().hashCode() );
+         result = 37 * result + ( getGsiebsatzid() == null ? 0 : this.getGsiebsatzid().hashCode() );
+         result = 37 * result + ( getMessnr() == null ? 0 : this.getMessnr().hashCode() );
+         result = 37 * result + ( getFgue() == null ? 0 : this.getFgue().hashCode() );
+         result = 37 * result + ( getUhrvon() == null ? 0 : this.getUhrvon().hashCode() );
+         result = 37 * result + ( getUhrbis() == null ? 0 : this.getUhrbis().hashCode() );
+         result = 37 * result + ( getWspcm() == null ? 0 : this.getWspcm().hashCode() );
+         result = 37 * result + ( getQBpegel() == null ? 0 : this.getQBpegel().hashCode() );
+         result = 37 * result + ( getWspnn() == null ? 0 : this.getWspnn().hashCode() );
+         result = 37 * result + ( getIe() == null ? 0 : this.getIe().hashCode() );
+         result = 37 * result + ( getWtemp() == null ? 0 : this.getWtemp().hashCode() );
+         result = 37 * result + ( getGbreite() == null ? 0 : this.getGbreite().hashCode() );
+         result = 37 * result + ( getGbreitevon() == null ? 0 : this.getGbreitevon().hashCode() );
+         result = 37 * result + ( getGbreitebis() == null ? 0 : this.getGbreitebis().hashCode() );
+         result = 37 * result + ( getTgeschiebe() == null ? 0 : this.getTgeschiebe().hashCode() );
+         result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() );
+         result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() );
+         result = 37 * result + ( getCschweb() == null ? 0 : this.getCschweb().hashCode() );
+         result = 37 * result + ( getUferliabst() == null ? 0 : this.getUferliabst().hashCode() );
+         result = 37 * result + ( getUferreabst() == null ? 0 : this.getUferreabst().hashCode() );
+         result = 37 * result + ( getQ() == null ? 0 : this.getQ().hashCode() );
+         result = 37 * result + ( getAHpeil() == null ? 0 : this.getAHpeil().hashCode() );
+         result = 37 * result + ( getAMpeil() == null ? 0 : this.getAMpeil().hashCode() );
+         result = 37 * result + ( getB() == null ? 0 : this.getB().hashCode() );
+         result = 37 * result + ( getHm() == null ? 0 : this.getHm().hashCode() );
+         result = 37 * result + ( getVm() == null ? 0 : this.getVm().hashCode() );
+         result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() );
+         result = 37 * result + ( getTau() == null ? 0 : this.getTau().hashCode() );
+         result = 37 * result + ( getTauv() == null ? 0 : this.getTauv().hashCode() );
+         result = 37 * result + ( getTeilQ() == null ? 0 : this.getTeilQ().hashCode() );
+         result = 37 * result + ( getTeilAHpeil() == null ? 0 : this.getTeilAHpeil().hashCode() );
+         result = 37 * result + ( getTeilAMpeil() == null ? 0 : this.getTeilAMpeil().hashCode() );
+         result = 37 * result + ( getTeilB() == null ? 0 : this.getTeilB().hashCode() );
+         result = 37 * result + ( getTeilHm() == null ? 0 : this.getTeilHm().hashCode() );
+         result = 37 * result + ( getTeilVm() == null ? 0 : this.getTeilVm().hashCode() );
+         result = 37 * result + ( getTeilVsohle() == null ? 0 : this.getTeilVsohle().hashCode() );
+         result = 37 * result + ( getTeilTau() == null ? 0 : this.getTeilTau().hashCode() );
+         result = 37 * result + ( getTeilTauv() == null ? 0 : this.getTeilTauv().hashCode() );
+         result = 37 * result + ( getMitteltyp() == null ? 0 : this.getMitteltyp().hashCode() );
+         result = 37 * result + ( getDm() == null ? 0 : this.getDm().hashCode() );
+         result = 37 * result + ( getSk() == null ? 0 : this.getSk().hashCode() );
+         result = 37 * result + ( getSo() == null ? 0 : this.getSo().hashCode() );
+         result = 37 * result + ( getU() == null ? 0 : this.getU().hashCode() );
+         result = 37 * result + ( getD90() == null ? 0 : this.getD90().hashCode() );
+         result = 37 * result + ( getD84() == null ? 0 : this.getD84().hashCode() );
+         result = 37 * result + ( getD80() == null ? 0 : this.getD80().hashCode() );
+         result = 37 * result + ( getD75() == null ? 0 : this.getD75().hashCode() );
+         result = 37 * result + ( getD70() == null ? 0 : this.getD70().hashCode() );
+         result = 37 * result + ( getD60() == null ? 0 : this.getD60().hashCode() );
+         result = 37 * result + ( getD50() == null ? 0 : this.getD50().hashCode() );
+         result = 37 * result + ( getD40() == null ? 0 : this.getD40().hashCode() );
+         result = 37 * result + ( getD30() == null ? 0 : this.getD30().hashCode() );
+         result = 37 * result + ( getD25() == null ? 0 : this.getD25().hashCode() );
+         result = 37 * result + ( getD20() == null ? 0 : this.getD20().hashCode() );
+         result = 37 * result + ( getD16() == null ? 0 : this.getD16().hashCode() );
+         result = 37 * result + ( getD10() == null ? 0 : this.getD10().hashCode() );
+         result = 37 * result + ( getDmin() == null ? 0 : this.getDmin().hashCode() );
+         result = 37 * result + ( getDurchdmin() == null ? 0 : this.getDurchdmin().hashCode() );
+         result = 37 * result + ( getDmax() == null ? 0 : this.getDmax().hashCode() );
+         result = 37 * result + ( getDurchdmax() == null ? 0 : this.getDurchdmax().hashCode() );
+         result = 37 * result + ( getNGeschieb() == null ? 0 : this.getNGeschieb().hashCode() );
+         result = 37 * result + ( getNVielpkt() == null ? 0 : this.getNVielpkt().hashCode() );
+         result = 37 * result + ( getSysDate() == null ? 0 : this.getSysDate().hashCode() );
+         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
+         result = 37 * result + ( getLastupdated() == null ? 0 : this.getLastupdated().hashCode() );
+         result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
+         result = 37 * result + ( getGlotabstoffset() == null ? 0 : this.getGlotabstoffset().hashCode() );
+         result = 37 * result + ( getSlotabstoffset() == null ? 0 : this.getSlotabstoffset().hashCode() );
+         result = 37 * result + ( getGbreitevonlinks() == null ? 0 : this.getGbreitevonlinks().hashCode() );
+         result = 37 * result + ( getGbreitebislinks() == null ? 0 : this.getGbreitebislinks().hashCode() );
+         result = 37 * result + ( getStaname() == null ? 0 : this.getStaname().hashCode() );
+         result = 37 * result + ( getStakm() == null ? 0 : this.getStakm().hashCode() );
+         result = 37 * result + ( getGewaesserid() == null ? 0 : this.getGewaesserid().hashCode() );
+         result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
+         result = 37 * result + ( getBezugspegelid() == null ? 0 : this.getBezugspegelid().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Messunguferbezug.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,45 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Messunguferbezug generated by hbm2java
+ */
+@Entity
+@Table(name="MESSUNGUFERBEZUG"
+    ,schema="SEDDB"
+)
+public class Messunguferbezug  implements java.io.Serializable {
+
+
+     private MessunguferbezugId id;
+
+    public Messunguferbezug() {
+    }
+
+    public Messunguferbezug(MessunguferbezugId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="uferistlinks", column=@Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0) ), 
+        @AttributeOverride(name="hmabst", column=@Column(name="HMABST", precision=8, scale=3) ) } )
+    public MessunguferbezugId getId() {
+        return this.id;
+    }
+    
+    public void setId(MessunguferbezugId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/MessunguferbezugId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,84 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * MessunguferbezugId generated by hbm2java
+ */
+@Embeddable
+public class MessunguferbezugId  implements java.io.Serializable {
+
+
+     private long messungid;
+     private boolean uferistlinks;
+     private BigDecimal hmabst;
+
+    public MessunguferbezugId() {
+    }
+
+    public MessunguferbezugId(long messungid, boolean uferistlinks) {
+        this.messungid = messungid;
+        this.uferistlinks = uferistlinks;
+    }
+    public MessunguferbezugId(long messungid, boolean uferistlinks, BigDecimal hmabst) {
+       this.messungid = messungid;
+       this.uferistlinks = uferistlinks;
+       this.hmabst = hmabst;
+    }
+   
+
+
+    @Column(name="MESSUNGID", nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+
+
+    @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0)
+    public boolean isUferistlinks() {
+        return this.uferistlinks;
+    }
+    
+    public void setUferistlinks(boolean uferistlinks) {
+        this.uferistlinks = uferistlinks;
+    }
+
+
+    @Column(name="HMABST", precision=8, scale=3)
+    public BigDecimal getHmabst() {
+        return this.hmabst;
+    }
+    
+    public void setHmabst(BigDecimal hmabst) {
+        this.hmabst = hmabst;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof MessunguferbezugId) ) return false;
+         MessunguferbezugId castOther = ( MessunguferbezugId ) other; 
+         
+         return (this.getMessungid()==castOther.getMessungid())
+ && (this.isUferistlinks()==castOther.isUferistlinks())
+ && ( (this.getHmabst()==castOther.getHmabst()) || ( this.getHmabst()!=null && castOther.getHmabst()!=null && this.getHmabst().equals(castOther.getHmabst()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getMessungid();
+         result = 37 * result + (this.isUferistlinks()?1:0);
+         result = 37 * result + ( getHmabst() == null ? 0 : this.getHmabst().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Mpeilpunkt.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,84 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Mpeilpunkt generated by hbm2java
+ */
+@Entity
+@Table(name="MPEILPUNKT"
+    ,schema="SEDDB"
+)
+public class Mpeilpunkt  implements java.io.Serializable {
+
+
+     private MpeilpunktId id;
+     private Mpeilung mpeilung;
+     private BigDecimal y;
+     private BigDecimal z;
+
+    public Mpeilpunkt() {
+    }
+
+    public Mpeilpunkt(MpeilpunktId id, Mpeilung mpeilung, BigDecimal y, BigDecimal z) {
+       this.id = id;
+       this.mpeilung = mpeilung;
+       this.y = y;
+       this.z = z;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="mpeilungid", column=@Column(name="MPEILUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="punktnr", column=@Column(name="PUNKTNR", nullable=false, precision=5, scale=0) ) } )
+    public MpeilpunktId getId() {
+        return this.id;
+    }
+    
+    public void setId(MpeilpunktId id) {
+        this.id = id;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="MPEILUNGID", nullable=false, insertable=false, updatable=false)
+    public Mpeilung getMpeilung() {
+        return this.mpeilung;
+    }
+    
+    public void setMpeilung(Mpeilung mpeilung) {
+        this.mpeilung = mpeilung;
+    }
+
+    
+    @Column(name="Y", nullable=false, precision=8, scale=3)
+    public BigDecimal getY() {
+        return this.y;
+    }
+    
+    public void setY(BigDecimal y) {
+        this.y = y;
+    }
+
+    
+    @Column(name="Z", nullable=false, precision=8, scale=3)
+    public BigDecimal getZ() {
+        return this.z;
+    }
+    
+    public void setZ(BigDecimal z) {
+        this.z = z;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/MpeilpunktId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,65 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * MpeilpunktId generated by hbm2java
+ */
+@Embeddable
+public class MpeilpunktId  implements java.io.Serializable {
+
+
+     private long mpeilungid;
+     private int punktnr;
+
+    public MpeilpunktId() {
+    }
+
+    public MpeilpunktId(long mpeilungid, int punktnr) {
+       this.mpeilungid = mpeilungid;
+       this.punktnr = punktnr;
+    }
+   
+
+
+    @Column(name="MPEILUNGID", nullable=false, precision=11, scale=0)
+    public long getMpeilungid() {
+        return this.mpeilungid;
+    }
+    
+    public void setMpeilungid(long mpeilungid) {
+        this.mpeilungid = mpeilungid;
+    }
+
+
+    @Column(name="PUNKTNR", nullable=false, precision=5, scale=0)
+    public int getPunktnr() {
+        return this.punktnr;
+    }
+    
+    public void setPunktnr(int punktnr) {
+        this.punktnr = punktnr;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof MpeilpunktId) ) return false;
+         MpeilpunktId castOther = ( MpeilpunktId ) other; 
+         
+         return (this.getMpeilungid()==castOther.getMpeilungid())
+ && (this.getPunktnr()==castOther.getPunktnr());
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getMpeilungid();
+         result = 37 * result + this.getPunktnr();
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Mpeilung.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,140 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+
+/**
+ * Mpeilung generated by hbm2java
+ */
+@Entity
+@Table(name="MPEILUNG"
+    ,schema="SEDDB"
+)
+public class Mpeilung  implements java.io.Serializable {
+
+
+     private long mpeilungid;
+     private Station station;
+     private Date datum;
+     private BigDecimal km;
+     private String bemerkung;
+     private Date lastupdated;
+     private Long oldapeilid;
+     private Set<Mpeilpunkt> mpeilpunkts = new HashSet<Mpeilpunkt>(0);
+
+    public Mpeilung() {
+    }
+
+    public Mpeilung(long mpeilungid, Station station, Date datum, BigDecimal km, Date lastupdated) {
+        this.mpeilungid = mpeilungid;
+        this.station = station;
+        this.datum = datum;
+        this.km = km;
+        this.lastupdated = lastupdated;
+    }
+    public Mpeilung(long mpeilungid, Station station, Date datum, BigDecimal km, String bemerkung, Date lastupdated, Long oldapeilid, Set<Mpeilpunkt> mpeilpunkts) {
+       this.mpeilungid = mpeilungid;
+       this.station = station;
+       this.datum = datum;
+       this.km = km;
+       this.bemerkung = bemerkung;
+       this.lastupdated = lastupdated;
+       this.oldapeilid = oldapeilid;
+       this.mpeilpunkts = mpeilpunkts;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MPEILUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMpeilungid() {
+        return this.mpeilungid;
+    }
+    
+    public void setMpeilungid(long mpeilungid) {
+        this.mpeilungid = mpeilungid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="STATIONID", nullable=false)
+    public Station getStation() {
+        return this.station;
+    }
+    
+    public void setStation(Station station) {
+        this.station = station;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="DATUM", nullable=false, length=7)
+    public Date getDatum() {
+        return this.datum;
+    }
+    
+    public void setDatum(Date datum) {
+        this.datum = datum;
+    }
+
+    
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="LASTUPDATED", nullable=false, length=7)
+    public Date getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Date lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+    
+    @Column(name="OLDAPEILID", precision=11, scale=0)
+    public Long getOldapeilid() {
+        return this.oldapeilid;
+    }
+    
+    public void setOldapeilid(Long oldapeilid) {
+        this.oldapeilid = oldapeilid;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="mpeilung")
+    public Set<Mpeilpunkt> getMpeilpunkts() {
+        return this.mpeilpunkts;
+    }
+    
+    public void setMpeilpunkts(Set<Mpeilpunkt> mpeilpunkts) {
+        this.mpeilpunkts = mpeilpunkts;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Probebild.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,194 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Probebild generated by hbm2java
+ */
+@Entity
+@Table(name="PROBEBILD"
+    ,schema="SEDDB"
+)
+public class Probebild  implements java.io.Serializable {
+
+
+     private long probebildid;
+     private Zzthema zzthema;
+     private Sohlprobe sohlprobe;
+     private int lfdnr;
+     private boolean istdigital;
+     private String pfad;
+     private String standort;
+     private String medium;
+     private String medpfad;
+     private String bemerkung;
+     private String typklein;
+     private String typmittel;
+     private String typgross;
+
+    public Probebild() {
+    }
+
+    public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital) {
+        this.probebildid = probebildid;
+        this.zzthema = zzthema;
+        this.sohlprobe = sohlprobe;
+        this.lfdnr = lfdnr;
+        this.istdigital = istdigital;
+    }
+    public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital, String pfad, String standort, String medium, String medpfad, String bemerkung, String typklein, String typmittel, String typgross) {
+       this.probebildid = probebildid;
+       this.zzthema = zzthema;
+       this.sohlprobe = sohlprobe;
+       this.lfdnr = lfdnr;
+       this.istdigital = istdigital;
+       this.pfad = pfad;
+       this.standort = standort;
+       this.medium = medium;
+       this.medpfad = medpfad;
+       this.bemerkung = bemerkung;
+       this.typklein = typklein;
+       this.typmittel = typmittel;
+       this.typgross = typgross;
+    }
+   
+     @Id 
+
+    
+    @Column(name="PROBEBILDID", unique=true, nullable=false, precision=11, scale=0)
+    public long getProbebildid() {
+        return this.probebildid;
+    }
+    
+    public void setProbebildid(long probebildid) {
+        this.probebildid = probebildid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="THEMAID", nullable=false)
+    public Zzthema getZzthema() {
+        return this.zzthema;
+    }
+    
+    public void setZzthema(Zzthema zzthema) {
+        this.zzthema = zzthema;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SOHLPROBEID", nullable=false)
+    public Sohlprobe getSohlprobe() {
+        return this.sohlprobe;
+    }
+    
+    public void setSohlprobe(Sohlprobe sohlprobe) {
+        this.sohlprobe = sohlprobe;
+    }
+
+    
+    @Column(name="LFDNR", nullable=false, precision=5, scale=0)
+    public int getLfdnr() {
+        return this.lfdnr;
+    }
+    
+    public void setLfdnr(int lfdnr) {
+        this.lfdnr = lfdnr;
+    }
+
+    
+    @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0)
+    public boolean isIstdigital() {
+        return this.istdigital;
+    }
+    
+    public void setIstdigital(boolean istdigital) {
+        this.istdigital = istdigital;
+    }
+
+    
+    @Column(name="PFAD", length=512)
+    public String getPfad() {
+        return this.pfad;
+    }
+    
+    public void setPfad(String pfad) {
+        this.pfad = pfad;
+    }
+
+    
+    @Column(name="STANDORT", length=50)
+    public String getStandort() {
+        return this.standort;
+    }
+    
+    public void setStandort(String standort) {
+        this.standort = standort;
+    }
+
+    
+    @Column(name="MEDIUM", length=50)
+    public String getMedium() {
+        return this.medium;
+    }
+    
+    public void setMedium(String medium) {
+        this.medium = medium;
+    }
+
+    
+    @Column(name="MEDPFAD", length=50)
+    public String getMedpfad() {
+        return this.medpfad;
+    }
+    
+    public void setMedpfad(String medpfad) {
+        this.medpfad = medpfad;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="TYPKLEIN", length=8)
+    public String getTypklein() {
+        return this.typklein;
+    }
+    
+    public void setTypklein(String typklein) {
+        this.typklein = typklein;
+    }
+
+    
+    @Column(name="TYPMITTEL", length=8)
+    public String getTypmittel() {
+        return this.typmittel;
+    }
+    
+    public void setTypmittel(String typmittel) {
+        this.typmittel = typmittel;
+    }
+
+    
+    @Column(name="TYPGROSS", length=8)
+    public String getTypgross() {
+        return this.typgross;
+    }
+    
+    public void setTypgross(String typgross) {
+        this.typgross = typgross;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Siebanalyse.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,361 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToOne;
+import javax.persistence.Table;
+
+/**
+ * Siebanalyse generated by hbm2java
+ */
+@Entity
+@Table(name="SIEBANALYSE"
+    ,schema="SEDDB"
+)
+public class Siebanalyse  implements java.io.Serializable {
+
+
+     private long siebanalyseid;
+     private Sohlprobe sohlprobe;
+     private boolean istdigital;
+     private String standort;
+     private BigDecimal dm;
+     private BigDecimal so;
+     private BigDecimal sk;
+     private BigDecimal u;
+     private BigDecimal d90;
+     private BigDecimal d84;
+     private BigDecimal d80;
+     private BigDecimal d75;
+     private BigDecimal d70;
+     private BigDecimal d60;
+     private BigDecimal d50;
+     private BigDecimal d40;
+     private BigDecimal d30;
+     private BigDecimal d25;
+     private BigDecimal d20;
+     private BigDecimal d16;
+     private BigDecimal d10;
+     private BigDecimal dmin;
+     private BigDecimal durchdmin;
+     private BigDecimal dmax;
+     private BigDecimal durchdmax;
+     private String bemerkung;
+     private Ssiebung ssiebung;
+
+    public Siebanalyse() {
+    }
+
+    public Siebanalyse(long siebanalyseid, Sohlprobe sohlprobe, boolean istdigital) {
+        this.siebanalyseid = siebanalyseid;
+        this.sohlprobe = sohlprobe;
+        this.istdigital = istdigital;
+    }
+    public Siebanalyse(long siebanalyseid, Sohlprobe sohlprobe, boolean istdigital, String standort, BigDecimal dm, BigDecimal so, BigDecimal sk, BigDecimal u, BigDecimal d90, BigDecimal d84, BigDecimal d80, BigDecimal d75, BigDecimal d70, BigDecimal d60, BigDecimal d50, BigDecimal d40, BigDecimal d30, BigDecimal d25, BigDecimal d20, BigDecimal d16, BigDecimal d10, BigDecimal dmin, BigDecimal durchdmin, BigDecimal dmax, BigDecimal durchdmax, String bemerkung, Ssiebung ssiebung) {
+       this.siebanalyseid = siebanalyseid;
+       this.sohlprobe = sohlprobe;
+       this.istdigital = istdigital;
+       this.standort = standort;
+       this.dm = dm;
+       this.so = so;
+       this.sk = sk;
+       this.u = u;
+       this.d90 = d90;
+       this.d84 = d84;
+       this.d80 = d80;
+       this.d75 = d75;
+       this.d70 = d70;
+       this.d60 = d60;
+       this.d50 = d50;
+       this.d40 = d40;
+       this.d30 = d30;
+       this.d25 = d25;
+       this.d20 = d20;
+       this.d16 = d16;
+       this.d10 = d10;
+       this.dmin = dmin;
+       this.durchdmin = durchdmin;
+       this.dmax = dmax;
+       this.durchdmax = durchdmax;
+       this.bemerkung = bemerkung;
+       this.ssiebung = ssiebung;
+    }
+   
+     @Id 
+
+    
+    @Column(name="SIEBANALYSEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSiebanalyseid() {
+        return this.siebanalyseid;
+    }
+    
+    public void setSiebanalyseid(long siebanalyseid) {
+        this.siebanalyseid = siebanalyseid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SOHLPROBEID", nullable=false)
+    public Sohlprobe getSohlprobe() {
+        return this.sohlprobe;
+    }
+    
+    public void setSohlprobe(Sohlprobe sohlprobe) {
+        this.sohlprobe = sohlprobe;
+    }
+
+    
+    @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0)
+    public boolean isIstdigital() {
+        return this.istdigital;
+    }
+    
+    public void setIstdigital(boolean istdigital) {
+        this.istdigital = istdigital;
+    }
+
+    
+    @Column(name="STANDORT", length=50)
+    public String getStandort() {
+        return this.standort;
+    }
+    
+    public void setStandort(String standort) {
+        this.standort = standort;
+    }
+
+    
+    @Column(name="DM", precision=7, scale=4)
+    public BigDecimal getDm() {
+        return this.dm;
+    }
+    
+    public void setDm(BigDecimal dm) {
+        this.dm = dm;
+    }
+
+    
+    @Column(name="SO", precision=8, scale=3)
+    public BigDecimal getSo() {
+        return this.so;
+    }
+    
+    public void setSo(BigDecimal so) {
+        this.so = so;
+    }
+
+    
+    @Column(name="SK", precision=8, scale=3)
+    public BigDecimal getSk() {
+        return this.sk;
+    }
+    
+    public void setSk(BigDecimal sk) {
+        this.sk = sk;
+    }
+
+    
+    @Column(name="U", precision=8, scale=3)
+    public BigDecimal getU() {
+        return this.u;
+    }
+    
+    public void setU(BigDecimal u) {
+        this.u = u;
+    }
+
+    
+    @Column(name="D90", precision=7, scale=4)
+    public BigDecimal getD90() {
+        return this.d90;
+    }
+    
+    public void setD90(BigDecimal d90) {
+        this.d90 = d90;
+    }
+
+    
+    @Column(name="D84", precision=7, scale=4)
+    public BigDecimal getD84() {
+        return this.d84;
+    }
+    
+    public void setD84(BigDecimal d84) {
+        this.d84 = d84;
+    }
+
+    
+    @Column(name="D80", precision=7, scale=4)
+    public BigDecimal getD80() {
+        return this.d80;
+    }
+    
+    public void setD80(BigDecimal d80) {
+        this.d80 = d80;
+    }
+
+    
+    @Column(name="D75", precision=7, scale=4)
+    public BigDecimal getD75() {
+        return this.d75;
+    }
+    
+    public void setD75(BigDecimal d75) {
+        this.d75 = d75;
+    }
+
+    
+    @Column(name="D70", precision=7, scale=4)
+    public BigDecimal getD70() {
+        return this.d70;
+    }
+    
+    public void setD70(BigDecimal d70) {
+        this.d70 = d70;
+    }
+
+    
+    @Column(name="D60", precision=7, scale=4)
+    public BigDecimal getD60() {
+        return this.d60;
+    }
+    
+    public void setD60(BigDecimal d60) {
+        this.d60 = d60;
+    }
+
+    
+    @Column(name="D50", precision=7, scale=4)
+    public BigDecimal getD50() {
+        return this.d50;
+    }
+    
+    public void setD50(BigDecimal d50) {
+        this.d50 = d50;
+    }
+
+    
+    @Column(name="D40", precision=7, scale=4)
+    public BigDecimal getD40() {
+        return this.d40;
+    }
+    
+    public void setD40(BigDecimal d40) {
+        this.d40 = d40;
+    }
+
+    
+    @Column(name="D30", precision=7, scale=4)
+    public BigDecimal getD30() {
+        return this.d30;
+    }
+    
+    public void setD30(BigDecimal d30) {
+        this.d30 = d30;
+    }
+
+    
+    @Column(name="D25", precision=7, scale=4)
+    public BigDecimal getD25() {
+        return this.d25;
+    }
+    
+    public void setD25(BigDecimal d25) {
+        this.d25 = d25;
+    }
+
+    
+    @Column(name="D20", precision=7, scale=4)
+    public BigDecimal getD20() {
+        return this.d20;
+    }
+    
+    public void setD20(BigDecimal d20) {
+        this.d20 = d20;
+    }
+
+    
+    @Column(name="D16", precision=7, scale=4)
+    public BigDecimal getD16() {
+        return this.d16;
+    }
+    
+    public void setD16(BigDecimal d16) {
+        this.d16 = d16;
+    }
+
+    
+    @Column(name="D10", precision=7, scale=4)
+    public BigDecimal getD10() {
+        return this.d10;
+    }
+    
+    public void setD10(BigDecimal d10) {
+        this.d10 = d10;
+    }
+
+    
+    @Column(name="DMIN", precision=7, scale=4)
+    public BigDecimal getDmin() {
+        return this.dmin;
+    }
+    
+    public void setDmin(BigDecimal dmin) {
+        this.dmin = dmin;
+    }
+
+    
+    @Column(name="DURCHDMIN", precision=6, scale=3)
+    public BigDecimal getDurchdmin() {
+        return this.durchdmin;
+    }
+    
+    public void setDurchdmin(BigDecimal durchdmin) {
+        this.durchdmin = durchdmin;
+    }
+
+    
+    @Column(name="DMAX", precision=7, scale=4)
+    public BigDecimal getDmax() {
+        return this.dmax;
+    }
+    
+    public void setDmax(BigDecimal dmax) {
+        this.dmax = dmax;
+    }
+
+    
+    @Column(name="DURCHDMAX", precision=6, scale=3)
+    public BigDecimal getDurchdmax() {
+        return this.durchdmax;
+    }
+    
+    public void setDurchdmax(BigDecimal durchdmax) {
+        this.durchdmax = durchdmax;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToOne(fetch=FetchType.LAZY, mappedBy="siebanalyse")
+    public Ssiebung getSsiebung() {
+        return this.ssiebung;
+    }
+    
+    public void setSsiebung(Ssiebung ssiebung) {
+        this.ssiebung = ssiebung;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Slotlinks.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,53 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Slotlinks generated by hbm2java
+ */
+@Entity
+@Table(name="SLOTLINKS"
+    ,schema="SEDDB"
+)
+public class Slotlinks  implements java.io.Serializable {
+
+
+     private SlotlinksId id;
+
+    public Slotlinks() {
+    }
+
+    public Slotlinks(SlotlinksId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    @AttributeOverrides( {
+        @AttributeOverride(name="slotrechteid", column=@Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="messungid", column=@Column(name="MESSUNGID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="uferabst", column=@Column(name="UFERABST", nullable=false, precision=8, scale=3) ), 
+        @AttributeOverride(name="tsand", column=@Column(name="TSAND", precision=8, scale=3) ), 
+        @AttributeOverride(name="tschweb", column=@Column(name="TSCHWEB", precision=8, scale=3) ), 
+        @AttributeOverride(name="fv", column=@Column(name="FV", precision=6, scale=3) ), 
+        @AttributeOverride(name="vm", column=@Column(name="VM", precision=6, scale=4) ), 
+        @AttributeOverride(name="tiefe", column=@Column(name="TIEFE", precision=8, scale=3) ), 
+        @AttributeOverride(name="vsohle", column=@Column(name="VSOHLE", precision=6, scale=4) ), 
+        @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG", length=240) ), 
+        @AttributeOverride(name="uferablinks", column=@Column(name="UFERABLINKS", precision=8, scale=3) ), 
+        @AttributeOverride(name="linksabst", column=@Column(name="LINKSABST", precision=22, scale=0) ) } )
+    public SlotlinksId getId() {
+        return this.id;
+    }
+    
+    public void setId(SlotlinksId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/SlotlinksId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,211 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * SlotlinksId generated by hbm2java
+ */
+@Embeddable
+public class SlotlinksId  implements java.io.Serializable {
+
+
+     private long slotrechteid;
+     private long messungid;
+     private BigDecimal uferabst;
+     private BigDecimal tsand;
+     private BigDecimal tschweb;
+     private BigDecimal fv;
+     private BigDecimal vm;
+     private BigDecimal tiefe;
+     private BigDecimal vsohle;
+     private String bemerkung;
+     private BigDecimal uferablinks;
+     private BigDecimal linksabst;
+
+    public SlotlinksId() {
+    }
+
+    public SlotlinksId(long slotrechteid, long messungid, BigDecimal uferabst) {
+        this.slotrechteid = slotrechteid;
+        this.messungid = messungid;
+        this.uferabst = uferabst;
+    }
+    public SlotlinksId(long slotrechteid, long messungid, BigDecimal uferabst, BigDecimal tsand, BigDecimal tschweb, BigDecimal fv, BigDecimal vm, BigDecimal tiefe, BigDecimal vsohle, String bemerkung, BigDecimal uferablinks, BigDecimal linksabst) {
+       this.slotrechteid = slotrechteid;
+       this.messungid = messungid;
+       this.uferabst = uferabst;
+       this.tsand = tsand;
+       this.tschweb = tschweb;
+       this.fv = fv;
+       this.vm = vm;
+       this.tiefe = tiefe;
+       this.vsohle = vsohle;
+       this.bemerkung = bemerkung;
+       this.uferablinks = uferablinks;
+       this.linksabst = linksabst;
+    }
+   
+
+
+    @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0)
+    public long getSlotrechteid() {
+        return this.slotrechteid;
+    }
+    
+    public void setSlotrechteid(long slotrechteid) {
+        this.slotrechteid = slotrechteid;
+    }
+
+
+    @Column(name="MESSUNGID", nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+
+
+    @Column(name="UFERABST", nullable=false, precision=8, scale=3)
+    public BigDecimal getUferabst() {
+        return this.uferabst;
+    }
+    
+    public void setUferabst(BigDecimal uferabst) {
+        this.uferabst = uferabst;
+    }
+
+
+    @Column(name="TSAND", precision=8, scale=3)
+    public BigDecimal getTsand() {
+        return this.tsand;
+    }
+    
+    public void setTsand(BigDecimal tsand) {
+        this.tsand = tsand;
+    }
+
+
+    @Column(name="TSCHWEB", precision=8, scale=3)
+    public BigDecimal getTschweb() {
+        return this.tschweb;
+    }
+    
+    public void setTschweb(BigDecimal tschweb) {
+        this.tschweb = tschweb;
+    }
+
+
+    @Column(name="FV", precision=6, scale=3)
+    public BigDecimal getFv() {
+        return this.fv;
+    }
+    
+    public void setFv(BigDecimal fv) {
+        this.fv = fv;
+    }
+
+
+    @Column(name="VM", precision=6, scale=4)
+    public BigDecimal getVm() {
+        return this.vm;
+    }
+    
+    public void setVm(BigDecimal vm) {
+        this.vm = vm;
+    }
+
+
+    @Column(name="TIEFE", precision=8, scale=3)
+    public BigDecimal getTiefe() {
+        return this.tiefe;
+    }
+    
+    public void setTiefe(BigDecimal tiefe) {
+        this.tiefe = tiefe;
+    }
+
+
+    @Column(name="VSOHLE", precision=6, scale=4)
+    public BigDecimal getVsohle() {
+        return this.vsohle;
+    }
+    
+    public void setVsohle(BigDecimal vsohle) {
+        this.vsohle = vsohle;
+    }
+
+
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+
+    @Column(name="UFERABLINKS", precision=8, scale=3)
+    public BigDecimal getUferablinks() {
+        return this.uferablinks;
+    }
+    
+    public void setUferablinks(BigDecimal uferablinks) {
+        this.uferablinks = uferablinks;
+    }
+
+
+    @Column(name="LINKSABST", precision=22, scale=0)
+    public BigDecimal getLinksabst() {
+        return this.linksabst;
+    }
+    
+    public void setLinksabst(BigDecimal linksabst) {
+        this.linksabst = linksabst;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+		 if ( (other == null ) ) return false;
+		 if ( !(other instanceof SlotlinksId) ) return false;
+		 SlotlinksId castOther = ( SlotlinksId ) other; 
+         
+		 return (this.getSlotrechteid()==castOther.getSlotrechteid())
+ && (this.getMessungid()==castOther.getMessungid())
+ && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) )
+ && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) )
+ && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) )
+ && ( (this.getFv()==castOther.getFv()) || ( this.getFv()!=null && castOther.getFv()!=null && this.getFv().equals(castOther.getFv()) ) )
+ && ( (this.getVm()==castOther.getVm()) || ( this.getVm()!=null && castOther.getVm()!=null && this.getVm().equals(castOther.getVm()) ) )
+ && ( (this.getTiefe()==castOther.getTiefe()) || ( this.getTiefe()!=null && castOther.getTiefe()!=null && this.getTiefe().equals(castOther.getTiefe()) ) )
+ && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) )
+ && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
+ && ( (this.getUferablinks()==castOther.getUferablinks()) || ( this.getUferablinks()!=null && castOther.getUferablinks()!=null && this.getUferablinks().equals(castOther.getUferablinks()) ) )
+ && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getSlotrechteid();
+         result = 37 * result + (int) this.getMessungid();
+         result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() );
+         result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() );
+         result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() );
+         result = 37 * result + ( getFv() == null ? 0 : this.getFv().hashCode() );
+         result = 37 * result + ( getVm() == null ? 0 : this.getVm().hashCode() );
+         result = 37 * result + ( getTiefe() == null ? 0 : this.getTiefe().hashCode() );
+         result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() );
+         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
+         result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() );
+         result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Slotrechte.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,183 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
+/**
+ * Slotrechte generated by hbm2java
+ */
+@Entity
+@Table(name="SLOTRECHTE"
+    ,schema="SEDDB"
+)
+public class Slotrechte  implements java.io.Serializable {
+
+
+     private long slotrechteid;
+     private Messung messung;
+     private BigDecimal uferabst;
+     private BigDecimal tsand;
+     private BigDecimal tschweb;
+     private BigDecimal fv;
+     private BigDecimal vm;
+     private BigDecimal tiefe;
+     private BigDecimal vsohle;
+     private String bemerkung;
+     private BigDecimal uferablinks;
+     private Set<Sprobe> sprobes = new HashSet<Sprobe>(0);
+
+    public Slotrechte() {
+    }
+
+    public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst) {
+        this.slotrechteid = slotrechteid;
+        this.messung = messung;
+        this.uferabst = uferabst;
+    }
+    public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tsand, BigDecimal tschweb, BigDecimal fv, BigDecimal vm, BigDecimal tiefe, BigDecimal vsohle, String bemerkung, BigDecimal uferablinks, Set<Sprobe> sprobes) {
+       this.slotrechteid = slotrechteid;
+       this.messung = messung;
+       this.uferabst = uferabst;
+       this.tsand = tsand;
+       this.tschweb = tschweb;
+       this.fv = fv;
+       this.vm = vm;
+       this.tiefe = tiefe;
+       this.vsohle = vsohle;
+       this.bemerkung = bemerkung;
+       this.uferablinks = uferablinks;
+       this.sprobes = sprobes;
+    }
+   
+     @Id 
+
+    
+    @Column(name="SLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSlotrechteid() {
+        return this.slotrechteid;
+    }
+    
+    public void setSlotrechteid(long slotrechteid) {
+        this.slotrechteid = slotrechteid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="MESSUNGID", nullable=false)
+    public Messung getMessung() {
+        return this.messung;
+    }
+    
+    public void setMessung(Messung messung) {
+        this.messung = messung;
+    }
+
+    
+    @Column(name="UFERABST", nullable=false, precision=8, scale=3)
+    public BigDecimal getUferabst() {
+        return this.uferabst;
+    }
+    
+    public void setUferabst(BigDecimal uferabst) {
+        this.uferabst = uferabst;
+    }
+
+    
+    @Column(name="TSAND", precision=8, scale=3)
+    public BigDecimal getTsand() {
+        return this.tsand;
+    }
+    
+    public void setTsand(BigDecimal tsand) {
+        this.tsand = tsand;
+    }
+
+    
+    @Column(name="TSCHWEB", precision=8, scale=3)
+    public BigDecimal getTschweb() {
+        return this.tschweb;
+    }
+    
+    public void setTschweb(BigDecimal tschweb) {
+        this.tschweb = tschweb;
+    }
+
+    
+    @Column(name="FV", precision=6, scale=3)
+    public BigDecimal getFv() {
+        return this.fv;
+    }
+    
+    public void setFv(BigDecimal fv) {
+        this.fv = fv;
+    }
+
+    
+    @Column(name="VM", precision=6, scale=4)
+    public BigDecimal getVm() {
+        return this.vm;
+    }
+    
+    public void setVm(BigDecimal vm) {
+        this.vm = vm;
+    }
+
+    
+    @Column(name="TIEFE", precision=8, scale=3)
+    public BigDecimal getTiefe() {
+        return this.tiefe;
+    }
+    
+    public void setTiefe(BigDecimal tiefe) {
+        this.tiefe = tiefe;
+    }
+
+    
+    @Column(name="VSOHLE", precision=6, scale=4)
+    public BigDecimal getVsohle() {
+        return this.vsohle;
+    }
+    
+    public void setVsohle(BigDecimal vsohle) {
+        this.vsohle = vsohle;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="UFERABLINKS", precision=8, scale=3)
+    public BigDecimal getUferablinks() {
+        return this.uferablinks;
+    }
+    
+    public void setUferablinks(BigDecimal uferablinks) {
+        this.uferablinks = uferablinks;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="slotrechte")
+    public Set<Sprobe> getSprobes() {
+        return this.sprobes;
+    }
+    
+    public void setSprobes(Set<Sprobe> sprobes) {
+        this.sprobes = sprobes;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Sohlprobe.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,156 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+
+/**
+ * Sohlprobe generated by hbm2java
+ */
+@Entity
+@Table(name="SOHLPROBE"
+    ,schema="SEDDB"
+)
+public class Sohlprobe  implements java.io.Serializable {
+
+
+     private long sohlprobeid;
+     private Zzprobenahmeart zzprobenahmeart;
+     private Sohltest sohltest;
+     private BigDecimal tiefevon;
+     private BigDecimal tiefebis;
+     private String beschreibung;
+     private Date lastupdated;
+     private Set<Probebild> probebilds = new HashSet<Probebild>(0);
+     private Set<Siebanalyse> siebanalyses = new HashSet<Siebanalyse>(0);
+
+    public Sohlprobe() {
+    }
+
+    public Sohlprobe(long sohlprobeid, Zzprobenahmeart zzprobenahmeart, Sohltest sohltest, Date lastupdated) {
+        this.sohlprobeid = sohlprobeid;
+        this.zzprobenahmeart = zzprobenahmeart;
+        this.sohltest = sohltest;
+        this.lastupdated = lastupdated;
+    }
+    public Sohlprobe(long sohlprobeid, Zzprobenahmeart zzprobenahmeart, Sohltest sohltest, BigDecimal tiefevon, BigDecimal tiefebis, String beschreibung, Date lastupdated, Set<Probebild> probebilds, Set<Siebanalyse> siebanalyses) {
+       this.sohlprobeid = sohlprobeid;
+       this.zzprobenahmeart = zzprobenahmeart;
+       this.sohltest = sohltest;
+       this.tiefevon = tiefevon;
+       this.tiefebis = tiefebis;
+       this.beschreibung = beschreibung;
+       this.lastupdated = lastupdated;
+       this.probebilds = probebilds;
+       this.siebanalyses = siebanalyses;
+    }
+   
+     @Id 
+
+    
+    @Column(name="SOHLPROBEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSohlprobeid() {
+        return this.sohlprobeid;
+    }
+    
+    public void setSohlprobeid(long sohlprobeid) {
+        this.sohlprobeid = sohlprobeid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="PROBENAHMEARTID", nullable=false)
+    public Zzprobenahmeart getZzprobenahmeart() {
+        return this.zzprobenahmeart;
+    }
+    
+    public void setZzprobenahmeart(Zzprobenahmeart zzprobenahmeart) {
+        this.zzprobenahmeart = zzprobenahmeart;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SOHLTESTID", nullable=false)
+    public Sohltest getSohltest() {
+        return this.sohltest;
+    }
+    
+    public void setSohltest(Sohltest sohltest) {
+        this.sohltest = sohltest;
+    }
+
+    
+    @Column(name="TIEFEVON", precision=8, scale=3)
+    public BigDecimal getTiefevon() {
+        return this.tiefevon;
+    }
+    
+    public void setTiefevon(BigDecimal tiefevon) {
+        this.tiefevon = tiefevon;
+    }
+
+    
+    @Column(name="TIEFEBIS", precision=8, scale=3)
+    public BigDecimal getTiefebis() {
+        return this.tiefebis;
+    }
+    
+    public void setTiefebis(BigDecimal tiefebis) {
+        this.tiefebis = tiefebis;
+    }
+
+    
+    @Column(name="BESCHREIBUNG", length=1024)
+    public String getBeschreibung() {
+        return this.beschreibung;
+    }
+    
+    public void setBeschreibung(String beschreibung) {
+        this.beschreibung = beschreibung;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="LASTUPDATED", nullable=false, length=7)
+    public Date getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Date lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="sohlprobe")
+    public Set<Probebild> getProbebilds() {
+        return this.probebilds;
+    }
+    
+    public void setProbebilds(Set<Probebild> probebilds) {
+        this.probebilds = probebilds;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="sohlprobe")
+    public Set<Siebanalyse> getSiebanalyses() {
+        return this.siebanalyses;
+    }
+    
+    public void setSiebanalyses(Set<Siebanalyse> siebanalyses) {
+        this.siebanalyses = siebanalyses;
+    }
+
+
+
+
+}
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Sohltest.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,299 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+
+/**
+ * Sohltest generated by hbm2java
+ */
+@Entity
+@Table(name="SOHLTEST"
+    ,schema="SEDDB"
+)
+public class Sohltest  implements java.io.Serializable {
+
+     private long sohltestid;
+     private Station station;
+     private Zzsondierungart zzsondierungart;
+     private Zzarchiv zzarchiv;
+     private Date datum;
+     private boolean istnurjahr;
+     private BigDecimal km;
+     private BigDecimal abstand;
+     private boolean abstistvonlinks;
+     private boolean abstbezug;
+     private BigDecimal abstoffset;
+     private BigDecimal abstlinks;
+     private BigDecimal rechts;
+     private BigDecimal hoch;
+     private BigDecimal hoehe;
+     private String bemerkung;
+     private String sohlebeschreib;
+     private String sondierungbeschreib;
+     private Date lastupdated;
+     private Set<Bild> bilds = new HashSet<Bild>(0);
+     private Set<Sohlprobe> sohlprobes = new HashSet<Sohlprobe>(0);
+
+    public Sohltest() {
+    }
+
+	
+    public Sohltest(long sohltestid, Station station, Date datum, boolean istnurjahr, BigDecimal abstand, boolean abstistvonlinks, boolean abstbezug, BigDecimal abstoffset, Date lastupdated) {
+        this.sohltestid = sohltestid;
+        this.station = station;
+        this.datum = datum;
+        this.istnurjahr = istnurjahr;
+        this.abstand = abstand;
+        this.abstistvonlinks = abstistvonlinks;
+        this.abstbezug = abstbezug;
+        this.abstoffset = abstoffset;
+        this.lastupdated = lastupdated;
+    }
+    public Sohltest(long sohltestid, Station station, Zzsondierungart zzsondierungart, Zzarchiv zzarchiv, Date datum, boolean istnurjahr, BigDecimal km, BigDecimal abstand, boolean abstistvonlinks, boolean abstbezug, BigDecimal abstoffset, BigDecimal abstlinks, BigDecimal rechts, BigDecimal hoch, BigDecimal hoehe, String bemerkung, String sohlebeschreib, String sondierungbeschreib, Date lastupdated, Set<Bild> bilds, Set<Sohlprobe> sohlprobes) {
+       this.sohltestid = sohltestid;
+       this.station = station;
+       this.zzsondierungart = zzsondierungart;
+       this.zzarchiv = zzarchiv;
+       this.datum = datum;
+       this.istnurjahr = istnurjahr;
+       this.km = km;
+       this.abstand = abstand;
+       this.abstistvonlinks = abstistvonlinks;
+       this.abstbezug = abstbezug;
+       this.abstoffset = abstoffset;
+       this.abstlinks = abstlinks;
+       this.rechts = rechts;
+       this.hoch = hoch;
+       this.hoehe = hoehe;
+       this.bemerkung = bemerkung;
+       this.sohlebeschreib = sohlebeschreib;
+       this.sondierungbeschreib = sondierungbeschreib;
+       this.lastupdated = lastupdated;
+       this.bilds = bilds;
+       this.sohlprobes = sohlprobes;
+    }
+   
+     @Id 
+
+    
+    @Column(name="SOHLTESTID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSohltestid() {
+        return this.sohltestid;
+    }
+    
+    public void setSohltestid(long sohltestid) {
+        this.sohltestid = sohltestid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="STATIONID", nullable=false)
+    public Station getStation() {
+        return this.station;
+    }
+    
+    public void setStation(Station station) {
+        this.station = station;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SONDIERUNGARTID")
+    public Zzsondierungart getZzsondierungart() {
+        return this.zzsondierungart;
+    }
+    
+    public void setZzsondierungart(Zzsondierungart zzsondierungart) {
+        this.zzsondierungart = zzsondierungart;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="ARCHIVID")
+    public Zzarchiv getZzarchiv() {
+        return this.zzarchiv;
+    }
+    
+    public void setZzarchiv(Zzarchiv zzarchiv) {
+        this.zzarchiv = zzarchiv;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="DATUM", nullable=false, length=7)
+    public Date getDatum() {
+        return this.datum;
+    }
+    
+    public void setDatum(Date datum) {
+        this.datum = datum;
+    }
+
+    
+    @Column(name="ISTNURJAHR", nullable=false, precision=1, scale=0)
+    public boolean isIstnurjahr() {
+        return this.istnurjahr;
+    }
+    
+    public void setIstnurjahr(boolean istnurjahr) {
+        this.istnurjahr = istnurjahr;
+    }
+
+    
+    @Column(name="KM", precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    
+    @Column(name="ABSTAND", nullable=false, precision=8, scale=3)
+    public BigDecimal getAbstand() {
+        return this.abstand;
+    }
+    
+    public void setAbstand(BigDecimal abstand) {
+        this.abstand = abstand;
+    }
+
+    
+    @Column(name="ABSTISTVONLINKS", nullable=false, precision=1, scale=0)
+    public boolean isAbstistvonlinks() {
+        return this.abstistvonlinks;
+    }
+    
+    public void setAbstistvonlinks(boolean abstistvonlinks) {
+        this.abstistvonlinks = abstistvonlinks;
+    }
+
+    
+    @Column(name="ABSTBEZUG", nullable=false, precision=1, scale=0)
+    public boolean isAbstbezug() {
+        return this.abstbezug;
+    }
+    
+    public void setAbstbezug(boolean abstbezug) {
+        this.abstbezug = abstbezug;
+    }
+
+    
+    @Column(name="ABSTOFFSET", nullable=false, precision=8, scale=3)
+    public BigDecimal getAbstoffset() {
+        return this.abstoffset;
+    }
+    
+    public void setAbstoffset(BigDecimal abstoffset) {
+        this.abstoffset = abstoffset;
+    }
+
+    
+    @Column(name="ABSTLINKS", precision=8, scale=3)
+    public BigDecimal getAbstlinks() {
+        return this.abstlinks;
+    }
+    
+    public void setAbstlinks(BigDecimal abstlinks) {
+        this.abstlinks = abstlinks;
+    }
+
+    
+    @Column(name="RECHTS", precision=11, scale=3)
+    public BigDecimal getRechts() {
+        return this.rechts;
+    }
+    
+    public void setRechts(BigDecimal rechts) {
+        this.rechts = rechts;
+    }
+
+    
+    @Column(name="HOCH", precision=11, scale=3)
+    public BigDecimal getHoch() {
+        return this.hoch;
+    }
+    
+    public void setHoch(BigDecimal hoch) {
+        this.hoch = hoch;
+    }
+
+    
+    @Column(name="HOEHE", precision=8, scale=3)
+    public BigDecimal getHoehe() {
+        return this.hoehe;
+    }
+    
+    public void setHoehe(BigDecimal hoehe) {
+        this.hoehe = hoehe;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="SOHLEBESCHREIB", length=1024)
+    public String getSohlebeschreib() {
+        return this.sohlebeschreib;
+    }
+    
+    public void setSohlebeschreib(String sohlebeschreib) {
+        this.sohlebeschreib = sohlebeschreib;
+    }
+
+    
+    @Column(name="SONDIERUNGBESCHREIB", length=1024)
+    public String getSondierungbeschreib() {
+        return this.sondierungbeschreib;
+    }
+    
+    public void setSondierungbeschreib(String sondierungbeschreib) {
+        this.sondierungbeschreib = sondierungbeschreib;
+    }
+
+    @Temporal(TemporalType.DATE)
+    @Column(name="LASTUPDATED", nullable=false, length=7)
+    public Date getLastupdated() {
+        return this.lastupdated;
+    }
+    
+    public void setLastupdated(Date lastupdated) {
+        this.lastupdated = lastupdated;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest")
+    public Set<Bild> getBilds() {
+        return this.bilds;
+    }
+    
+    public void setBilds(Set<Bild> bilds) {
+        this.bilds = bilds;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest")
+    public Set<Sohlprobe> getSohlprobes() {
+        return this.sohlprobes;
+    }
+    
+    public void setSohlprobes(Set<Sohlprobe> sohlprobes) {
+        this.sohlprobes = sohlprobes;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Sprobe.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,154 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+
+/**
+ * Sprobe generated by hbm2java
+ */
+@Entity
+@Table(name="SPROBE"
+    ,schema="SEDDB"
+)
+public class Sprobe  implements java.io.Serializable {
+
+
+     private SprobeId id;
+     private Slotrechte slotrechte;
+     private short wprozpkt;
+     private BigDecimal wpkt;
+     private BigDecimal vpkt;
+     private BigDecimal csandpkt;
+     private BigDecimal cschwebpkt;
+     private BigDecimal sandtrieb;
+     private BigDecimal schwebtrieb;
+
+    public Sprobe() {
+    }
+
+	
+    public Sprobe(SprobeId id, Slotrechte slotrechte, short wprozpkt, BigDecimal wpkt, BigDecimal vpkt, BigDecimal csandpkt, BigDecimal cschwebpkt) {
+        this.id = id;
+        this.slotrechte = slotrechte;
+        this.wprozpkt = wprozpkt;
+        this.wpkt = wpkt;
+        this.vpkt = vpkt;
+        this.csandpkt = csandpkt;
+        this.cschwebpkt = cschwebpkt;
+    }
+    public Sprobe(SprobeId id, Slotrechte slotrechte, short wprozpkt, BigDecimal wpkt, BigDecimal vpkt, BigDecimal csandpkt, BigDecimal cschwebpkt, BigDecimal sandtrieb, BigDecimal schwebtrieb) {
+       this.id = id;
+       this.slotrechte = slotrechte;
+       this.wprozpkt = wprozpkt;
+       this.wpkt = wpkt;
+       this.vpkt = vpkt;
+       this.csandpkt = csandpkt;
+       this.cschwebpkt = cschwebpkt;
+       this.sandtrieb = sandtrieb;
+       this.schwebtrieb = schwebtrieb;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="slotrechteid", column=@Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="lfdnr", column=@Column(name="LFDNR", nullable=false, precision=5, scale=0) ) } )
+    public SprobeId getId() {
+        return this.id;
+    }
+    
+    public void setId(SprobeId id) {
+        this.id = id;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="SLOTRECHTEID", nullable=false, insertable=false, updatable=false)
+    public Slotrechte getSlotrechte() {
+        return this.slotrechte;
+    }
+    
+    public void setSlotrechte(Slotrechte slotrechte) {
+        this.slotrechte = slotrechte;
+    }
+
+    
+    @Column(name="WPROZPKT", nullable=false, precision=3, scale=0)
+    public short getWprozpkt() {
+        return this.wprozpkt;
+    }
+    
+    public void setWprozpkt(short wprozpkt) {
+        this.wprozpkt = wprozpkt;
+    }
+
+    
+    @Column(name="WPKT", nullable=false, precision=8, scale=3)
+    public BigDecimal getWpkt() {
+        return this.wpkt;
+    }
+    
+    public void setWpkt(BigDecimal wpkt) {
+        this.wpkt = wpkt;
+    }
+
+    
+    @Column(name="VPKT", nullable=false, precision=6, scale=4)
+    public BigDecimal getVpkt() {
+        return this.vpkt;
+    }
+    
+    public void setVpkt(BigDecimal vpkt) {
+        this.vpkt = vpkt;
+    }
+
+    
+    @Column(name="CSANDPKT", nullable=false, precision=8, scale=3)
+    public BigDecimal getCsandpkt() {
+        return this.csandpkt;
+    }
+    
+    public void setCsandpkt(BigDecimal csandpkt) {
+        this.csandpkt = csandpkt;
+    }
+
+    
+    @Column(name="CSCHWEBPKT", nullable=false, precision=8, scale=3)
+    public BigDecimal getCschwebpkt() {
+        return this.cschwebpkt;
+    }
+    
+    public void setCschwebpkt(BigDecimal cschwebpkt) {
+        this.cschwebpkt = cschwebpkt;
+    }
+
+    
+    @Column(name="SANDTRIEB", precision=8, scale=3)
+    public BigDecimal getSandtrieb() {
+        return this.sandtrieb;
+    }
+    
+    public void setSandtrieb(BigDecimal sandtrieb) {
+        this.sandtrieb = sandtrieb;
+    }
+
+    
+    @Column(name="SCHWEBTRIEB", precision=8, scale=3)
+    public BigDecimal getSchwebtrieb() {
+        return this.schwebtrieb;
+    }
+    
+    public void setSchwebtrieb(BigDecimal schwebtrieb) {
+        this.schwebtrieb = schwebtrieb;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/SprobeId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,65 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * SprobeId generated by hbm2java
+ */
+@Embeddable
+public class SprobeId  implements java.io.Serializable {
+
+
+     private long slotrechteid;
+     private int lfdnr;
+
+    public SprobeId() {
+    }
+
+    public SprobeId(long slotrechteid, int lfdnr) {
+       this.slotrechteid = slotrechteid;
+       this.lfdnr = lfdnr;
+    }
+   
+
+
+    @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0)
+    public long getSlotrechteid() {
+        return this.slotrechteid;
+    }
+    
+    public void setSlotrechteid(long slotrechteid) {
+        this.slotrechteid = slotrechteid;
+    }
+
+
+    @Column(name="LFDNR", nullable=false, precision=5, scale=0)
+    public int getLfdnr() {
+        return this.lfdnr;
+    }
+    
+    public void setLfdnr(int lfdnr) {
+        this.lfdnr = lfdnr;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof SprobeId) ) return false;
+         SprobeId castOther = ( SprobeId ) other; 
+         
+         return (this.getSlotrechteid()==castOther.getSlotrechteid())
+ && (this.getLfdnr()==castOther.getLfdnr());
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getSlotrechteid();
+         result = 37 * result + this.getLfdnr();
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Ssiebung.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,351 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToOne;
+import javax.persistence.PrimaryKeyJoinColumn;
+import javax.persistence.Table;
+import org.hibernate.annotations.GenericGenerator;
+import org.hibernate.annotations.Parameter;
+
+/**
+ * Ssiebung generated by hbm2java
+ */
+@Entity
+@Table(name="SSIEBUNG"
+    ,schema="SEDDB"
+)
+public class Ssiebung  implements java.io.Serializable {
+
+
+     private long siebanalyseid;
+     private Siebanalyse siebanalyse;
+     private Gsiebsatz gsiebsatz;
+     private BigDecimal gmasse;
+     private BigDecimal rsieb01;
+     private BigDecimal rsieb02;
+     private BigDecimal rsieb03;
+     private BigDecimal rsieb04;
+     private BigDecimal rsieb05;
+     private BigDecimal rsieb06;
+     private BigDecimal rsieb07;
+     private BigDecimal rsieb08;
+     private BigDecimal rsieb09;
+     private BigDecimal rsieb10;
+     private BigDecimal rsieb11;
+     private BigDecimal rsieb12;
+     private BigDecimal rsieb13;
+     private BigDecimal rsieb14;
+     private BigDecimal rsieb15;
+     private BigDecimal rsieb16;
+     private BigDecimal rsieb17;
+     private BigDecimal rsieb18;
+     private BigDecimal rsieb19;
+     private BigDecimal rsieb20;
+     private BigDecimal rsieb21;
+     private BigDecimal rest;
+
+    public Ssiebung() {
+    }
+
+    public Ssiebung(Siebanalyse siebanalyse, Gsiebsatz gsiebsatz) {
+        this.siebanalyse = siebanalyse;
+        this.gsiebsatz = gsiebsatz;
+    }
+    public Ssiebung(Siebanalyse siebanalyse, Gsiebsatz gsiebsatz, BigDecimal gmasse, BigDecimal rsieb01, BigDecimal rsieb02, BigDecimal rsieb03, BigDecimal rsieb04, BigDecimal rsieb05, BigDecimal rsieb06, BigDecimal rsieb07, BigDecimal rsieb08, BigDecimal rsieb09, BigDecimal rsieb10, BigDecimal rsieb11, BigDecimal rsieb12, BigDecimal rsieb13, BigDecimal rsieb14, BigDecimal rsieb15, BigDecimal rsieb16, BigDecimal rsieb17, BigDecimal rsieb18, BigDecimal rsieb19, BigDecimal rsieb20, BigDecimal rsieb21, BigDecimal rest) {
+       this.siebanalyse = siebanalyse;
+       this.gsiebsatz = gsiebsatz;
+       this.gmasse = gmasse;
+       this.rsieb01 = rsieb01;
+       this.rsieb02 = rsieb02;
+       this.rsieb03 = rsieb03;
+       this.rsieb04 = rsieb04;
+       this.rsieb05 = rsieb05;
+       this.rsieb06 = rsieb06;
+       this.rsieb07 = rsieb07;
+       this.rsieb08 = rsieb08;
+       this.rsieb09 = rsieb09;
+       this.rsieb10 = rsieb10;
+       this.rsieb11 = rsieb11;
+       this.rsieb12 = rsieb12;
+       this.rsieb13 = rsieb13;
+       this.rsieb14 = rsieb14;
+       this.rsieb15 = rsieb15;
+       this.rsieb16 = rsieb16;
+       this.rsieb17 = rsieb17;
+       this.rsieb18 = rsieb18;
+       this.rsieb19 = rsieb19;
+       this.rsieb20 = rsieb20;
+       this.rsieb21 = rsieb21;
+       this.rest = rest;
+    }
+   
+     @GenericGenerator(name="generator", strategy="foreign", parameters=@Parameter(name="property", value="siebanalyse"))@Id @GeneratedValue(generator="generator")
+
+    
+    @Column(name="SIEBANALYSEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSiebanalyseid() {
+        return this.siebanalyseid;
+    }
+    
+    public void setSiebanalyseid(long siebanalyseid) {
+        this.siebanalyseid = siebanalyseid;
+    }
+
+@OneToOne(fetch=FetchType.LAZY)@PrimaryKeyJoinColumn
+    public Siebanalyse getSiebanalyse() {
+        return this.siebanalyse;
+    }
+    
+    public void setSiebanalyse(Siebanalyse siebanalyse) {
+        this.siebanalyse = siebanalyse;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GSIEBSATZID", nullable=false)
+    public Gsiebsatz getGsiebsatz() {
+        return this.gsiebsatz;
+    }
+    
+    public void setGsiebsatz(Gsiebsatz gsiebsatz) {
+        this.gsiebsatz = gsiebsatz;
+    }
+
+    
+    @Column(name="GMASSE", precision=9, scale=3)
+    public BigDecimal getGmasse() {
+        return this.gmasse;
+    }
+    
+    public void setGmasse(BigDecimal gmasse) {
+        this.gmasse = gmasse;
+    }
+
+    
+    @Column(name="RSIEB01", precision=9, scale=3)
+    public BigDecimal getRsieb01() {
+        return this.rsieb01;
+    }
+    
+    public void setRsieb01(BigDecimal rsieb01) {
+        this.rsieb01 = rsieb01;
+    }
+
+    
+    @Column(name="RSIEB02", precision=9, scale=3)
+    public BigDecimal getRsieb02() {
+        return this.rsieb02;
+    }
+    
+    public void setRsieb02(BigDecimal rsieb02) {
+        this.rsieb02 = rsieb02;
+    }
+
+    
+    @Column(name="RSIEB03", precision=9, scale=3)
+    public BigDecimal getRsieb03() {
+        return this.rsieb03;
+    }
+    
+    public void setRsieb03(BigDecimal rsieb03) {
+        this.rsieb03 = rsieb03;
+    }
+
+    
+    @Column(name="RSIEB04", precision=9, scale=3)
+    public BigDecimal getRsieb04() {
+        return this.rsieb04;
+    }
+    
+    public void setRsieb04(BigDecimal rsieb04) {
+        this.rsieb04 = rsieb04;
+    }
+
+    
+    @Column(name="RSIEB05", precision=9, scale=3)
+    public BigDecimal getRsieb05() {
+        return this.rsieb05;
+    }
+    
+    public void setRsieb05(BigDecimal rsieb05) {
+        this.rsieb05 = rsieb05;
+    }
+
+    
+    @Column(name="RSIEB06", precision=9, scale=3)
+    public BigDecimal getRsieb06() {
+        return this.rsieb06;
+    }
+    
+    public void setRsieb06(BigDecimal rsieb06) {
+        this.rsieb06 = rsieb06;
+    }
+
+    
+    @Column(name="RSIEB07", precision=9, scale=3)
+    public BigDecimal getRsieb07() {
+        return this.rsieb07;
+    }
+    
+    public void setRsieb07(BigDecimal rsieb07) {
+        this.rsieb07 = rsieb07;
+    }
+
+    
+    @Column(name="RSIEB08", precision=9, scale=3)
+    public BigDecimal getRsieb08() {
+        return this.rsieb08;
+    }
+    
+    public void setRsieb08(BigDecimal rsieb08) {
+        this.rsieb08 = rsieb08;
+    }
+
+    
+    @Column(name="RSIEB09", precision=9, scale=3)
+    public BigDecimal getRsieb09() {
+        return this.rsieb09;
+    }
+    
+    public void setRsieb09(BigDecimal rsieb09) {
+        this.rsieb09 = rsieb09;
+    }
+
+    
+    @Column(name="RSIEB10", precision=9, scale=3)
+    public BigDecimal getRsieb10() {
+        return this.rsieb10;
+    }
+    
+    public void setRsieb10(BigDecimal rsieb10) {
+        this.rsieb10 = rsieb10;
+    }
+
+    
+    @Column(name="RSIEB11", precision=9, scale=3)
+    public BigDecimal getRsieb11() {
+        return this.rsieb11;
+    }
+    
+    public void setRsieb11(BigDecimal rsieb11) {
+        this.rsieb11 = rsieb11;
+    }
+
+    
+    @Column(name="RSIEB12", precision=9, scale=3)
+    public BigDecimal getRsieb12() {
+        return this.rsieb12;
+    }
+    
+    public void setRsieb12(BigDecimal rsieb12) {
+        this.rsieb12 = rsieb12;
+    }
+
+    
+    @Column(name="RSIEB13", precision=9, scale=3)
+    public BigDecimal getRsieb13() {
+        return this.rsieb13;
+    }
+    
+    public void setRsieb13(BigDecimal rsieb13) {
+        this.rsieb13 = rsieb13;
+    }
+
+    
+    @Column(name="RSIEB14", precision=9, scale=3)
+    public BigDecimal getRsieb14() {
+        return this.rsieb14;
+    }
+    
+    public void setRsieb14(BigDecimal rsieb14) {
+        this.rsieb14 = rsieb14;
+    }
+
+    
+    @Column(name="RSIEB15", precision=9, scale=3)
+    public BigDecimal getRsieb15() {
+        return this.rsieb15;
+    }
+    
+    public void setRsieb15(BigDecimal rsieb15) {
+        this.rsieb15 = rsieb15;
+    }
+
+    
+    @Column(name="RSIEB16", precision=9, scale=3)
+    public BigDecimal getRsieb16() {
+        return this.rsieb16;
+    }
+    
+    public void setRsieb16(BigDecimal rsieb16) {
+        this.rsieb16 = rsieb16;
+    }
+
+    
+    @Column(name="RSIEB17", precision=9, scale=3)
+    public BigDecimal getRsieb17() {
+        return this.rsieb17;
+    }
+    
+    public void setRsieb17(BigDecimal rsieb17) {
+        this.rsieb17 = rsieb17;
+    }
+
+    
+    @Column(name="RSIEB18", precision=9, scale=3)
+    public BigDecimal getRsieb18() {
+        return this.rsieb18;
+    }
+    
+    public void setRsieb18(BigDecimal rsieb18) {
+        this.rsieb18 = rsieb18;
+    }
+
+    
+    @Column(name="RSIEB19", precision=9, scale=3)
+    public BigDecimal getRsieb19() {
+        return this.rsieb19;
+    }
+    
+    public void setRsieb19(BigDecimal rsieb19) {
+        this.rsieb19 = rsieb19;
+    }
+
+    
+    @Column(name="RSIEB20", precision=9, scale=3)
+    public BigDecimal getRsieb20() {
+        return this.rsieb20;
+    }
+    
+    public void setRsieb20(BigDecimal rsieb20) {
+        this.rsieb20 = rsieb20;
+    }
+
+    
+    @Column(name="RSIEB21", precision=9, scale=3)
+    public BigDecimal getRsieb21() {
+        return this.rsieb21;
+    }
+    
+    public void setRsieb21(BigDecimal rsieb21) {
+        this.rsieb21 = rsieb21;
+    }
+
+    
+    @Column(name="REST", precision=9, scale=3)
+    public BigDecimal getRest() {
+        return this.rest;
+    }
+    
+    public void setRest(BigDecimal rest) {
+        this.rest = rest;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Ssiebungsieb.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,88 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Ssiebungsieb generated by hbm2java
+ */
+@Entity
+@Table(name="SSIEBUNGSIEB"
+    ,schema="SEDDB"
+)
+public class Ssiebungsieb  implements java.io.Serializable {
+
+
+     private SsiebungsiebId id;
+
+    public Ssiebungsieb() {
+    }
+
+    public Ssiebungsieb(SsiebungsiebId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="siebanalyseid", column=@Column(name="SIEBANALYSEID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gmasse", column=@Column(name="GMASSE", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche01", column=@Column(name="MASCHE01", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck01", column=@Column(name="RUECK01", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche02", column=@Column(name="MASCHE02", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck02", column=@Column(name="RUECK02", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche03", column=@Column(name="MASCHE03", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck03", column=@Column(name="RUECK03", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche04", column=@Column(name="MASCHE04", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck04", column=@Column(name="RUECK04", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche05", column=@Column(name="MASCHE05", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck05", column=@Column(name="RUECK05", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche06", column=@Column(name="MASCHE06", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck06", column=@Column(name="RUECK06", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche07", column=@Column(name="MASCHE07", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck07", column=@Column(name="RUECK07", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche08", column=@Column(name="MASCHE08", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck08", column=@Column(name="RUECK08", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche09", column=@Column(name="MASCHE09", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck09", column=@Column(name="RUECK09", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche10", column=@Column(name="MASCHE10", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck10", column=@Column(name="RUECK10", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche11", column=@Column(name="MASCHE11", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck11", column=@Column(name="RUECK11", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche12", column=@Column(name="MASCHE12", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck12", column=@Column(name="RUECK12", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche13", column=@Column(name="MASCHE13", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck13", column=@Column(name="RUECK13", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche14", column=@Column(name="MASCHE14", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck14", column=@Column(name="RUECK14", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche15", column=@Column(name="MASCHE15", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck15", column=@Column(name="RUECK15", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche16", column=@Column(name="MASCHE16", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck16", column=@Column(name="RUECK16", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche17", column=@Column(name="MASCHE17", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck17", column=@Column(name="RUECK17", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche18", column=@Column(name="MASCHE18", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck18", column=@Column(name="RUECK18", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche19", column=@Column(name="MASCHE19", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck19", column=@Column(name="RUECK19", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche20", column=@Column(name="MASCHE20", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck20", column=@Column(name="RUECK20", precision=9, scale=3) ), 
+        @AttributeOverride(name="masche21", column=@Column(name="MASCHE21", precision=7, scale=4) ), 
+        @AttributeOverride(name="rueck21", column=@Column(name="RUECK21", precision=9, scale=3) ), 
+        @AttributeOverride(name="rest", column=@Column(name="REST", precision=9, scale=3) ) } )
+    public SsiebungsiebId getId() {
+        return this.id;
+    }
+    
+    public void setId(SsiebungsiebId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/SsiebungsiebId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,686 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * SsiebungsiebId generated by hbm2java
+ */
+@Embeddable
+public class SsiebungsiebId  implements java.io.Serializable {
+
+
+     private long siebanalyseid;
+     private long gsiebsatzid;
+     private BigDecimal gmasse;
+     private BigDecimal masche01;
+     private BigDecimal rueck01;
+     private BigDecimal masche02;
+     private BigDecimal rueck02;
+     private BigDecimal masche03;
+     private BigDecimal rueck03;
+     private BigDecimal masche04;
+     private BigDecimal rueck04;
+     private BigDecimal masche05;
+     private BigDecimal rueck05;
+     private BigDecimal masche06;
+     private BigDecimal rueck06;
+     private BigDecimal masche07;
+     private BigDecimal rueck07;
+     private BigDecimal masche08;
+     private BigDecimal rueck08;
+     private BigDecimal masche09;
+     private BigDecimal rueck09;
+     private BigDecimal masche10;
+     private BigDecimal rueck10;
+     private BigDecimal masche11;
+     private BigDecimal rueck11;
+     private BigDecimal masche12;
+     private BigDecimal rueck12;
+     private BigDecimal masche13;
+     private BigDecimal rueck13;
+     private BigDecimal masche14;
+     private BigDecimal rueck14;
+     private BigDecimal masche15;
+     private BigDecimal rueck15;
+     private BigDecimal masche16;
+     private BigDecimal rueck16;
+     private BigDecimal masche17;
+     private BigDecimal rueck17;
+     private BigDecimal masche18;
+     private BigDecimal rueck18;
+     private BigDecimal masche19;
+     private BigDecimal rueck19;
+     private BigDecimal masche20;
+     private BigDecimal rueck20;
+     private BigDecimal masche21;
+     private BigDecimal rueck21;
+     private BigDecimal rest;
+
+    public SsiebungsiebId() {
+    }
+
+    public SsiebungsiebId(long siebanalyseid, long gsiebsatzid) {
+        this.siebanalyseid = siebanalyseid;
+        this.gsiebsatzid = gsiebsatzid;
+    }
+    public SsiebungsiebId(long siebanalyseid, long gsiebsatzid, BigDecimal gmasse, BigDecimal masche01, BigDecimal rueck01, BigDecimal masche02, BigDecimal rueck02, BigDecimal masche03, BigDecimal rueck03, BigDecimal masche04, BigDecimal rueck04, BigDecimal masche05, BigDecimal rueck05, BigDecimal masche06, BigDecimal rueck06, BigDecimal masche07, BigDecimal rueck07, BigDecimal masche08, BigDecimal rueck08, BigDecimal masche09, BigDecimal rueck09, BigDecimal masche10, BigDecimal rueck10, BigDecimal masche11, BigDecimal rueck11, BigDecimal masche12, BigDecimal rueck12, BigDecimal masche13, BigDecimal rueck13, BigDecimal masche14, BigDecimal rueck14, BigDecimal masche15, BigDecimal rueck15, BigDecimal masche16, BigDecimal rueck16, BigDecimal masche17, BigDecimal rueck17, BigDecimal masche18, BigDecimal rueck18, BigDecimal masche19, BigDecimal rueck19, BigDecimal masche20, BigDecimal rueck20, BigDecimal masche21, BigDecimal rueck21, BigDecimal rest) {
+       this.siebanalyseid = siebanalyseid;
+       this.gsiebsatzid = gsiebsatzid;
+       this.gmasse = gmasse;
+       this.masche01 = masche01;
+       this.rueck01 = rueck01;
+       this.masche02 = masche02;
+       this.rueck02 = rueck02;
+       this.masche03 = masche03;
+       this.rueck03 = rueck03;
+       this.masche04 = masche04;
+       this.rueck04 = rueck04;
+       this.masche05 = masche05;
+       this.rueck05 = rueck05;
+       this.masche06 = masche06;
+       this.rueck06 = rueck06;
+       this.masche07 = masche07;
+       this.rueck07 = rueck07;
+       this.masche08 = masche08;
+       this.rueck08 = rueck08;
+       this.masche09 = masche09;
+       this.rueck09 = rueck09;
+       this.masche10 = masche10;
+       this.rueck10 = rueck10;
+       this.masche11 = masche11;
+       this.rueck11 = rueck11;
+       this.masche12 = masche12;
+       this.rueck12 = rueck12;
+       this.masche13 = masche13;
+       this.rueck13 = rueck13;
+       this.masche14 = masche14;
+       this.rueck14 = rueck14;
+       this.masche15 = masche15;
+       this.rueck15 = rueck15;
+       this.masche16 = masche16;
+       this.rueck16 = rueck16;
+       this.masche17 = masche17;
+       this.rueck17 = rueck17;
+       this.masche18 = masche18;
+       this.rueck18 = rueck18;
+       this.masche19 = masche19;
+       this.rueck19 = rueck19;
+       this.masche20 = masche20;
+       this.rueck20 = rueck20;
+       this.masche21 = masche21;
+       this.rueck21 = rueck21;
+       this.rest = rest;
+    }
+   
+
+
+    @Column(name="SIEBANALYSEID", nullable=false, precision=11, scale=0)
+    public long getSiebanalyseid() {
+        return this.siebanalyseid;
+    }
+    
+    public void setSiebanalyseid(long siebanalyseid) {
+        this.siebanalyseid = siebanalyseid;
+    }
+
+
+    @Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0)
+    public long getGsiebsatzid() {
+        return this.gsiebsatzid;
+    }
+    
+    public void setGsiebsatzid(long gsiebsatzid) {
+        this.gsiebsatzid = gsiebsatzid;
+    }
+
+
+    @Column(name="GMASSE", precision=9, scale=3)
+    public BigDecimal getGmasse() {
+        return this.gmasse;
+    }
+    
+    public void setGmasse(BigDecimal gmasse) {
+        this.gmasse = gmasse;
+    }
+
+
+    @Column(name="MASCHE01", precision=7, scale=4)
+    public BigDecimal getMasche01() {
+        return this.masche01;
+    }
+    
+    public void setMasche01(BigDecimal masche01) {
+        this.masche01 = masche01;
+    }
+
+
+    @Column(name="RUECK01", precision=9, scale=3)
+    public BigDecimal getRueck01() {
+        return this.rueck01;
+    }
+    
+    public void setRueck01(BigDecimal rueck01) {
+        this.rueck01 = rueck01;
+    }
+
+
+    @Column(name="MASCHE02", precision=7, scale=4)
+    public BigDecimal getMasche02() {
+        return this.masche02;
+    }
+    
+    public void setMasche02(BigDecimal masche02) {
+        this.masche02 = masche02;
+    }
+
+
+    @Column(name="RUECK02", precision=9, scale=3)
+    public BigDecimal getRueck02() {
+        return this.rueck02;
+    }
+    
+    public void setRueck02(BigDecimal rueck02) {
+        this.rueck02 = rueck02;
+    }
+
+
+    @Column(name="MASCHE03", precision=7, scale=4)
+    public BigDecimal getMasche03() {
+        return this.masche03;
+    }
+    
+    public void setMasche03(BigDecimal masche03) {
+        this.masche03 = masche03;
+    }
+
+
+    @Column(name="RUECK03", precision=9, scale=3)
+    public BigDecimal getRueck03() {
+        return this.rueck03;
+    }
+    
+    public void setRueck03(BigDecimal rueck03) {
+        this.rueck03 = rueck03;
+    }
+
+
+    @Column(name="MASCHE04", precision=7, scale=4)
+    public BigDecimal getMasche04() {
+        return this.masche04;
+    }
+    
+    public void setMasche04(BigDecimal masche04) {
+        this.masche04 = masche04;
+    }
+
+
+    @Column(name="RUECK04", precision=9, scale=3)
+    public BigDecimal getRueck04() {
+        return this.rueck04;
+    }
+    
+    public void setRueck04(BigDecimal rueck04) {
+        this.rueck04 = rueck04;
+    }
+
+
+    @Column(name="MASCHE05", precision=7, scale=4)
+    public BigDecimal getMasche05() {
+        return this.masche05;
+    }
+    
+    public void setMasche05(BigDecimal masche05) {
+        this.masche05 = masche05;
+    }
+
+
+    @Column(name="RUECK05", precision=9, scale=3)
+    public BigDecimal getRueck05() {
+        return this.rueck05;
+    }
+    
+    public void setRueck05(BigDecimal rueck05) {
+        this.rueck05 = rueck05;
+    }
+
+
+    @Column(name="MASCHE06", precision=7, scale=4)
+    public BigDecimal getMasche06() {
+        return this.masche06;
+    }
+    
+    public void setMasche06(BigDecimal masche06) {
+        this.masche06 = masche06;
+    }
+
+
+    @Column(name="RUECK06", precision=9, scale=3)
+    public BigDecimal getRueck06() {
+        return this.rueck06;
+    }
+    
+    public void setRueck06(BigDecimal rueck06) {
+        this.rueck06 = rueck06;
+    }
+
+
+    @Column(name="MASCHE07", precision=7, scale=4)
+    public BigDecimal getMasche07() {
+        return this.masche07;
+    }
+    
+    public void setMasche07(BigDecimal masche07) {
+        this.masche07 = masche07;
+    }
+
+
+    @Column(name="RUECK07", precision=9, scale=3)
+    public BigDecimal getRueck07() {
+        return this.rueck07;
+    }
+    
+    public void setRueck07(BigDecimal rueck07) {
+        this.rueck07 = rueck07;
+    }
+
+
+    @Column(name="MASCHE08", precision=7, scale=4)
+    public BigDecimal getMasche08() {
+        return this.masche08;
+    }
+    
+    public void setMasche08(BigDecimal masche08) {
+        this.masche08 = masche08;
+    }
+
+
+    @Column(name="RUECK08", precision=9, scale=3)
+    public BigDecimal getRueck08() {
+        return this.rueck08;
+    }
+    
+    public void setRueck08(BigDecimal rueck08) {
+        this.rueck08 = rueck08;
+    }
+
+
+    @Column(name="MASCHE09", precision=7, scale=4)
+    public BigDecimal getMasche09() {
+        return this.masche09;
+    }
+    
+    public void setMasche09(BigDecimal masche09) {
+        this.masche09 = masche09;
+    }
+
+
+    @Column(name="RUECK09", precision=9, scale=3)
+    public BigDecimal getRueck09() {
+        return this.rueck09;
+    }
+    
+    public void setRueck09(BigDecimal rueck09) {
+        this.rueck09 = rueck09;
+    }
+
+
+    @Column(name="MASCHE10", precision=7, scale=4)
+    public BigDecimal getMasche10() {
+        return this.masche10;
+    }
+    
+    public void setMasche10(BigDecimal masche10) {
+        this.masche10 = masche10;
+    }
+
+
+    @Column(name="RUECK10", precision=9, scale=3)
+    public BigDecimal getRueck10() {
+        return this.rueck10;
+    }
+    
+    public void setRueck10(BigDecimal rueck10) {
+        this.rueck10 = rueck10;
+    }
+
+
+    @Column(name="MASCHE11", precision=7, scale=4)
+    public BigDecimal getMasche11() {
+        return this.masche11;
+    }
+    
+    public void setMasche11(BigDecimal masche11) {
+        this.masche11 = masche11;
+    }
+
+
+    @Column(name="RUECK11", precision=9, scale=3)
+    public BigDecimal getRueck11() {
+        return this.rueck11;
+    }
+    
+    public void setRueck11(BigDecimal rueck11) {
+        this.rueck11 = rueck11;
+    }
+
+
+    @Column(name="MASCHE12", precision=7, scale=4)
+    public BigDecimal getMasche12() {
+        return this.masche12;
+    }
+    
+    public void setMasche12(BigDecimal masche12) {
+        this.masche12 = masche12;
+    }
+
+
+    @Column(name="RUECK12", precision=9, scale=3)
+    public BigDecimal getRueck12() {
+        return this.rueck12;
+    }
+    
+    public void setRueck12(BigDecimal rueck12) {
+        this.rueck12 = rueck12;
+    }
+
+
+    @Column(name="MASCHE13", precision=7, scale=4)
+    public BigDecimal getMasche13() {
+        return this.masche13;
+    }
+    
+    public void setMasche13(BigDecimal masche13) {
+        this.masche13 = masche13;
+    }
+
+
+    @Column(name="RUECK13", precision=9, scale=3)
+    public BigDecimal getRueck13() {
+        return this.rueck13;
+    }
+    
+    public void setRueck13(BigDecimal rueck13) {
+        this.rueck13 = rueck13;
+    }
+
+
+    @Column(name="MASCHE14", precision=7, scale=4)
+    public BigDecimal getMasche14() {
+        return this.masche14;
+    }
+    
+    public void setMasche14(BigDecimal masche14) {
+        this.masche14 = masche14;
+    }
+
+
+    @Column(name="RUECK14", precision=9, scale=3)
+    public BigDecimal getRueck14() {
+        return this.rueck14;
+    }
+    
+    public void setRueck14(BigDecimal rueck14) {
+        this.rueck14 = rueck14;
+    }
+
+
+    @Column(name="MASCHE15", precision=7, scale=4)
+    public BigDecimal getMasche15() {
+        return this.masche15;
+    }
+    
+    public void setMasche15(BigDecimal masche15) {
+        this.masche15 = masche15;
+    }
+
+
+    @Column(name="RUECK15", precision=9, scale=3)
+    public BigDecimal getRueck15() {
+        return this.rueck15;
+    }
+    
+    public void setRueck15(BigDecimal rueck15) {
+        this.rueck15 = rueck15;
+    }
+
+
+    @Column(name="MASCHE16", precision=7, scale=4)
+    public BigDecimal getMasche16() {
+        return this.masche16;
+    }
+    
+    public void setMasche16(BigDecimal masche16) {
+        this.masche16 = masche16;
+    }
+
+
+    @Column(name="RUECK16", precision=9, scale=3)
+    public BigDecimal getRueck16() {
+        return this.rueck16;
+    }
+    
+    public void setRueck16(BigDecimal rueck16) {
+        this.rueck16 = rueck16;
+    }
+
+
+    @Column(name="MASCHE17", precision=7, scale=4)
+    public BigDecimal getMasche17() {
+        return this.masche17;
+    }
+    
+    public void setMasche17(BigDecimal masche17) {
+        this.masche17 = masche17;
+    }
+
+
+    @Column(name="RUECK17", precision=9, scale=3)
+    public BigDecimal getRueck17() {
+        return this.rueck17;
+    }
+    
+    public void setRueck17(BigDecimal rueck17) {
+        this.rueck17 = rueck17;
+    }
+
+
+    @Column(name="MASCHE18", precision=7, scale=4)
+    public BigDecimal getMasche18() {
+        return this.masche18;
+    }
+    
+    public void setMasche18(BigDecimal masche18) {
+        this.masche18 = masche18;
+    }
+
+
+    @Column(name="RUECK18", precision=9, scale=3)
+    public BigDecimal getRueck18() {
+        return this.rueck18;
+    }
+    
+    public void setRueck18(BigDecimal rueck18) {
+        this.rueck18 = rueck18;
+    }
+
+
+    @Column(name="MASCHE19", precision=7, scale=4)
+    public BigDecimal getMasche19() {
+        return this.masche19;
+    }
+    
+    public void setMasche19(BigDecimal masche19) {
+        this.masche19 = masche19;
+    }
+
+
+    @Column(name="RUECK19", precision=9, scale=3)
+    public BigDecimal getRueck19() {
+        return this.rueck19;
+    }
+    
+    public void setRueck19(BigDecimal rueck19) {
+        this.rueck19 = rueck19;
+    }
+
+
+    @Column(name="MASCHE20", precision=7, scale=4)
+    public BigDecimal getMasche20() {
+        return this.masche20;
+    }
+    
+    public void setMasche20(BigDecimal masche20) {
+        this.masche20 = masche20;
+    }
+
+
+    @Column(name="RUECK20", precision=9, scale=3)
+    public BigDecimal getRueck20() {
+        return this.rueck20;
+    }
+    
+    public void setRueck20(BigDecimal rueck20) {
+        this.rueck20 = rueck20;
+    }
+
+
+    @Column(name="MASCHE21", precision=7, scale=4)
+    public BigDecimal getMasche21() {
+        return this.masche21;
+    }
+    
+    public void setMasche21(BigDecimal masche21) {
+        this.masche21 = masche21;
+    }
+
+
+    @Column(name="RUECK21", precision=9, scale=3)
+    public BigDecimal getRueck21() {
+        return this.rueck21;
+    }
+    
+    public void setRueck21(BigDecimal rueck21) {
+        this.rueck21 = rueck21;
+    }
+
+
+    @Column(name="REST", precision=9, scale=3)
+    public BigDecimal getRest() {
+        return this.rest;
+    }
+    
+    public void setRest(BigDecimal rest) {
+        this.rest = rest;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+		 if ( (other == null ) ) return false;
+		 if ( !(other instanceof SsiebungsiebId) ) return false;
+		 SsiebungsiebId castOther = ( SsiebungsiebId ) other; 
+         
+		 return (this.getSiebanalyseid()==castOther.getSiebanalyseid())
+ && (this.getGsiebsatzid()==castOther.getGsiebsatzid())
+ && ( (this.getGmasse()==castOther.getGmasse()) || ( this.getGmasse()!=null && castOther.getGmasse()!=null && this.getGmasse().equals(castOther.getGmasse()) ) )
+ && ( (this.getMasche01()==castOther.getMasche01()) || ( this.getMasche01()!=null && castOther.getMasche01()!=null && this.getMasche01().equals(castOther.getMasche01()) ) )
+ && ( (this.getRueck01()==castOther.getRueck01()) || ( this.getRueck01()!=null && castOther.getRueck01()!=null && this.getRueck01().equals(castOther.getRueck01()) ) )
+ && ( (this.getMasche02()==castOther.getMasche02()) || ( this.getMasche02()!=null && castOther.getMasche02()!=null && this.getMasche02().equals(castOther.getMasche02()) ) )
+ && ( (this.getRueck02()==castOther.getRueck02()) || ( this.getRueck02()!=null && castOther.getRueck02()!=null && this.getRueck02().equals(castOther.getRueck02()) ) )
+ && ( (this.getMasche03()==castOther.getMasche03()) || ( this.getMasche03()!=null && castOther.getMasche03()!=null && this.getMasche03().equals(castOther.getMasche03()) ) )
+ && ( (this.getRueck03()==castOther.getRueck03()) || ( this.getRueck03()!=null && castOther.getRueck03()!=null && this.getRueck03().equals(castOther.getRueck03()) ) )
+ && ( (this.getMasche04()==castOther.getMasche04()) || ( this.getMasche04()!=null && castOther.getMasche04()!=null && this.getMasche04().equals(castOther.getMasche04()) ) )
+ && ( (this.getRueck04()==castOther.getRueck04()) || ( this.getRueck04()!=null && castOther.getRueck04()!=null && this.getRueck04().equals(castOther.getRueck04()) ) )
+ && ( (this.getMasche05()==castOther.getMasche05()) || ( this.getMasche05()!=null && castOther.getMasche05()!=null && this.getMasche05().equals(castOther.getMasche05()) ) )
+ && ( (this.getRueck05()==castOther.getRueck05()) || ( this.getRueck05()!=null && castOther.getRueck05()!=null && this.getRueck05().equals(castOther.getRueck05()) ) )
+ && ( (this.getMasche06()==castOther.getMasche06()) || ( this.getMasche06()!=null && castOther.getMasche06()!=null && this.getMasche06().equals(castOther.getMasche06()) ) )
+ && ( (this.getRueck06()==castOther.getRueck06()) || ( this.getRueck06()!=null && castOther.getRueck06()!=null && this.getRueck06().equals(castOther.getRueck06()) ) )
+ && ( (this.getMasche07()==castOther.getMasche07()) || ( this.getMasche07()!=null && castOther.getMasche07()!=null && this.getMasche07().equals(castOther.getMasche07()) ) )
+ && ( (this.getRueck07()==castOther.getRueck07()) || ( this.getRueck07()!=null && castOther.getRueck07()!=null && this.getRueck07().equals(castOther.getRueck07()) ) )
+ && ( (this.getMasche08()==castOther.getMasche08()) || ( this.getMasche08()!=null && castOther.getMasche08()!=null && this.getMasche08().equals(castOther.getMasche08()) ) )
+ && ( (this.getRueck08()==castOther.getRueck08()) || ( this.getRueck08()!=null && castOther.getRueck08()!=null && this.getRueck08().equals(castOther.getRueck08()) ) )
+ && ( (this.getMasche09()==castOther.getMasche09()) || ( this.getMasche09()!=null && castOther.getMasche09()!=null && this.getMasche09().equals(castOther.getMasche09()) ) )
+ && ( (this.getRueck09()==castOther.getRueck09()) || ( this.getRueck09()!=null && castOther.getRueck09()!=null && this.getRueck09().equals(castOther.getRueck09()) ) )
+ && ( (this.getMasche10()==castOther.getMasche10()) || ( this.getMasche10()!=null && castOther.getMasche10()!=null && this.getMasche10().equals(castOther.getMasche10()) ) )
+ && ( (this.getRueck10()==castOther.getRueck10()) || ( this.getRueck10()!=null && castOther.getRueck10()!=null && this.getRueck10().equals(castOther.getRueck10()) ) )
+ && ( (this.getMasche11()==castOther.getMasche11()) || ( this.getMasche11()!=null && castOther.getMasche11()!=null && this.getMasche11().equals(castOther.getMasche11()) ) )
+ && ( (this.getRueck11()==castOther.getRueck11()) || ( this.getRueck11()!=null && castOther.getRueck11()!=null && this.getRueck11().equals(castOther.getRueck11()) ) )
+ && ( (this.getMasche12()==castOther.getMasche12()) || ( this.getMasche12()!=null && castOther.getMasche12()!=null && this.getMasche12().equals(castOther.getMasche12()) ) )
+ && ( (this.getRueck12()==castOther.getRueck12()) || ( this.getRueck12()!=null && castOther.getRueck12()!=null && this.getRueck12().equals(castOther.getRueck12()) ) )
+ && ( (this.getMasche13()==castOther.getMasche13()) || ( this.getMasche13()!=null && castOther.getMasche13()!=null && this.getMasche13().equals(castOther.getMasche13()) ) )
+ && ( (this.getRueck13()==castOther.getRueck13()) || ( this.getRueck13()!=null && castOther.getRueck13()!=null && this.getRueck13().equals(castOther.getRueck13()) ) )
+ && ( (this.getMasche14()==castOther.getMasche14()) || ( this.getMasche14()!=null && castOther.getMasche14()!=null && this.getMasche14().equals(castOther.getMasche14()) ) )
+ && ( (this.getRueck14()==castOther.getRueck14()) || ( this.getRueck14()!=null && castOther.getRueck14()!=null && this.getRueck14().equals(castOther.getRueck14()) ) )
+ && ( (this.getMasche15()==castOther.getMasche15()) || ( this.getMasche15()!=null && castOther.getMasche15()!=null && this.getMasche15().equals(castOther.getMasche15()) ) )
+ && ( (this.getRueck15()==castOther.getRueck15()) || ( this.getRueck15()!=null && castOther.getRueck15()!=null && this.getRueck15().equals(castOther.getRueck15()) ) )
+ && ( (this.getMasche16()==castOther.getMasche16()) || ( this.getMasche16()!=null && castOther.getMasche16()!=null && this.getMasche16().equals(castOther.getMasche16()) ) )
+ && ( (this.getRueck16()==castOther.getRueck16()) || ( this.getRueck16()!=null && castOther.getRueck16()!=null && this.getRueck16().equals(castOther.getRueck16()) ) )
+ && ( (this.getMasche17()==castOther.getMasche17()) || ( this.getMasche17()!=null && castOther.getMasche17()!=null && this.getMasche17().equals(castOther.getMasche17()) ) )
+ && ( (this.getRueck17()==castOther.getRueck17()) || ( this.getRueck17()!=null && castOther.getRueck17()!=null && this.getRueck17().equals(castOther.getRueck17()) ) )
+ && ( (this.getMasche18()==castOther.getMasche18()) || ( this.getMasche18()!=null && castOther.getMasche18()!=null && this.getMasche18().equals(castOther.getMasche18()) ) )
+ && ( (this.getRueck18()==castOther.getRueck18()) || ( this.getRueck18()!=null && castOther.getRueck18()!=null && this.getRueck18().equals(castOther.getRueck18()) ) )
+ && ( (this.getMasche19()==castOther.getMasche19()) || ( this.getMasche19()!=null && castOther.getMasche19()!=null && this.getMasche19().equals(castOther.getMasche19()) ) )
+ && ( (this.getRueck19()==castOther.getRueck19()) || ( this.getRueck19()!=null && castOther.getRueck19()!=null && this.getRueck19().equals(castOther.getRueck19()) ) )
+ && ( (this.getMasche20()==castOther.getMasche20()) || ( this.getMasche20()!=null && castOther.getMasche20()!=null && this.getMasche20().equals(castOther.getMasche20()) ) )
+ && ( (this.getRueck20()==castOther.getRueck20()) || ( this.getRueck20()!=null && castOther.getRueck20()!=null && this.getRueck20().equals(castOther.getRueck20()) ) )
+ && ( (this.getMasche21()==castOther.getMasche21()) || ( this.getMasche21()!=null && castOther.getMasche21()!=null && this.getMasche21().equals(castOther.getMasche21()) ) )
+ && ( (this.getRueck21()==castOther.getRueck21()) || ( this.getRueck21()!=null && castOther.getRueck21()!=null && this.getRueck21().equals(castOther.getRueck21()) ) )
+ && ( (this.getRest()==castOther.getRest()) || ( this.getRest()!=null && castOther.getRest()!=null && this.getRest().equals(castOther.getRest()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getSiebanalyseid();
+         result = 37 * result + (int) this.getGsiebsatzid();
+         result = 37 * result + ( getGmasse() == null ? 0 : this.getGmasse().hashCode() );
+         result = 37 * result + ( getMasche01() == null ? 0 : this.getMasche01().hashCode() );
+         result = 37 * result + ( getRueck01() == null ? 0 : this.getRueck01().hashCode() );
+         result = 37 * result + ( getMasche02() == null ? 0 : this.getMasche02().hashCode() );
+         result = 37 * result + ( getRueck02() == null ? 0 : this.getRueck02().hashCode() );
+         result = 37 * result + ( getMasche03() == null ? 0 : this.getMasche03().hashCode() );
+         result = 37 * result + ( getRueck03() == null ? 0 : this.getRueck03().hashCode() );
+         result = 37 * result + ( getMasche04() == null ? 0 : this.getMasche04().hashCode() );
+         result = 37 * result + ( getRueck04() == null ? 0 : this.getRueck04().hashCode() );
+         result = 37 * result + ( getMasche05() == null ? 0 : this.getMasche05().hashCode() );
+         result = 37 * result + ( getRueck05() == null ? 0 : this.getRueck05().hashCode() );
+         result = 37 * result + ( getMasche06() == null ? 0 : this.getMasche06().hashCode() );
+         result = 37 * result + ( getRueck06() == null ? 0 : this.getRueck06().hashCode() );
+         result = 37 * result + ( getMasche07() == null ? 0 : this.getMasche07().hashCode() );
+         result = 37 * result + ( getRueck07() == null ? 0 : this.getRueck07().hashCode() );
+         result = 37 * result + ( getMasche08() == null ? 0 : this.getMasche08().hashCode() );
+         result = 37 * result + ( getRueck08() == null ? 0 : this.getRueck08().hashCode() );
+         result = 37 * result + ( getMasche09() == null ? 0 : this.getMasche09().hashCode() );
+         result = 37 * result + ( getRueck09() == null ? 0 : this.getRueck09().hashCode() );
+         result = 37 * result + ( getMasche10() == null ? 0 : this.getMasche10().hashCode() );
+         result = 37 * result + ( getRueck10() == null ? 0 : this.getRueck10().hashCode() );
+         result = 37 * result + ( getMasche11() == null ? 0 : this.getMasche11().hashCode() );
+         result = 37 * result + ( getRueck11() == null ? 0 : this.getRueck11().hashCode() );
+         result = 37 * result + ( getMasche12() == null ? 0 : this.getMasche12().hashCode() );
+         result = 37 * result + ( getRueck12() == null ? 0 : this.getRueck12().hashCode() );
+         result = 37 * result + ( getMasche13() == null ? 0 : this.getMasche13().hashCode() );
+         result = 37 * result + ( getRueck13() == null ? 0 : this.getRueck13().hashCode() );
+         result = 37 * result + ( getMasche14() == null ? 0 : this.getMasche14().hashCode() );
+         result = 37 * result + ( getRueck14() == null ? 0 : this.getRueck14().hashCode() );
+         result = 37 * result + ( getMasche15() == null ? 0 : this.getMasche15().hashCode() );
+         result = 37 * result + ( getRueck15() == null ? 0 : this.getRueck15().hashCode() );
+         result = 37 * result + ( getMasche16() == null ? 0 : this.getMasche16().hashCode() );
+         result = 37 * result + ( getRueck16() == null ? 0 : this.getRueck16().hashCode() );
+         result = 37 * result + ( getMasche17() == null ? 0 : this.getMasche17().hashCode() );
+         result = 37 * result + ( getRueck17() == null ? 0 : this.getRueck17().hashCode() );
+         result = 37 * result + ( getMasche18() == null ? 0 : this.getMasche18().hashCode() );
+         result = 37 * result + ( getRueck18() == null ? 0 : this.getRueck18().hashCode() );
+         result = 37 * result + ( getMasche19() == null ? 0 : this.getMasche19().hashCode() );
+         result = 37 * result + ( getRueck19() == null ? 0 : this.getRueck19().hashCode() );
+         result = 37 * result + ( getMasche20() == null ? 0 : this.getMasche20().hashCode() );
+         result = 37 * result + ( getRueck20() == null ? 0 : this.getRueck20().hashCode() );
+         result = 37 * result + ( getMasche21() == null ? 0 : this.getMasche21().hashCode() );
+         result = 37 * result + ( getRueck21() == null ? 0 : this.getRueck21().hashCode() );
+         result = 37 * result + ( getRest() == null ? 0 : this.getRest().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Station.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,305 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * Station generated by hbm2java
+ */
+@Entity
+@Table(name="STATION"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames={"GEWAESSERID", "NAME"}) 
+)
+public class Station  implements java.io.Serializable {
+
+
+     private long stationid;
+     private Bezugspegel bezugspegel;
+     private Gewaesser gewaesser;
+     private BigDecimal km;
+     private String name;
+     private boolean uferistlinks;
+     private BigDecimal teilVon;
+     private BigDecimal teilBis;
+     private BigDecimal abstHmst;
+     private BigDecimal LHochwert;
+     private BigDecimal LRechwert;
+     private BigDecimal LNn;
+     private BigDecimal RHochwert;
+     private BigDecimal RRechwert;
+     private BigDecimal RNn;
+     private String bemerkung;
+     private Long oldmstid;
+     private boolean istfeststoff;
+     private Set<Sohltest> sohltests = new HashSet<Sohltest>(0);
+     private Set<Hpeilung> hpeilungs = new HashSet<Hpeilung>(0);
+     private Set<Mpeilung> mpeilungs = new HashSet<Mpeilung>(0);
+     private Set<Messung> messungs = new HashSet<Messung>(0);
+
+    public Station() {
+    }
+
+    public Station(long stationid, Gewaesser gewaesser, BigDecimal km, String name, boolean uferistlinks, boolean istfeststoff) {
+        this.stationid = stationid;
+        this.gewaesser = gewaesser;
+        this.km = km;
+        this.name = name;
+        this.uferistlinks = uferistlinks;
+        this.istfeststoff = istfeststoff;
+    }
+    public Station(long stationid, Bezugspegel bezugspegel, Gewaesser gewaesser, BigDecimal km, String name, boolean uferistlinks, BigDecimal teilVon, BigDecimal teilBis, BigDecimal abstHmst, BigDecimal LHochwert, BigDecimal LRechwert, BigDecimal LNn, BigDecimal RHochwert, BigDecimal RRechwert, BigDecimal RNn, String bemerkung, Long oldmstid, boolean istfeststoff, Set<Sohltest> sohltests, Set<Hpeilung> hpeilungs, Set<Mpeilung> mpeilungs, Set<Messung> messungs) {
+       this.stationid = stationid;
+       this.bezugspegel = bezugspegel;
+       this.gewaesser = gewaesser;
+       this.km = km;
+       this.name = name;
+       this.uferistlinks = uferistlinks;
+       this.teilVon = teilVon;
+       this.teilBis = teilBis;
+       this.abstHmst = abstHmst;
+       this.LHochwert = LHochwert;
+       this.LRechwert = LRechwert;
+       this.LNn = LNn;
+       this.RHochwert = RHochwert;
+       this.RRechwert = RRechwert;
+       this.RNn = RNn;
+       this.bemerkung = bemerkung;
+       this.oldmstid = oldmstid;
+       this.istfeststoff = istfeststoff;
+       this.sohltests = sohltests;
+       this.hpeilungs = hpeilungs;
+       this.mpeilungs = mpeilungs;
+       this.messungs = messungs;
+    }
+   
+     @Id 
+
+    
+    @Column(name="STATIONID", unique=true, nullable=false, precision=11, scale=0)
+    public long getStationid() {
+        return this.stationid;
+    }
+    
+    public void setStationid(long stationid) {
+        this.stationid = stationid;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="BEZUGSPEGELID")
+    public Bezugspegel getBezugspegel() {
+        return this.bezugspegel;
+    }
+    
+    public void setBezugspegel(Bezugspegel bezugspegel) {
+        this.bezugspegel = bezugspegel;
+    }
+
+@ManyToOne(fetch=FetchType.LAZY)
+    @JoinColumn(name="GEWAESSERID", nullable=false)
+    public Gewaesser getGewaesser() {
+        return this.gewaesser;
+    }
+    
+    public void setGewaesser(Gewaesser gewaesser) {
+        this.gewaesser = gewaesser;
+    }
+
+    
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0)
+    public boolean isUferistlinks() {
+        return this.uferistlinks;
+    }
+    
+    public void setUferistlinks(boolean uferistlinks) {
+        this.uferistlinks = uferistlinks;
+    }
+
+    
+    @Column(name="TEIL_VON", precision=8, scale=3)
+    public BigDecimal getTeilVon() {
+        return this.teilVon;
+    }
+    
+    public void setTeilVon(BigDecimal teilVon) {
+        this.teilVon = teilVon;
+    }
+
+    
+    @Column(name="TEIL_BIS", precision=8, scale=3)
+    public BigDecimal getTeilBis() {
+        return this.teilBis;
+    }
+    
+    public void setTeilBis(BigDecimal teilBis) {
+        this.teilBis = teilBis;
+    }
+
+    
+    @Column(name="ABST_HMST", precision=8, scale=3)
+    public BigDecimal getAbstHmst() {
+        return this.abstHmst;
+    }
+    
+    public void setAbstHmst(BigDecimal abstHmst) {
+        this.abstHmst = abstHmst;
+    }
+
+    
+    @Column(name="L_HOCHWERT", precision=11, scale=3)
+    public BigDecimal getLHochwert() {
+        return this.LHochwert;
+    }
+    
+    public void setLHochwert(BigDecimal LHochwert) {
+        this.LHochwert = LHochwert;
+    }
+
+    
+    @Column(name="L_RECHWERT", precision=11, scale=3)
+    public BigDecimal getLRechwert() {
+        return this.LRechwert;
+    }
+    
+    public void setLRechwert(BigDecimal LRechwert) {
+        this.LRechwert = LRechwert;
+    }
+
+    
+    @Column(name="L_NN", precision=8, scale=3)
+    public BigDecimal getLNn() {
+        return this.LNn;
+    }
+    
+    public void setLNn(BigDecimal LNn) {
+        this.LNn = LNn;
+    }
+
+    
+    @Column(name="R_HOCHWERT", precision=11, scale=3)
+    public BigDecimal getRHochwert() {
+        return this.RHochwert;
+    }
+    
+    public void setRHochwert(BigDecimal RHochwert) {
+        this.RHochwert = RHochwert;
+    }
+
+    
+    @Column(name="R_RECHWERT", precision=11, scale=3)
+    public BigDecimal getRRechwert() {
+        return this.RRechwert;
+    }
+    
+    public void setRRechwert(BigDecimal RRechwert) {
+        this.RRechwert = RRechwert;
+    }
+
+    
+    @Column(name="R_NN", precision=8, scale=3)
+    public BigDecimal getRNn() {
+        return this.RNn;
+    }
+    
+    public void setRNn(BigDecimal RNn) {
+        this.RNn = RNn;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+    
+    @Column(name="OLDMSTID", precision=11, scale=0)
+    public Long getOldmstid() {
+        return this.oldmstid;
+    }
+    
+    public void setOldmstid(Long oldmstid) {
+        this.oldmstid = oldmstid;
+    }
+
+    
+    @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0)
+    public boolean isIstfeststoff() {
+        return this.istfeststoff;
+    }
+    
+    public void setIstfeststoff(boolean istfeststoff) {
+        this.istfeststoff = istfeststoff;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="station")
+    public Set<Sohltest> getSohltests() {
+        return this.sohltests;
+    }
+    
+    public void setSohltests(Set<Sohltest> sohltests) {
+        this.sohltests = sohltests;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="station")
+    public Set<Hpeilung> getHpeilungs() {
+        return this.hpeilungs;
+    }
+    
+    public void setHpeilungs(Set<Hpeilung> hpeilungs) {
+        this.hpeilungs = hpeilungs;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="station")
+    public Set<Mpeilung> getMpeilungs() {
+        return this.mpeilungs;
+    }
+    
+    public void setMpeilungs(Set<Mpeilung> mpeilungs) {
+        this.mpeilungs = mpeilungs;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="station")
+    public Set<Messung> getMessungs() {
+        return this.messungs;
+    }
+    
+    public void setMessungs(Set<Messung> messungs) {
+        this.messungs = messungs;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Stationgew.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,61 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.AttributeOverride;
+import javax.persistence.AttributeOverrides;
+import javax.persistence.Column;
+import javax.persistence.EmbeddedId;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+
+/**
+ * Stationgew generated by hbm2java
+ */
+@Entity
+@Table(name="STATIONGEW"
+    ,schema="SEDDB"
+)
+public class Stationgew  implements java.io.Serializable {
+
+
+     private StationgewId id;
+
+    public Stationgew() {
+    }
+
+    public Stationgew(StationgewId id) {
+       this.id = id;
+    }
+   
+     @EmbeddedId
+
+    
+    @AttributeOverrides( {
+        @AttributeOverride(name="stationid", column=@Column(name="STATIONID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="gewaesserid", column=@Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) ), 
+        @AttributeOverride(name="km", column=@Column(name="KM", nullable=false, precision=8, scale=3) ), 
+        @AttributeOverride(name="bezugspegelid", column=@Column(name="BEZUGSPEGELID", precision=11, scale=0) ), 
+        @AttributeOverride(name="name", column=@Column(name="NAME", nullable=false, length=50) ), 
+        @AttributeOverride(name="uferistlinks", column=@Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0) ), 
+        @AttributeOverride(name="teilVon", column=@Column(name="TEIL_VON", precision=8, scale=3) ), 
+        @AttributeOverride(name="teilBis", column=@Column(name="TEIL_BIS", precision=8, scale=3) ), 
+        @AttributeOverride(name="abstHmst", column=@Column(name="ABST_HMST", precision=8, scale=3) ), 
+        @AttributeOverride(name="LHochwert", column=@Column(name="L_HOCHWERT", precision=11, scale=3) ), 
+        @AttributeOverride(name="LRechwert", column=@Column(name="L_RECHWERT", precision=11, scale=3) ), 
+        @AttributeOverride(name="LNn", column=@Column(name="L_NN", precision=8, scale=3) ), 
+        @AttributeOverride(name="RHochwert", column=@Column(name="R_HOCHWERT", precision=11, scale=3) ), 
+        @AttributeOverride(name="RRechwert", column=@Column(name="R_RECHWERT", precision=11, scale=3) ), 
+        @AttributeOverride(name="RNn", column=@Column(name="R_NN", precision=8, scale=3) ), 
+        @AttributeOverride(name="bemerkung", column=@Column(name="BEMERKUNG", length=240) ), 
+        @AttributeOverride(name="oldmstid", column=@Column(name="OLDMSTID", precision=11, scale=0) ), 
+        @AttributeOverride(name="istfeststoff", column=@Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0) ), 
+        @AttributeOverride(name="gewname", column=@Column(name="GEWNAME", nullable=false, length=20) ) } )
+    public StationgewId getId() {
+        return this.id;
+    }
+    
+    public void setId(StationgewId id) {
+        this.id = id;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/StationgewId.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,313 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.math.BigDecimal;
+import javax.persistence.Column;
+import javax.persistence.Embeddable;
+
+/**
+ * StationgewId generated by hbm2java
+ */
+@Embeddable
+public class StationgewId  implements java.io.Serializable {
+
+
+     private long stationid;
+     private long gewaesserid;
+     private BigDecimal km;
+     private Long bezugspegelid;
+     private String name;
+     private boolean uferistlinks;
+     private BigDecimal teilVon;
+     private BigDecimal teilBis;
+     private BigDecimal abstHmst;
+     private BigDecimal LHochwert;
+     private BigDecimal LRechwert;
+     private BigDecimal LNn;
+     private BigDecimal RHochwert;
+     private BigDecimal RRechwert;
+     private BigDecimal RNn;
+     private String bemerkung;
+     private Long oldmstid;
+     private boolean istfeststoff;
+     private String gewname;
+
+    public StationgewId() {
+    }
+
+    public StationgewId(long stationid, long gewaesserid, BigDecimal km, String name, boolean uferistlinks, boolean istfeststoff, String gewname) {
+        this.stationid = stationid;
+        this.gewaesserid = gewaesserid;
+        this.km = km;
+        this.name = name;
+        this.uferistlinks = uferistlinks;
+        this.istfeststoff = istfeststoff;
+        this.gewname = gewname;
+    }
+    public StationgewId(long stationid, long gewaesserid, BigDecimal km, Long bezugspegelid, String name, boolean uferistlinks, BigDecimal teilVon, BigDecimal teilBis, BigDecimal abstHmst, BigDecimal LHochwert, BigDecimal LRechwert, BigDecimal LNn, BigDecimal RHochwert, BigDecimal RRechwert, BigDecimal RNn, String bemerkung, Long oldmstid, boolean istfeststoff, String gewname) {
+       this.stationid = stationid;
+       this.gewaesserid = gewaesserid;
+       this.km = km;
+       this.bezugspegelid = bezugspegelid;
+       this.name = name;
+       this.uferistlinks = uferistlinks;
+       this.teilVon = teilVon;
+       this.teilBis = teilBis;
+       this.abstHmst = abstHmst;
+       this.LHochwert = LHochwert;
+       this.LRechwert = LRechwert;
+       this.LNn = LNn;
+       this.RHochwert = RHochwert;
+       this.RRechwert = RRechwert;
+       this.RNn = RNn;
+       this.bemerkung = bemerkung;
+       this.oldmstid = oldmstid;
+       this.istfeststoff = istfeststoff;
+       this.gewname = gewname;
+    }
+   
+
+
+    @Column(name="STATIONID", nullable=false, precision=11, scale=0)
+    public long getStationid() {
+        return this.stationid;
+    }
+    
+    public void setStationid(long stationid) {
+        this.stationid = stationid;
+    }
+
+
+    @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0)
+    public long getGewaesserid() {
+        return this.gewaesserid;
+    }
+    
+    public void setGewaesserid(long gewaesserid) {
+        this.gewaesserid = gewaesserid;
+    }
+
+
+    @Column(name="KM", nullable=false, precision=8, scale=3)
+    public BigDecimal getKm() {
+        return this.km;
+    }
+    
+    public void setKm(BigDecimal km) {
+        this.km = km;
+    }
+
+
+    @Column(name="BEZUGSPEGELID", precision=11, scale=0)
+    public Long getBezugspegelid() {
+        return this.bezugspegelid;
+    }
+    
+    public void setBezugspegelid(Long bezugspegelid) {
+        this.bezugspegelid = bezugspegelid;
+    }
+
+
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+
+    @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0)
+    public boolean isUferistlinks() {
+        return this.uferistlinks;
+    }
+    
+    public void setUferistlinks(boolean uferistlinks) {
+        this.uferistlinks = uferistlinks;
+    }
+
+
+    @Column(name="TEIL_VON", precision=8, scale=3)
+    public BigDecimal getTeilVon() {
+        return this.teilVon;
+    }
+    
+    public void setTeilVon(BigDecimal teilVon) {
+        this.teilVon = teilVon;
+    }
+
+
+    @Column(name="TEIL_BIS", precision=8, scale=3)
+    public BigDecimal getTeilBis() {
+        return this.teilBis;
+    }
+    
+    public void setTeilBis(BigDecimal teilBis) {
+        this.teilBis = teilBis;
+    }
+
+
+    @Column(name="ABST_HMST", precision=8, scale=3)
+    public BigDecimal getAbstHmst() {
+        return this.abstHmst;
+    }
+    
+    public void setAbstHmst(BigDecimal abstHmst) {
+        this.abstHmst = abstHmst;
+    }
+
+
+    @Column(name="L_HOCHWERT", precision=11, scale=3)
+    public BigDecimal getLHochwert() {
+        return this.LHochwert;
+    }
+    
+    public void setLHochwert(BigDecimal LHochwert) {
+        this.LHochwert = LHochwert;
+    }
+
+
+    @Column(name="L_RECHWERT", precision=11, scale=3)
+    public BigDecimal getLRechwert() {
+        return this.LRechwert;
+    }
+    
+    public void setLRechwert(BigDecimal LRechwert) {
+        this.LRechwert = LRechwert;
+    }
+
+
+    @Column(name="L_NN", precision=8, scale=3)
+    public BigDecimal getLNn() {
+        return this.LNn;
+    }
+    
+    public void setLNn(BigDecimal LNn) {
+        this.LNn = LNn;
+    }
+
+
+    @Column(name="R_HOCHWERT", precision=11, scale=3)
+    public BigDecimal getRHochwert() {
+        return this.RHochwert;
+    }
+    
+    public void setRHochwert(BigDecimal RHochwert) {
+        this.RHochwert = RHochwert;
+    }
+
+
+    @Column(name="R_RECHWERT", precision=11, scale=3)
+    public BigDecimal getRRechwert() {
+        return this.RRechwert;
+    }
+    
+    public void setRRechwert(BigDecimal RRechwert) {
+        this.RRechwert = RRechwert;
+    }
+
+
+    @Column(name="R_NN", precision=8, scale=3)
+    public BigDecimal getRNn() {
+        return this.RNn;
+    }
+    
+    public void setRNn(BigDecimal RNn) {
+        this.RNn = RNn;
+    }
+
+
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+
+    @Column(name="OLDMSTID", precision=11, scale=0)
+    public Long getOldmstid() {
+        return this.oldmstid;
+    }
+    
+    public void setOldmstid(Long oldmstid) {
+        this.oldmstid = oldmstid;
+    }
+
+
+    @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0)
+    public boolean isIstfeststoff() {
+        return this.istfeststoff;
+    }
+    
+    public void setIstfeststoff(boolean istfeststoff) {
+        this.istfeststoff = istfeststoff;
+    }
+
+
+    @Column(name="GEWNAME", nullable=false, length=20)
+    public String getGewname() {
+        return this.gewname;
+    }
+    
+    public void setGewname(String gewname) {
+        this.gewname = gewname;
+    }
+
+
+   public boolean equals(Object other) {
+         if ( (this == other ) ) return true;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof StationgewId) ) return false;
+         StationgewId castOther = ( StationgewId ) other; 
+         
+         return (this.getStationid()==castOther.getStationid())
+ && (this.getGewaesserid()==castOther.getGewaesserid())
+ && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) )
+ && ( (this.getBezugspegelid()==castOther.getBezugspegelid()) || ( this.getBezugspegelid()!=null && castOther.getBezugspegelid()!=null && this.getBezugspegelid().equals(castOther.getBezugspegelid()) ) )
+ && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) )
+ && (this.isUferistlinks()==castOther.isUferistlinks())
+ && ( (this.getTeilVon()==castOther.getTeilVon()) || ( this.getTeilVon()!=null && castOther.getTeilVon()!=null && this.getTeilVon().equals(castOther.getTeilVon()) ) )
+ && ( (this.getTeilBis()==castOther.getTeilBis()) || ( this.getTeilBis()!=null && castOther.getTeilBis()!=null && this.getTeilBis().equals(castOther.getTeilBis()) ) )
+ && ( (this.getAbstHmst()==castOther.getAbstHmst()) || ( this.getAbstHmst()!=null && castOther.getAbstHmst()!=null && this.getAbstHmst().equals(castOther.getAbstHmst()) ) )
+ && ( (this.getLHochwert()==castOther.getLHochwert()) || ( this.getLHochwert()!=null && castOther.getLHochwert()!=null && this.getLHochwert().equals(castOther.getLHochwert()) ) )
+ && ( (this.getLRechwert()==castOther.getLRechwert()) || ( this.getLRechwert()!=null && castOther.getLRechwert()!=null && this.getLRechwert().equals(castOther.getLRechwert()) ) )
+ && ( (this.getLNn()==castOther.getLNn()) || ( this.getLNn()!=null && castOther.getLNn()!=null && this.getLNn().equals(castOther.getLNn()) ) )
+ && ( (this.getRHochwert()==castOther.getRHochwert()) || ( this.getRHochwert()!=null && castOther.getRHochwert()!=null && this.getRHochwert().equals(castOther.getRHochwert()) ) )
+ && ( (this.getRRechwert()==castOther.getRRechwert()) || ( this.getRRechwert()!=null && castOther.getRRechwert()!=null && this.getRRechwert().equals(castOther.getRRechwert()) ) )
+ && ( (this.getRNn()==castOther.getRNn()) || ( this.getRNn()!=null && castOther.getRNn()!=null && this.getRNn().equals(castOther.getRNn()) ) )
+ && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
+ && ( (this.getOldmstid()==castOther.getOldmstid()) || ( this.getOldmstid()!=null && castOther.getOldmstid()!=null && this.getOldmstid().equals(castOther.getOldmstid()) ) )
+ && (this.isIstfeststoff()==castOther.isIstfeststoff())
+ && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) );
+   }
+   
+   public int hashCode() {
+         int result = 17;
+         
+         result = 37 * result + (int) this.getStationid();
+         result = 37 * result + (int) this.getGewaesserid();
+         result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
+         result = 37 * result + ( getBezugspegelid() == null ? 0 : this.getBezugspegelid().hashCode() );
+         result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() );
+         result = 37 * result + (this.isUferistlinks()?1:0);
+         result = 37 * result + ( getTeilVon() == null ? 0 : this.getTeilVon().hashCode() );
+         result = 37 * result + ( getTeilBis() == null ? 0 : this.getTeilBis().hashCode() );
+         result = 37 * result + ( getAbstHmst() == null ? 0 : this.getAbstHmst().hashCode() );
+         result = 37 * result + ( getLHochwert() == null ? 0 : this.getLHochwert().hashCode() );
+         result = 37 * result + ( getLRechwert() == null ? 0 : this.getLRechwert().hashCode() );
+         result = 37 * result + ( getLNn() == null ? 0 : this.getLNn().hashCode() );
+         result = 37 * result + ( getRHochwert() == null ? 0 : this.getRHochwert().hashCode() );
+         result = 37 * result + ( getRRechwert() == null ? 0 : this.getRRechwert().hashCode() );
+         result = 37 * result + ( getRNn() == null ? 0 : this.getRNn().hashCode() );
+         result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
+         result = 37 * result + ( getOldmstid() == null ? 0 : this.getOldmstid().hashCode() );
+         result = 37 * result + (this.isIstfeststoff()?1:0);
+         result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
+         return result;
+   }   
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/TmpGloChanged.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,42 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * TmpGloChanged generated by hbm2java
+ */
+@Entity
+@Table(name="TMP_GLO_CHANGED"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="GLOTRECHTEID") 
+)
+public class TmpGloChanged  implements java.io.Serializable {
+
+
+     private long glotrechteid;
+
+    public TmpGloChanged() {
+    }
+
+    public TmpGloChanged(long glotrechteid) {
+       this.glotrechteid = glotrechteid;
+    }
+   
+     @Id 
+
+    
+    @Column(name="GLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0)
+    public long getGlotrechteid() {
+        return this.glotrechteid;
+    }
+    
+    public void setGlotrechteid(long glotrechteid) {
+        this.glotrechteid = glotrechteid;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/TmpMesAchanged.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,42 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * TmpMesAchanged generated by hbm2java
+ */
+@Entity
+@Table(name="TMP_MES_ACHANGED"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="MESSUNGID") 
+)
+public class TmpMesAchanged  implements java.io.Serializable {
+
+
+     private long messungid;
+
+    public TmpMesAchanged() {
+    }
+
+    public TmpMesAchanged(long messungid) {
+       this.messungid = messungid;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MESSUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/TmpMesGchanged.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,42 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * TmpMesGchanged generated by hbm2java
+ */
+@Entity
+@Table(name="TMP_MES_GCHANGED"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="MESSUNGID") 
+)
+public class TmpMesGchanged  implements java.io.Serializable {
+
+
+     private long messungid;
+
+    public TmpMesGchanged() {
+    }
+
+    public TmpMesGchanged(long messungid) {
+       this.messungid = messungid;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MESSUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/TmpMesQchanged.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,42 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * TmpMesQchanged generated by hbm2java
+ */
+@Entity
+@Table(name="TMP_MES_QCHANGED"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="MESSUNGID") 
+)
+public class TmpMesQchanged  implements java.io.Serializable {
+
+
+     private long messungid;
+
+    public TmpMesQchanged() {
+    }
+
+    public TmpMesQchanged(long messungid) {
+       this.messungid = messungid;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MESSUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/TmpMesSchanged.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,42 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.persistence.UniqueConstraint;
+
+/**
+ * TmpMesSchanged generated by hbm2java
+ */
+@Entity
+@Table(name="TMP_MES_SCHANGED"
+    ,schema="SEDDB"
+    , uniqueConstraints = @UniqueConstraint(columnNames="MESSUNGID") 
+)
+public class TmpMesSchanged  implements java.io.Serializable {
+
+
+     private long messungid;
+
+    public TmpMesSchanged() {
+    }
+
+    public TmpMesSchanged(long messungid) {
+       this.messungid = messungid;
+    }
+   
+     @Id 
+
+    
+    @Column(name="MESSUNGID", unique=true, nullable=false, precision=11, scale=0)
+    public long getMessungid() {
+        return this.messungid;
+    }
+    
+    public void setMessungid(long messungid) {
+        this.messungid = messungid;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Zzarchiv.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,96 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
+/**
+ * Zzarchiv generated by hbm2java
+ */
+@Entity
+@Table(name="ZZARCHIV"
+    ,schema="SEDDB"
+)
+public class Zzarchiv  implements java.io.Serializable {
+
+
+     private long archivid;
+     private String name;
+     private boolean istaktiv;
+     private String bemerkung;
+     private Set<Sohltest> sohltests = new HashSet<Sohltest>(0);
+
+    public Zzarchiv() {
+    }
+
+    public Zzarchiv(long archivid, String name, boolean istaktiv) {
+        this.archivid = archivid;
+        this.name = name;
+        this.istaktiv = istaktiv;
+    }
+    public Zzarchiv(long archivid, String name, boolean istaktiv, String bemerkung, Set<Sohltest> sohltests) {
+       this.archivid = archivid;
+       this.name = name;
+       this.istaktiv = istaktiv;
+       this.bemerkung = bemerkung;
+       this.sohltests = sohltests;
+    }
+   
+     @Id 
+
+    
+    @Column(name="ARCHIVID", unique=true, nullable=false, precision=11, scale=0)
+    public long getArchivid() {
+        return this.archivid;
+    }
+    
+    public void setArchivid(long archivid) {
+        this.archivid = archivid;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="zzarchiv")
+    public Set<Sohltest> getSohltests() {
+        return this.sohltests;
+    }
+    
+    public void setSohltests(Set<Sohltest> sohltests) {
+        this.sohltests = sohltests;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Zzprobenahmeart.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,110 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
+/**
+ * Zzprobenahmeart generated by hbm2java
+ */
+@Entity
+@Table(name="ZZPROBENAHMEART"
+    ,schema="SEDDB"
+)
+public class Zzprobenahmeart  implements java.io.Serializable {
+
+
+     private long probenahmeartid;
+     private boolean istkern;
+     private String name;
+     private boolean istaktiv;
+     private String bemerkung;
+     private Set<Sohlprobe> sohlprobes = new HashSet<Sohlprobe>(0);
+
+    public Zzprobenahmeart() {
+    }
+
+	
+    public Zzprobenahmeart(long probenahmeartid, boolean istkern, String name, boolean istaktiv) {
+        this.probenahmeartid = probenahmeartid;
+        this.istkern = istkern;
+        this.name = name;
+        this.istaktiv = istaktiv;
+    }
+    public Zzprobenahmeart(long probenahmeartid, boolean istkern, String name, boolean istaktiv, String bemerkung, Set<Sohlprobe> sohlprobes) {
+       this.probenahmeartid = probenahmeartid;
+       this.istkern = istkern;
+       this.name = name;
+       this.istaktiv = istaktiv;
+       this.bemerkung = bemerkung;
+       this.sohlprobes = sohlprobes;
+    }
+   
+     @Id 
+
+    
+    @Column(name="PROBENAHMEARTID", unique=true, nullable=false, precision=11, scale=0)
+    public long getProbenahmeartid() {
+        return this.probenahmeartid;
+    }
+    
+    public void setProbenahmeartid(long probenahmeartid) {
+        this.probenahmeartid = probenahmeartid;
+    }
+
+    
+    @Column(name="ISTKERN", nullable=false, precision=1, scale=0)
+    public boolean isIstkern() {
+        return this.istkern;
+    }
+    
+    public void setIstkern(boolean istkern) {
+        this.istkern = istkern;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="zzprobenahmeart")
+    public Set<Sohlprobe> getSohlprobes() {
+        return this.sohlprobes;
+    }
+    
+    public void setSohlprobes(Set<Sohlprobe> sohlprobes) {
+        this.sohlprobes = sohlprobes;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Zzsondierungart.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,96 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
+/**
+ * Zzsondierungart generated by hbm2java
+ */
+@Entity
+@Table(name="ZZSONDIERUNGART"
+    ,schema="SEDDB"
+)
+public class Zzsondierungart  implements java.io.Serializable {
+
+
+     private long sondierungartid;
+     private String name;
+     private boolean istaktiv;
+     private String bemerkung;
+     private Set<Sohltest> sohltests = new HashSet<Sohltest>(0);
+
+    public Zzsondierungart() {
+    }
+
+    public Zzsondierungart(long sondierungartid, String name, boolean istaktiv) {
+        this.sondierungartid = sondierungartid;
+        this.name = name;
+        this.istaktiv = istaktiv;
+    }
+    public Zzsondierungart(long sondierungartid, String name, boolean istaktiv, String bemerkung, Set<Sohltest> sohltests) {
+       this.sondierungartid = sondierungartid;
+       this.name = name;
+       this.istaktiv = istaktiv;
+       this.bemerkung = bemerkung;
+       this.sohltests = sohltests;
+    }
+   
+     @Id 
+
+    
+    @Column(name="SONDIERUNGARTID", unique=true, nullable=false, precision=11, scale=0)
+    public long getSondierungartid() {
+        return this.sondierungartid;
+    }
+    
+    public void setSondierungartid(long sondierungartid) {
+        this.sondierungartid = sondierungartid;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="zzsondierungart")
+    public Set<Sohltest> getSohltests() {
+        return this.sohltests;
+    }
+    
+    public void setSohltests(Set<Sohltest> sohltests) {
+        this.sohltests = sohltests;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/seddb/model/Zzthema.java	Thu Jun 14 10:06:34 2012 +0000
@@ -0,0 +1,108 @@
+package de.intevation.seddb.model;
+// Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
+
+
+import java.util.HashSet;
+import java.util.Set;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.Id;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+
+/**
+ * Zzthema generated by hbm2java
+ */
+@Entity
+@Table(name="ZZTHEMA"
+    ,schema="SEDDB"
+)
+public class Zzthema  implements java.io.Serializable {
+
+
+     private long themaid;
+     private String name;
+     private boolean istaktiv;
+     private String bemerkung;
+     private Set<Bild> bilds = new HashSet<Bild>(0);
+     private Set<Probebild> probebilds = new HashSet<Probebild>(0);
+
+    public Zzthema() {
+    }
+
+	
+    public Zzthema(long themaid, String name, boolean istaktiv) {
+        this.themaid = themaid;
+        this.name = name;
+        this.istaktiv = istaktiv;
+    }
+    public Zzthema(long themaid, String name, boolean istaktiv, String bemerkung, Set<Bild> bilds, Set<Probebild> probebilds) {
+       this.themaid = themaid;
+       this.name = name;
+       this.istaktiv = istaktiv;
+       this.bemerkung = bemerkung;
+       this.bilds = bilds;
+       this.probebilds = probebilds;
+    }
+   
+     @Id 
+
+    
+    @Column(name="THEMAID", unique=true, nullable=false, precision=11, scale=0)
+    public long getThemaid() {
+        return this.themaid;
+    }
+    
+    public void setThemaid(long themaid) {
+        this.themaid = themaid;
+    }
+
+    
+    @Column(name="NAME", nullable=false, length=50)
+    public String getName() {
+        return this.name;
+    }
+    
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    
+    @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
+    public boolean isIstaktiv() {
+        return this.istaktiv;
+    }
+    
+    public void setIstaktiv(boolean istaktiv) {
+        this.istaktiv = istaktiv;
+    }
+
+    
+    @Column(name="BEMERKUNG", length=240)
+    public String getBemerkung() {
+        return this.bemerkung;
+    }
+    
+    public void setBemerkung(String bemerkung) {
+        this.bemerkung = bemerkung;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema")
+    public Set<Bild> getBilds() {
+        return this.bilds;
+    }
+    
+    public void setBilds(Set<Bild> bilds) {
+        this.bilds = bilds;
+    }
+
+@OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema")
+    public Set<Probebild> getProbebilds() {
+        return this.probebilds;
+    }
+    
+    public void setProbebilds(Set<Probebild> probebilds) {
+        this.probebilds = probebilds;
+    }
+}

http://dive4elements.wald.intevation.org