Rev 1841 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1841 | Rev 1843 | ||
---|---|---|---|
1 | package pt.estgp.estgweb.domain; |
1 | package pt.estgp.estgweb.domain; |
2 | // Generated 4/nov/2017 18:59:19 by Hibernate Tools 3.2.0.b9 |
2 | // Generated 4/nov/2017 19:35:42 by Hibernate Tools 3.2.0.b9 |
3 | 3 | ||
4 | 4 | ||
5 | import java.util.Date; |
5 | import java.util.Date; |
6 | import java.util.HashSet; |
6 | import java.util.HashSet; |
7 | import java.util.Set; |
7 | import java.util.Set; |
8 | 8 | ||
9 | /** |
9 | /** |
10 | * EventGeneric generated by hbm2java |
10 | * EventGeneric generated by hbm2java |
11 | */ |
11 | */ |
12 | public abstract class EventGeneric extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
12 | public abstract class EventGeneric extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
13 | 13 | ||
14 | 14 | ||
15 | private long id; |
15 | private long id; |
16 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
16 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
17 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
17 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
18 | private boolean ativo; |
18 | private boolean ativo; |
19 | private 5+0%2Fdocs%2Fapi+Date">Date dataAberturaFormulario; |
19 | private 5+0%2Fdocs%2Fapi+Date">Date dataAberturaFormulario; |
20 | private 5+0%2Fdocs%2Fapi+Date">Date dataFechoFormulario; |
20 | private 5+0%2Fdocs%2Fapi+Date">Date dataFechoFormulario; |
21 | private 5+0%2Fdocs%2Fapi+Date">Date dataPublicacao; |
21 | private 5+0%2Fdocs%2Fapi+Date">Date dataPublicacao; |
22 | private boolean registeredUsersOnly; |
22 | private boolean registeredUsersOnly; |
23 | private 1.5.0/docs/api/java/lang/String.html">String category; |
23 | private 1.5.0/docs/api/java/lang/String.html">String category; |
24 | private 1.5.0/docs/api/java/lang/String.html">String subCategory; |
24 | private 1.5.0/docs/api/java/lang/String.html">String subCategory; |
25 | private 1.5.0/docs/api/java/lang/String.html">String title; |
25 | private 1.5.0/docs/api/java/lang/String.html">String title; |
26 | private 1.5.0/docs/api/java/lang/String.html">String description; |
26 | private 1.5.0/docs/api/java/lang/String.html">String description; |
27 | private 1.5.0/docs/api/java/lang/String.html">String observacoes; |
27 | private 1.5.0/docs/api/java/lang/String.html">String observacoes; |
28 | private 1.5.0/docs/api/java/lang/String.html">String locais; |
28 | private 1.5.0/docs/api/java/lang/String.html">String locais; |
29 | private 5+0%2Fdocs%2Fapi+Date">Date dataInicio; |
29 | private 5+0%2Fdocs%2Fapi+Date">Date dataInicio; |
30 | private 1.5.0/docs/api/java/lang/String.html">String flyerRepositoryStream; |
30 | private 1.5.0/docs/api/java/lang/String.html">String flyerRepositoryStream; |
31 | private 1.5.0/docs/api/java/lang/String.html">String preInformation; |
31 | private 1.5.0/docs/api/java/lang/String.html">String preInformation; |
32 | private 1.5.0/docs/api/java/lang/String.html">String afterRegisterInformation; |
32 | private 1.5.0/docs/api/java/lang/String.html">String afterRegisterInformation; |
33 | private boolean sexo; |
33 | private boolean sexo; |
34 | private boolean morada; |
34 | private boolean morada; |
35 | private boolean pais; |
35 | private boolean pais; |
36 | private boolean dataNascimento; |
36 | private boolean dataNascimento; |
37 | private boolean nif; |
37 | private boolean nif; |
38 | private boolean bi; |
38 | private boolean bi; |
39 | private boolean telefone1; |
39 | private boolean telefone1; |
40 | private boolean telefone2; |
40 | private boolean telefone2; |
41 | private boolean empresa; |
41 | private boolean empresa; |
42 | private boolean escolaridade; |
42 | private boolean escolaridade; |
43 | private boolean profissao; |
43 | private boolean profissao; |
44 | private User owner; |
44 | private User owner; |
45 | private EventClass eventClass; |
45 | private EventClass eventClass; |
46 | private Set<EventGenericRecord> eventRecords = new HashSet<EventGenericRecord>(0); |
46 | private Set<EventGenericRecord> eventRecords = new HashSet<EventGenericRecord>(0); |
47 | 47 | ||
48 | public EventGeneric() { |
48 | public EventGeneric() { |
49 | } |
49 | } |
50 | 50 | ||
51 | 51 | ||
52 | public long getId() { |
52 | public long getId() { |
53 | return this.id; |
53 | return this.id; |
54 | } |
54 | } |
55 | 55 | ||
56 | public void setId(long id) { |
56 | public void setId(long id) { |
57 | this.id = id; |
57 | this.id = id; |
58 | } |
58 | } |
59 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
59 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
60 | return this.updateDate; |
60 | return this.updateDate; |
61 | } |
61 | } |
62 | 62 | ||
63 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
63 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
64 | this.updateDate = updateDate; |
64 | this.updateDate = updateDate; |
65 | } |
65 | } |
66 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
66 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
67 | return this.saveDate; |
67 | return this.saveDate; |
68 | } |
68 | } |
69 | 69 | ||
70 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
70 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
71 | this.saveDate = saveDate; |
71 | this.saveDate = saveDate; |
72 | } |
72 | } |
73 | public boolean isAtivo() { |
73 | public boolean isAtivo() { |
74 | return this.ativo; |
74 | return this.ativo; |
75 | } |
75 | } |
76 | 76 | ||
77 | public void setAtivo(boolean ativo) { |
77 | public void setAtivo(boolean ativo) { |
78 | this.ativo = ativo; |
78 | this.ativo = ativo; |
79 | } |
79 | } |
80 | public 5+0%2Fdocs%2Fapi+Date">Date getDataAberturaFormulario() { |
80 | public 5+0%2Fdocs%2Fapi+Date">Date getDataAberturaFormulario() { |
81 | return this.dataAberturaFormulario; |
81 | return this.dataAberturaFormulario; |
82 | } |
82 | } |
83 | 83 | ||
84 | public void setDataAberturaFormulario(5+0%2Fdocs%2Fapi+Date">Date dataAberturaFormulario) { |
84 | public void setDataAberturaFormulario(5+0%2Fdocs%2Fapi+Date">Date dataAberturaFormulario) { |
85 | this.dataAberturaFormulario = dataAberturaFormulario; |
85 | this.dataAberturaFormulario = dataAberturaFormulario; |
86 | } |
86 | } |
87 | public 5+0%2Fdocs%2Fapi+Date">Date getDataFechoFormulario() { |
87 | public 5+0%2Fdocs%2Fapi+Date">Date getDataFechoFormulario() { |
88 | return this.dataFechoFormulario; |
88 | return this.dataFechoFormulario; |
89 | } |
89 | } |
90 | 90 | ||
91 | public void setDataFechoFormulario(5+0%2Fdocs%2Fapi+Date">Date dataFechoFormulario) { |
91 | public void setDataFechoFormulario(5+0%2Fdocs%2Fapi+Date">Date dataFechoFormulario) { |
92 | this.dataFechoFormulario = dataFechoFormulario; |
92 | this.dataFechoFormulario = dataFechoFormulario; |
93 | } |
93 | } |
94 | public 5+0%2Fdocs%2Fapi+Date">Date getDataPublicacao() { |
94 | public 5+0%2Fdocs%2Fapi+Date">Date getDataPublicacao() { |
95 | return this.dataPublicacao; |
95 | return this.dataPublicacao; |
96 | } |
96 | } |
97 | 97 | ||
98 | public void setDataPublicacao(5+0%2Fdocs%2Fapi+Date">Date dataPublicacao) { |
98 | public void setDataPublicacao(5+0%2Fdocs%2Fapi+Date">Date dataPublicacao) { |
99 | this.dataPublicacao = dataPublicacao; |
99 | this.dataPublicacao = dataPublicacao; |
100 | } |
100 | } |
101 | public boolean isRegisteredUsersOnly() { |
101 | public boolean isRegisteredUsersOnly() { |
102 | return this.registeredUsersOnly; |
102 | return this.registeredUsersOnly; |
103 | } |
103 | } |
104 | 104 | ||
105 | public void setRegisteredUsersOnly(boolean registeredUsersOnly) { |
105 | public void setRegisteredUsersOnly(boolean registeredUsersOnly) { |
106 | this.registeredUsersOnly = registeredUsersOnly; |
106 | this.registeredUsersOnly = registeredUsersOnly; |
107 | } |
107 | } |
108 | public 1.5.0/docs/api/java/lang/String.html">String getCategory() { |
108 | public 1.5.0/docs/api/java/lang/String.html">String getCategory() { |
109 | return this.category; |
109 | return this.category; |
110 | } |
110 | } |
111 | 111 | ||
112 | public void setCategory(1.5.0/docs/api/java/lang/String.html">String category) { |
112 | public void setCategory(1.5.0/docs/api/java/lang/String.html">String category) { |
113 | this.category = category; |
113 | this.category = category; |
114 | } |
114 | } |
115 | public 1.5.0/docs/api/java/lang/String.html">String getSubCategory() { |
115 | public 1.5.0/docs/api/java/lang/String.html">String getSubCategory() { |
116 | return this.subCategory; |
116 | return this.subCategory; |
117 | } |
117 | } |
118 | 118 | ||
119 | public void setSubCategory(1.5.0/docs/api/java/lang/String.html">String subCategory) { |
119 | public void setSubCategory(1.5.0/docs/api/java/lang/String.html">String subCategory) { |
120 | this.subCategory = subCategory; |
120 | this.subCategory = subCategory; |
121 | } |
121 | } |
122 | public 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
122 | public 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
123 | return this.title; |
123 | return this.title; |
124 | } |
124 | } |
125 | 125 | ||
126 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
126 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
127 | this.title = title; |
127 | this.title = title; |
128 | } |
128 | } |
129 | public 1.5.0/docs/api/java/lang/String.html">String getDescription() { |
129 | public 1.5.0/docs/api/java/lang/String.html">String getDescription() { |
130 | return this.description; |
130 | return this.description; |
131 | } |
131 | } |
132 | 132 | ||
133 | public void setDescription(1.5.0/docs/api/java/lang/String.html">String description) { |
133 | public void setDescription(1.5.0/docs/api/java/lang/String.html">String description) { |
134 | this.description = description; |
134 | this.description = description; |
135 | } |
135 | } |
136 | public 1.5.0/docs/api/java/lang/String.html">String getObservacoes() { |
136 | public 1.5.0/docs/api/java/lang/String.html">String getObservacoes() { |
137 | return this.observacoes; |
137 | return this.observacoes; |
138 | } |
138 | } |
139 | 139 | ||
140 | public void setObservacoes(1.5.0/docs/api/java/lang/String.html">String observacoes) { |
140 | public void setObservacoes(1.5.0/docs/api/java/lang/String.html">String observacoes) { |
141 | this.observacoes = observacoes; |
141 | this.observacoes = observacoes; |
142 | } |
142 | } |
143 | public 1.5.0/docs/api/java/lang/String.html">String getLocais() { |
143 | public 1.5.0/docs/api/java/lang/String.html">String getLocais() { |
144 | return this.locais; |
144 | return this.locais; |
145 | } |
145 | } |
146 | 146 | ||
147 | public void setLocais(1.5.0/docs/api/java/lang/String.html">String locais) { |
147 | public void setLocais(1.5.0/docs/api/java/lang/String.html">String locais) { |
148 | this.locais = locais; |
148 | this.locais = locais; |
149 | } |
149 | } |
150 | public 5+0%2Fdocs%2Fapi+Date">Date getDataInicio() { |
150 | public 5+0%2Fdocs%2Fapi+Date">Date getDataInicio() { |
151 | return this.dataInicio; |
151 | return this.dataInicio; |
152 | } |
152 | } |
153 | 153 | ||
154 | public void setDataInicio(5+0%2Fdocs%2Fapi+Date">Date dataInicio) { |
154 | public void setDataInicio(5+0%2Fdocs%2Fapi+Date">Date dataInicio) { |
155 | this.dataInicio = dataInicio; |
155 | this.dataInicio = dataInicio; |
156 | } |
156 | } |
157 | public 1.5.0/docs/api/java/lang/String.html">String getFlyerRepositoryStream() { |
157 | public 1.5.0/docs/api/java/lang/String.html">String getFlyerRepositoryStream() { |
158 | return this.flyerRepositoryStream; |
158 | return this.flyerRepositoryStream; |
159 | } |
159 | } |
160 | 160 | ||
161 | public void setFlyerRepositoryStream(1.5.0/docs/api/java/lang/String.html">String flyerRepositoryStream) { |
161 | public void setFlyerRepositoryStream(1.5.0/docs/api/java/lang/String.html">String flyerRepositoryStream) { |
162 | this.flyerRepositoryStream = flyerRepositoryStream; |
162 | this.flyerRepositoryStream = flyerRepositoryStream; |
163 | } |
163 | } |
164 | public 1.5.0/docs/api/java/lang/String.html">String getPreInformation() { |
164 | public 1.5.0/docs/api/java/lang/String.html">String getPreInformation() { |
165 | return this.preInformation; |
165 | return this.preInformation; |
166 | } |
166 | } |
167 | 167 | ||
168 | public void setPreInformation(1.5.0/docs/api/java/lang/String.html">String preInformation) { |
168 | public void setPreInformation(1.5.0/docs/api/java/lang/String.html">String preInformation) { |
169 | this.preInformation = preInformation; |
169 | this.preInformation = preInformation; |
170 | } |
170 | } |
171 | public 1.5.0/docs/api/java/lang/String.html">String getAfterRegisterInformation() { |
171 | public 1.5.0/docs/api/java/lang/String.html">String getAfterRegisterInformation() { |
172 | return this.afterRegisterInformation; |
172 | return this.afterRegisterInformation; |
173 | } |
173 | } |
174 | 174 | ||
175 | public void setAfterRegisterInformation(1.5.0/docs/api/java/lang/String.html">String afterRegisterInformation) { |
175 | public void setAfterRegisterInformation(1.5.0/docs/api/java/lang/String.html">String afterRegisterInformation) { |
176 | this.afterRegisterInformation = afterRegisterInformation; |
176 | this.afterRegisterInformation = afterRegisterInformation; |
177 | } |
177 | } |
178 | public boolean isSexo() { |
178 | public boolean isSexo() { |
179 | return this.sexo; |
179 | return this.sexo; |
180 | } |
180 | } |
181 | 181 | ||
182 | public void setSexo(boolean sexo) { |
182 | public void setSexo(boolean sexo) { |
183 | this.sexo = sexo; |
183 | this.sexo = sexo; |
184 | } |
184 | } |
185 | public boolean isMorada() { |
185 | public boolean isMorada() { |
186 | return this.morada; |
186 | return this.morada; |
187 | } |
187 | } |
188 | 188 | ||
189 | public void setMorada(boolean morada) { |
189 | public void setMorada(boolean morada) { |
190 | this.morada = morada; |
190 | this.morada = morada; |
191 | } |
191 | } |
192 | public boolean isPais() { |
192 | public boolean isPais() { |
193 | return this.pais; |
193 | return this.pais; |
194 | } |
194 | } |
195 | 195 | ||
196 | public void setPais(boolean pais) { |
196 | public void setPais(boolean pais) { |
197 | this.pais = pais; |
197 | this.pais = pais; |
198 | } |
198 | } |
199 | public boolean isDataNascimento() { |
199 | public boolean isDataNascimento() { |
200 | return this.dataNascimento; |
200 | return this.dataNascimento; |
201 | } |
201 | } |
202 | 202 | ||
203 | public void setDataNascimento(boolean dataNascimento) { |
203 | public void setDataNascimento(boolean dataNascimento) { |
204 | this.dataNascimento = dataNascimento; |
204 | this.dataNascimento = dataNascimento; |
205 | } |
205 | } |
206 | public boolean isNif() { |
206 | public boolean isNif() { |
207 | return this.nif; |
207 | return this.nif; |
208 | } |
208 | } |
209 | 209 | ||
210 | public void setNif(boolean nif) { |
210 | public void setNif(boolean nif) { |
211 | this.nif = nif; |
211 | this.nif = nif; |
212 | } |
212 | } |
213 | public boolean isBi() { |
213 | public boolean isBi() { |
214 | return this.bi; |
214 | return this.bi; |
215 | } |
215 | } |
216 | 216 | ||
217 | public void setBi(boolean bi) { |
217 | public void setBi(boolean bi) { |
218 | this.bi = bi; |
218 | this.bi = bi; |
219 | } |
219 | } |
220 | public boolean isTelefone1() { |
220 | public boolean isTelefone1() { |
221 | return this.telefone1; |
221 | return this.telefone1; |
222 | } |
222 | } |
223 | 223 | ||
224 | public void setTelefone1(boolean telefone1) { |
224 | public void setTelefone1(boolean telefone1) { |
225 | this.telefone1 = telefone1; |
225 | this.telefone1 = telefone1; |
226 | } |
226 | } |
227 | public boolean isTelefone2() { |
227 | public boolean isTelefone2() { |
228 | return this.telefone2; |
228 | return this.telefone2; |
229 | } |
229 | } |
230 | 230 | ||
231 | public void setTelefone2(boolean telefone2) { |
231 | public void setTelefone2(boolean telefone2) { |
232 | this.telefone2 = telefone2; |
232 | this.telefone2 = telefone2; |
233 | } |
233 | } |
234 | public boolean isEmpresa() { |
234 | public boolean isEmpresa() { |
235 | return this.empresa; |
235 | return this.empresa; |
236 | } |
236 | } |
237 | 237 | ||
238 | public void setEmpresa(boolean empresa) { |
238 | public void setEmpresa(boolean empresa) { |
239 | this.empresa = empresa; |
239 | this.empresa = empresa; |
240 | } |
240 | } |
241 | public boolean isEscolaridade() { |
241 | public boolean isEscolaridade() { |
242 | return this.escolaridade; |
242 | return this.escolaridade; |
243 | } |
243 | } |
244 | 244 | ||
245 | public void setEscolaridade(boolean escolaridade) { |
245 | public void setEscolaridade(boolean escolaridade) { |
246 | this.escolaridade = escolaridade; |
246 | this.escolaridade = escolaridade; |
247 | } |
247 | } |
248 | public boolean isProfissao() { |
248 | public boolean isProfissao() { |
249 | return this.profissao; |
249 | return this.profissao; |
250 | } |
250 | } |
251 | 251 | ||
252 | public void setProfissao(boolean profissao) { |
252 | public void setProfissao(boolean profissao) { |
253 | this.profissao = profissao; |
253 | this.profissao = profissao; |
254 | } |
254 | } |
255 | public User getOwner() { |
255 | public User getOwner() { |
256 | return this.owner; |
256 | return this.owner; |
257 | } |
257 | } |
258 | 258 | ||
259 | public void setOwner(User owner) { |
259 | public void setOwner(User owner) { |
260 | this.owner = owner; |
260 | this.owner = owner; |
261 | } |
261 | } |
262 | public EventClass getEventClass() { |
262 | public EventClass getEventClass() { |
263 | return this.eventClass; |
263 | return this.eventClass; |
264 | } |
264 | } |
265 | 265 | ||
266 | public void setEventClass(EventClass eventClass) { |
266 | public void setEventClass(EventClass eventClass) { |
267 | this.eventClass = eventClass; |
267 | this.eventClass = eventClass; |
268 | } |
268 | } |
269 | public Set<EventGenericRecord> getEventRecords() { |
269 | public Set<EventGenericRecord> getEventRecords() { |
270 | return this.eventRecords; |
270 | return this.eventRecords; |
271 | } |
271 | } |
272 | 272 | ||
273 | public void setEventRecords(Set<EventGenericRecord> eventRecords) { |
273 | public void setEventRecords(Set<EventGenericRecord> eventRecords) { |
274 | this.eventRecords = eventRecords; |
274 | this.eventRecords = eventRecords; |
275 | } |
275 | } |
276 | 276 | ||
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | } |
280 | } |
281 | 281 | ||
282 | 282 | ||
283 | 283 |