comparison flys-backend/src/main/java/de/intevation/seddb/model/Gfaenger.java @ 3334:2ae732e2c65c

FLYS backend: Removed trailing whitespace. flys-backend/trunk@4669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 15 Jun 2012 09:20:49 +0000
parents aa8ed778c8cc
children 18619c1e7c2a
comparison
equal deleted inserted replaced
3333:76c75c8b9ee0 3334:2ae732e2c65c
17 * Gfaenger generated by hbm2java 17 * Gfaenger generated by hbm2java
18 */ 18 */
19 @Entity 19 @Entity
20 @Table(name="GFAENGER" 20 @Table(name="GFAENGER"
21 ,schema="SEDDB" 21 ,schema="SEDDB"
22 , uniqueConstraints = @UniqueConstraint(columnNames="NAME") 22 , uniqueConstraints = @UniqueConstraint(columnNames="NAME")
23 ) 23 )
24 public class Gfaenger implements java.io.Serializable { 24 public class Gfaenger implements java.io.Serializable {
25 25
26 26
27 private long gfaengerid; 27 private long gfaengerid;
49 this.breite = breite; 49 this.breite = breite;
50 this.maschenweite = maschenweite; 50 this.maschenweite = maschenweite;
51 this.bemerkung = bemerkung; 51 this.bemerkung = bemerkung;
52 this.messungs = messungs; 52 this.messungs = messungs;
53 } 53 }
54
55 @Id
56 54
57 55 @Id
56
57
58 @Column(name="GFAENGERID", unique=true, nullable=false, precision=11, scale=0) 58 @Column(name="GFAENGERID", unique=true, nullable=false, precision=11, scale=0)
59 public long getGfaengerid() { 59 public long getGfaengerid() {
60 return this.gfaengerid; 60 return this.gfaengerid;
61 } 61 }
62 62
63 public void setGfaengerid(long gfaengerid) { 63 public void setGfaengerid(long gfaengerid) {
64 this.gfaengerid = gfaengerid; 64 this.gfaengerid = gfaengerid;
65 } 65 }
66 66
67 67
68 @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0) 68 @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0)
69 public boolean isIstaktiv() { 69 public boolean isIstaktiv() {
70 return this.istaktiv; 70 return this.istaktiv;
71 } 71 }
72 72
73 public void setIstaktiv(boolean istaktiv) { 73 public void setIstaktiv(boolean istaktiv) {
74 this.istaktiv = istaktiv; 74 this.istaktiv = istaktiv;
75 } 75 }
76 76
77 77
78 @Column(name="NAME", unique=true, nullable=false, length=30) 78 @Column(name="NAME", unique=true, nullable=false, length=30)
79 public String getName() { 79 public String getName() {
80 return this.name; 80 return this.name;
81 } 81 }
82 82
83 public void setName(String name) { 83 public void setName(String name) {
84 this.name = name; 84 this.name = name;
85 } 85 }
86 86
87 87
88 @Column(name="BREITE", nullable=false, precision=6, scale=3) 88 @Column(name="BREITE", nullable=false, precision=6, scale=3)
89 public BigDecimal getBreite() { 89 public BigDecimal getBreite() {
90 return this.breite; 90 return this.breite;
91 } 91 }
92 92
93 public void setBreite(BigDecimal breite) { 93 public void setBreite(BigDecimal breite) {
94 this.breite = breite; 94 this.breite = breite;
95 } 95 }
96 96
97 97
98 @Column(name="MASCHENWEITE", nullable=false, precision=7, scale=4) 98 @Column(name="MASCHENWEITE", nullable=false, precision=7, scale=4)
99 public BigDecimal getMaschenweite() { 99 public BigDecimal getMaschenweite() {
100 return this.maschenweite; 100 return this.maschenweite;
101 } 101 }
102 102
103 public void setMaschenweite(BigDecimal maschenweite) { 103 public void setMaschenweite(BigDecimal maschenweite) {
104 this.maschenweite = maschenweite; 104 this.maschenweite = maschenweite;
105 } 105 }
106 106
107 107
108 @Column(name="BEMERKUNG", length=240) 108 @Column(name="BEMERKUNG", length=240)
109 public String getBemerkung() { 109 public String getBemerkung() {
110 return this.bemerkung; 110 return this.bemerkung;
111 } 111 }
112 112
113 public void setBemerkung(String bemerkung) { 113 public void setBemerkung(String bemerkung) {
114 this.bemerkung = bemerkung; 114 this.bemerkung = bemerkung;
115 } 115 }
116 116
117 @OneToMany(fetch=FetchType.LAZY, mappedBy="gfaenger") 117 @OneToMany(fetch=FetchType.LAZY, mappedBy="gfaenger")
118 public Set<Messung> getMessungs() { 118 public Set<Messung> getMessungs() {
119 return this.messungs; 119 return this.messungs;
120 } 120 }
121 121
122 public void setMessungs(Set<Messung> messungs) { 122 public void setMessungs(Set<Messung> messungs) {
123 this.messungs = messungs; 123 this.messungs = messungs;
124 } 124 }
125 } 125 }

http://dive4elements.wald.intevation.org