annotate flys-backend/src/main/java/de/intevation/seddb/model/Gsiebungsieb.java @ 4198:1cdbd8a0c994

Added two new tables ClickableQDTable and ClickableWTable and made Ws and Qs clickable in historical discharge calculation. The new tables define listener interfaces (clicked lower or upper icon) to listen to user clicks. In addition to this, there is an enum ClickMode with NONE, SINGLE and RANGE options, which allows to specifiy, which icons are displayed in the tables. NONE means no icon for user clicks, SINGLE has 1 icon, RANGE 2 icons for lower and upper.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Oct 2012 13:31:25 +0200
parents 2ae732e2c65c
children 18619c1e7c2a
rev   line source
3332
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 package de.intevation.seddb.model;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 import javax.persistence.AttributeOverride;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 import javax.persistence.AttributeOverrides;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 import javax.persistence.Column;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 import javax.persistence.EmbeddedId;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
9 import javax.persistence.Entity;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 import javax.persistence.Table;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
12 /**
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
13 * Gsiebungsieb generated by hbm2java
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 */
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 @Entity
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
16 @Table(name="GSIEBUNGSIEB"
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
17 ,schema="SEDDB"
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
18 )
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
19 public class Gsiebungsieb implements java.io.Serializable {
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
22 private GsiebungsiebId id;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
23
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
24 public Gsiebungsieb() {
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 }
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
27 public Gsiebungsieb(GsiebungsiebId id) {
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
28 this.id = id;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
29 }
3334
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
30
3332
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
31 @EmbeddedId
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
32
3334
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
33
3332
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
34 @AttributeOverrides( {
3334
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
35 @AttributeOverride(name="glotrechteid", column=@Column(name="GLOTRECHTEID", nullable=false, precision=11, scale=0) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
36 @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
37 @AttributeOverride(name="gmasse", column=@Column(name="GMASSE", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
38 @AttributeOverride(name="masche01", column=@Column(name="MASCHE01", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
39 @AttributeOverride(name="rueck01", column=@Column(name="RUECK01", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
40 @AttributeOverride(name="masche02", column=@Column(name="MASCHE02", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
41 @AttributeOverride(name="rueck02", column=@Column(name="RUECK02", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
42 @AttributeOverride(name="masche03", column=@Column(name="MASCHE03", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
43 @AttributeOverride(name="rueck03", column=@Column(name="RUECK03", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
44 @AttributeOverride(name="masche04", column=@Column(name="MASCHE04", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
45 @AttributeOverride(name="rueck04", column=@Column(name="RUECK04", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
46 @AttributeOverride(name="masche05", column=@Column(name="MASCHE05", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
47 @AttributeOverride(name="rueck05", column=@Column(name="RUECK05", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
48 @AttributeOverride(name="masche06", column=@Column(name="MASCHE06", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
49 @AttributeOverride(name="rueck06", column=@Column(name="RUECK06", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
50 @AttributeOverride(name="masche07", column=@Column(name="MASCHE07", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
51 @AttributeOverride(name="rueck07", column=@Column(name="RUECK07", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
52 @AttributeOverride(name="masche08", column=@Column(name="MASCHE08", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
53 @AttributeOverride(name="rueck08", column=@Column(name="RUECK08", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
54 @AttributeOverride(name="masche09", column=@Column(name="MASCHE09", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
55 @AttributeOverride(name="rueck09", column=@Column(name="RUECK09", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
56 @AttributeOverride(name="masche10", column=@Column(name="MASCHE10", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
57 @AttributeOverride(name="rueck10", column=@Column(name="RUECK10", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
58 @AttributeOverride(name="masche11", column=@Column(name="MASCHE11", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
59 @AttributeOverride(name="rueck11", column=@Column(name="RUECK11", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
60 @AttributeOverride(name="masche12", column=@Column(name="MASCHE12", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
61 @AttributeOverride(name="rueck12", column=@Column(name="RUECK12", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
62 @AttributeOverride(name="masche13", column=@Column(name="MASCHE13", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
63 @AttributeOverride(name="rueck13", column=@Column(name="RUECK13", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
64 @AttributeOverride(name="masche14", column=@Column(name="MASCHE14", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
65 @AttributeOverride(name="rueck14", column=@Column(name="RUECK14", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
66 @AttributeOverride(name="masche15", column=@Column(name="MASCHE15", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
67 @AttributeOverride(name="rueck15", column=@Column(name="RUECK15", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
68 @AttributeOverride(name="masche16", column=@Column(name="MASCHE16", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
69 @AttributeOverride(name="rueck16", column=@Column(name="RUECK16", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
70 @AttributeOverride(name="masche17", column=@Column(name="MASCHE17", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
71 @AttributeOverride(name="rueck17", column=@Column(name="RUECK17", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
72 @AttributeOverride(name="masche18", column=@Column(name="MASCHE18", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
73 @AttributeOverride(name="rueck18", column=@Column(name="RUECK18", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
74 @AttributeOverride(name="masche19", column=@Column(name="MASCHE19", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
75 @AttributeOverride(name="rueck19", column=@Column(name="RUECK19", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
76 @AttributeOverride(name="masche20", column=@Column(name="MASCHE20", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
77 @AttributeOverride(name="rueck20", column=@Column(name="RUECK20", precision=9, scale=3) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
78 @AttributeOverride(name="masche21", column=@Column(name="MASCHE21", precision=7, scale=4) ),
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
79 @AttributeOverride(name="rueck21", column=@Column(name="RUECK21", precision=9, scale=3) ),
3332
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
80 @AttributeOverride(name="rest", column=@Column(name="REST", precision=9, scale=3) ) } )
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
81 public GsiebungsiebId getId() {
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
82 return this.id;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
83 }
3334
2ae732e2c65c FLYS backend: Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3332
diff changeset
84
3332
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
85 public void setId(GsiebungsiebId id) {
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
86 this.id = id;
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
87 }
aa8ed778c8cc Added Hibernate access class to SedDB
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
88 }

http://dive4elements.wald.intevation.org