Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Zzthema.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 |
---|---|
29 private Set<Probebild> probebilds = new HashSet<Probebild>(0); | 29 private Set<Probebild> probebilds = new HashSet<Probebild>(0); |
30 | 30 |
31 public Zzthema() { | 31 public Zzthema() { |
32 } | 32 } |
33 | 33 |
34 | 34 |
35 public Zzthema(long themaid, String name, boolean istaktiv) { | 35 public Zzthema(long themaid, String name, boolean istaktiv) { |
36 this.themaid = themaid; | 36 this.themaid = themaid; |
37 this.name = name; | 37 this.name = name; |
38 this.istaktiv = istaktiv; | 38 this.istaktiv = istaktiv; |
39 } | 39 } |
43 this.istaktiv = istaktiv; | 43 this.istaktiv = istaktiv; |
44 this.bemerkung = bemerkung; | 44 this.bemerkung = bemerkung; |
45 this.bilds = bilds; | 45 this.bilds = bilds; |
46 this.probebilds = probebilds; | 46 this.probebilds = probebilds; |
47 } | 47 } |
48 | |
49 @Id | |
50 | 48 |
51 | 49 @Id |
50 | |
51 | |
52 @Column(name="THEMAID", unique=true, nullable=false, precision=11, scale=0) | 52 @Column(name="THEMAID", unique=true, nullable=false, precision=11, scale=0) |
53 public long getThemaid() { | 53 public long getThemaid() { |
54 return this.themaid; | 54 return this.themaid; |
55 } | 55 } |
56 | 56 |
57 public void setThemaid(long themaid) { | 57 public void setThemaid(long themaid) { |
58 this.themaid = themaid; | 58 this.themaid = themaid; |
59 } | 59 } |
60 | 60 |
61 | 61 |
62 @Column(name="NAME", nullable=false, length=50) | 62 @Column(name="NAME", nullable=false, length=50) |
63 public String getName() { | 63 public String getName() { |
64 return this.name; | 64 return this.name; |
65 } | 65 } |
66 | 66 |
67 public void setName(String name) { | 67 public void setName(String name) { |
68 this.name = name; | 68 this.name = name; |
69 } | 69 } |
70 | 70 |
71 | 71 |
72 @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0) | 72 @Column(name="ISTAKTIV", nullable=false, precision=1, scale=0) |
73 public boolean isIstaktiv() { | 73 public boolean isIstaktiv() { |
74 return this.istaktiv; | 74 return this.istaktiv; |
75 } | 75 } |
76 | 76 |
77 public void setIstaktiv(boolean istaktiv) { | 77 public void setIstaktiv(boolean istaktiv) { |
78 this.istaktiv = istaktiv; | 78 this.istaktiv = istaktiv; |
79 } | 79 } |
80 | 80 |
81 | 81 |
82 @Column(name="BEMERKUNG", length=240) | 82 @Column(name="BEMERKUNG", length=240) |
83 public String getBemerkung() { | 83 public String getBemerkung() { |
84 return this.bemerkung; | 84 return this.bemerkung; |
85 } | 85 } |
86 | 86 |
87 public void setBemerkung(String bemerkung) { | 87 public void setBemerkung(String bemerkung) { |
88 this.bemerkung = bemerkung; | 88 this.bemerkung = bemerkung; |
89 } | 89 } |
90 | 90 |
91 @OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema") | 91 @OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema") |
92 public Set<Bild> getBilds() { | 92 public Set<Bild> getBilds() { |
93 return this.bilds; | 93 return this.bilds; |
94 } | 94 } |
95 | 95 |
96 public void setBilds(Set<Bild> bilds) { | 96 public void setBilds(Set<Bild> bilds) { |
97 this.bilds = bilds; | 97 this.bilds = bilds; |
98 } | 98 } |
99 | 99 |
100 @OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema") | 100 @OneToMany(fetch=FetchType.LAZY, mappedBy="zzthema") |
101 public Set<Probebild> getProbebilds() { | 101 public Set<Probebild> getProbebilds() { |
102 return this.probebilds; | 102 return this.probebilds; |
103 } | 103 } |
104 | 104 |
105 public void setProbebilds(Set<Probebild> probebilds) { | 105 public void setProbebilds(Set<Probebild> probebilds) { |
106 this.probebilds = probebilds; | 106 this.probebilds = probebilds; |
107 } | 107 } |
108 } | 108 } |