Rev 1334 | Rev 1336 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1314 | jmachado | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE hibernate-mapping |
||
3 | PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
||
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
||
5 | |||
6 | <hibernate-mapping> |
||
7 | <class name="pt.estgp.estgweb.domain.Questionario" table="questionario" abstract="true"> |
||
8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
9 | <meta attribute="scope-class">public abstract</meta> |
||
1315 | jmachado | 10 | <id name="id" type="long" unsaved-value="0"> |
1314 | jmachado | 11 | <generator class="native"/> |
12 | </id> |
||
13 | <discriminator column="discriminator"/> |
||
14 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
||
15 | <property name="saveDate" type="timestamp"/> |
||
1325 | jmachado | 16 | <property name="description" type="string"/> |
1333 | jmachado | 17 | <property name="logStates" type="text"> |
18 | <column name="logStates" sql-type="MEDIUMTEXT"/> |
||
19 | </property> |
||
1314 | jmachado | 20 | <property name="year" type="string"/> |
21 | <property name="semestre" type="string"/> |
||
1325 | jmachado | 22 | <property name="iAnswersProcessor" type="string"/> |
1314 | jmachado | 23 | <property name="p1" type="string"/> |
24 | <property name="p2" type="string"/> |
||
25 | <property name="p3" type="string"/> |
||
26 | <property name="p4" type="string"/> |
||
27 | <property name="p5" type="string"/> |
||
28 | <property name="p6" type="string"/> |
||
29 | <property name="p7" type="string"/> |
||
30 | <property name="p8" type="string"/> |
||
31 | <property name="p9" type="string"/> |
||
32 | <property name="p10" type="string"/> |
||
33 | <property name="p11" type="string"/> |
||
34 | <property name="p12" type="string"/> |
||
35 | <property name="p13" type="string"/> |
||
36 | <property name="p14" type="string"/> |
||
37 | <property name="p15" type="string"/> |
||
38 | <property name="p16" type="string"/> |
||
39 | <property name="p17" type="string"/> |
||
40 | <property name="p18" type="string"/> |
||
41 | <property name="p19" type="string"/> |
||
42 | <property name="p20" type="string"/> |
||
43 | <property name="p21" type="string"/> |
||
44 | <property name="p22" type="string"/> |
||
45 | <property name="p23" type="string"/> |
||
46 | <property name="p24" type="string"/> |
||
47 | <property name="p25" type="string"/> |
||
48 | <property name="p26" type="string"/> |
||
49 | <property name="p27" type="string"/> |
||
50 | <property name="p28" type="string"/> |
||
51 | <property name="p29" type="string"/> |
||
52 | <property name="p30" type="string"/> |
||
1325 | jmachado | 53 | <property name="p31" type="string"/> |
54 | <property name="p32" type="string"/> |
||
55 | <property name="p33" type="string"/> |
||
56 | <property name="p34" type="string"/> |
||
57 | <property name="p35" type="string"/> |
||
58 | <property name="p36" type="string"/> |
||
59 | <property name="p37" type="string"/> |
||
60 | <property name="p38" type="string"/> |
||
61 | <property name="p39" type="string"/> |
||
62 | <property name="p40" type="string"/> |
||
63 | <property name="t1" type="string"/> |
||
64 | <property name="t2" type="string"/> |
||
65 | <property name="t3" type="string"/> |
||
66 | <property name="t4" type="string"/> |
||
67 | <property name="t5" type="string"/> |
||
68 | <property name="t6" type="string"/> |
||
69 | <property name="t7" type="string"/> |
||
70 | <property name="t8" type="string"/> |
||
71 | <property name="t9" type="string"/> |
||
72 | <property name="t10" type="string"/> |
||
1314 | jmachado | 73 | |
74 | <property name="p1Group" type="string"/> |
||
75 | <property name="p2Group" type="string"/> |
||
76 | <property name="p3Group" type="string"/> |
||
77 | <property name="p4Group" type="string"/> |
||
78 | <property name="p5Group" type="string"/> |
||
79 | <property name="p6Group" type="string"/> |
||
80 | <property name="p7Group" type="string"/> |
||
81 | <property name="p8Group" type="string"/> |
||
82 | <property name="p9Group" type="string"/> |
||
83 | <property name="p10Group" type="string"/> |
||
84 | <property name="p11Group" type="string"/> |
||
85 | <property name="p12Group" type="string"/> |
||
86 | <property name="p13Group" type="string"/> |
||
87 | <property name="p14Group" type="string"/> |
||
88 | <property name="p15Group" type="string"/> |
||
89 | <property name="p16Group" type="string"/> |
||
90 | <property name="p17Group" type="string"/> |
||
91 | <property name="p18Group" type="string"/> |
||
92 | <property name="p19Group" type="string"/> |
||
93 | <property name="p20Group" type="string"/> |
||
94 | <property name="p21Group" type="string"/> |
||
95 | <property name="p22Group" type="string"/> |
||
96 | <property name="p23Group" type="string"/> |
||
97 | <property name="p24Group" type="string"/> |
||
98 | <property name="p25Group" type="string"/> |
||
99 | <property name="p26Group" type="string"/> |
||
100 | <property name="p27Group" type="string"/> |
||
101 | <property name="p28Group" type="string"/> |
||
102 | <property name="p29Group" type="string"/> |
||
103 | <property name="p30Group" type="string"/> |
||
1325 | jmachado | 104 | <property name="p31Group" type="string"/> |
105 | <property name="p32Group" type="string"/> |
||
106 | <property name="p33Group" type="string"/> |
||
107 | <property name="p34Group" type="string"/> |
||
108 | <property name="p35Group" type="string"/> |
||
109 | <property name="p36Group" type="string"/> |
||
110 | <property name="p37Group" type="string"/> |
||
111 | <property name="p38Group" type="string"/> |
||
112 | <property name="p39Group" type="string"/> |
||
113 | <property name="p40Group" type="string"/> |
||
114 | <property name="t1Group" type="string"/> |
||
115 | <property name="t2Group" type="string"/> |
||
116 | <property name="t3Group" type="string"/> |
||
117 | <property name="t4Group" type="string"/> |
||
118 | <property name="t5Group" type="string"/> |
||
119 | <property name="t6Group" type="string"/> |
||
120 | <property name="t7Group" type="string"/> |
||
121 | <property name="t8Group" type="string"/> |
||
122 | <property name="t9Group" type="string"/> |
||
123 | <property name="t10Group" type="string"/> |
||
1314 | jmachado | 124 | |
125 | <property name="introHtml" type="string"> |
||
126 | <column name="introHtml" sql-type="text"/> |
||
127 | </property> |
||
128 | |||
129 | <property name="group1Title" type="string"> |
||
130 | <column name="group1Title" sql-type="text"/> |
||
131 | </property> |
||
132 | <property name="group2Title" type="string"> |
||
133 | <column name="group2Title" sql-type="text"/> |
||
134 | </property> |
||
135 | <property name="group3Title" type="string"> |
||
136 | <column name="group3Title" sql-type="text"/> |
||
137 | </property> |
||
138 | <property name="group4Title" type="string"> |
||
139 | <column name="group4Title" sql-type="text"/> |
||
140 | </property> |
||
141 | <property name="group5Title" type="string"> |
||
142 | <column name="group5Title" sql-type="text"/> |
||
143 | </property> |
||
1325 | jmachado | 144 | <property name="group6Title" type="string"> |
145 | <column name="group6Title" sql-type="text"/> |
||
146 | </property> |
||
147 | <property name="group7Title" type="string"> |
||
148 | <column name="group7Title" sql-type="text"/> |
||
149 | </property> |
||
150 | <property name="group8Title" type="string"> |
||
151 | <column name="group8Title" sql-type="text"/> |
||
152 | </property> |
||
153 | <property name="group9Title" type="string"> |
||
154 | <column name="group9Title" sql-type="text"/> |
||
155 | </property> |
||
156 | <property name="group10Title" type="string"> |
||
157 | <column name="group10Title" sql-type="text"/> |
||
158 | </property> |
||
1314 | jmachado | 159 | |
160 | |||
1325 | jmachado | 161 | <property name="group1Code" type="string"/> |
162 | <property name="group2Code" type="string"/> |
||
163 | <property name="group3Code" type="string"/> |
||
164 | <property name="group4Code" type="string"/> |
||
165 | <property name="group5Code" type="string"/> |
||
166 | <property name="group6Code" type="string"/> |
||
167 | <property name="group7Code" type="string"/> |
||
168 | <property name="group8Code" type="string"/> |
||
169 | <property name="group9Code" type="string"/> |
||
170 | <property name="group10Code" type="string"/> |
||
1314 | jmachado | 171 | |
172 | |||
1325 | jmachado | 173 | |
174 | |||
175 | |||
1314 | jmachado | 176 | <!--State flow info--> |
177 | <!-- |
||
178 | Possible states: |
||
179 | CREATED -> in prototype edition |
||
180 | ASSIGNED -> All tipologies prototypes created and assigned to student answers |
||
181 | PROCESSING -> Impossible to change or edit prototypes, possible to answer |
||
182 | CLOSED -> Impossible to answer |
||
183 | STATISTICS1 |
||
184 | --> |
||
185 | <property name="state" type="string"> |
||
186 | <column name="state" default="'CREATED'"/> |
||
187 | </property> |
||
1327 | jmachado | 188 | <property name="substate" type="string"/> |
1314 | jmachado | 189 | |
1327 | jmachado | 190 | <!--Modulo de Pedagogico--> |
191 | <property name="courseSelectionTaskId" type="long"> |
||
192 | <column name="course_selection_task_id" default="0"/> |
||
193 | </property> |
||
194 | <!--Modulo de Pedagogico--> |
||
195 | |||
1325 | jmachado | 196 | <many-to-one name="questionarioHistoryDrive" class="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" lazy="proxy" outer-join="false"/> |
197 | |||
1314 | jmachado | 198 | <subclass name="pt.estgp.estgweb.domain.QuestionarioImpl" discriminator-value="QuestionarioImpl"/> |
199 | </class> |
||
200 | |||
1325 | jmachado | 201 | <class name="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" table="questionario_history_drive" abstract="true"> |
202 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
203 | <meta attribute="scope-class">public abstract</meta> |
||
204 | <id name="id" type="long" unsaved-value="0"> |
||
205 | <generator class="native"/> |
||
206 | </id> |
||
207 | <discriminator column="discriminator"/> |
||
208 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
||
209 | <property name="saveDate" type="timestamp"/> |
||
210 | <property name="codeName" type="string" unique="true"/> |
||
211 | <property name="description" type="string"/> |
||
212 | <subclass name="pt.estgp.estgweb.domain.QuestionarioHistoryDriveImpl" discriminator-value="QuestionarioHistoryDriveImpl"/> |
||
213 | </class> |
||
214 | |||
1330 | jmachado | 215 | |
216 | <class name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitada" table="questionario_resposta_requisitada" abstract="true"> |
||
217 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
218 | <meta attribute="scope-class">public abstract</meta> |
||
219 | <id name="id" type="long" unsaved-value="0"> |
||
220 | <generator class="native"/> |
||
221 | </id> |
||
222 | <discriminator column="discriminator"/> |
||
223 | <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/> |
||
224 | <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/> |
||
225 | <many-to-one name="resposta" class="pt.estgp.estgweb.domain.QuestionarioResposta" lazy="false" outer-join="true"/> |
||
226 | <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitadaImpl" discriminator-value="QuestionarioRespostaRequisitadaImpl"/> |
||
227 | </class> |
||
228 | |||
229 | <class name="pt.estgp.estgweb.domain.QuestionarioResposta" table="questionario_resposta" abstract="true"> |
||
230 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
231 | <meta attribute="scope-class">public abstract</meta> |
||
232 | <id name="id" type="long" unsaved-value="0"> |
||
233 | <generator class="native"/> |
||
234 | </id> |
||
235 | <discriminator column="discriminator"/> |
||
1331 | jmachado | 236 | |
237 | <property name="saveDate" type="timestamp"/> |
||
238 | |||
239 | <property name="timeStart" type="timestamp"/> |
||
240 | <property name="timeEnd" type="timestamp"/> |
||
241 | <property name="totalTime" type="long"/> |
||
242 | |||
243 | |||
244 | <property name="r1" type="string"/> |
||
245 | <property name="r2" type="string"/> |
||
246 | <property name="r3" type="string"/> |
||
247 | <property name="r4" type="string"/> |
||
248 | <property name="r5" type="string"/> |
||
249 | <property name="r6" type="string"/> |
||
250 | <property name="r7" type="string"/> |
||
251 | <property name="r8" type="string"/> |
||
252 | <property name="r9" type="string"/> |
||
253 | <property name="r10" type="string"/> |
||
254 | <property name="r11" type="string"/> |
||
255 | <property name="r12" type="string"/> |
||
256 | <property name="r13" type="string"/> |
||
257 | <property name="r14" type="string"/> |
||
258 | <property name="r15" type="string"/> |
||
259 | <property name="r16" type="string"/> |
||
260 | <property name="r17" type="string"/> |
||
261 | <property name="r18" type="string"/> |
||
262 | <property name="r19" type="string"/> |
||
263 | <property name="r20" type="string"/> |
||
264 | <property name="r21" type="string"/> |
||
265 | <property name="r22" type="string"/> |
||
266 | <property name="r23" type="string"/> |
||
267 | <property name="r24" type="string"/> |
||
268 | <property name="r25" type="string"/> |
||
269 | <property name="r26" type="string"/> |
||
270 | <property name="r27" type="string"/> |
||
271 | <property name="r28" type="string"/> |
||
272 | <property name="r29" type="string"/> |
||
273 | <property name="r30" type="string"/> |
||
274 | <property name="r31" type="string"/> |
||
275 | <property name="r32" type="string"/> |
||
276 | <property name="r33" type="string"/> |
||
277 | <property name="r34" type="string"/> |
||
278 | <property name="r35" type="string"/> |
||
279 | <property name="r36" type="string"/> |
||
280 | <property name="r37" type="string"/> |
||
281 | <property name="r38" type="string"/> |
||
282 | <property name="r39" type="string"/> |
||
283 | <property name="r40" type="string"/> |
||
284 | |||
285 | <property name="rt1" type="string"/> |
||
286 | <property name="rt2" type="string"/> |
||
287 | <property name="rt3" type="string"/> |
||
288 | <property name="rt4" type="string"/> |
||
289 | <property name="rt5" type="string"/> |
||
290 | <property name="rt6" type="string"/> |
||
291 | <property name="rt7" type="string"/> |
||
292 | <property name="rt8" type="string"/> |
||
293 | <property name="rt9" type="string"/> |
||
294 | <property name="rt10" type="string"/> |
||
295 | |||
296 | |||
297 | <!--Tempo levado para responder--> |
||
298 | <property name="timeTakenR1" type="long"/> |
||
299 | <property name="timeTakenR2" type="long"/> |
||
300 | <property name="timeTakenR3" type="long"/> |
||
301 | <property name="timeTakenR4" type="long"/> |
||
302 | <property name="timeTakenR5" type="long"/> |
||
303 | <property name="timeTakenR6" type="long"/> |
||
304 | <property name="timeTakenR7" type="long"/> |
||
305 | <property name="timeTakenR8" type="long"/> |
||
306 | <property name="timeTakenR9" type="long"/> |
||
307 | <property name="timeTakenR10" type="long"/> |
||
308 | <property name="timeTakenR11" type="long"/> |
||
309 | <property name="timeTakenR12" type="long"/> |
||
310 | <property name="timeTakenR13" type="long"/> |
||
311 | <property name="timeTakenR14" type="long"/> |
||
312 | <property name="timeTakenR15" type="long"/> |
||
313 | <property name="timeTakenR16" type="long"/> |
||
314 | <property name="timeTakenR17" type="long"/> |
||
315 | <property name="timeTakenR18" type="long"/> |
||
316 | <property name="timeTakenR19" type="long"/> |
||
317 | <property name="timeTakenR20" type="long"/> |
||
318 | <property name="timeTakenR21" type="long"/> |
||
319 | <property name="timeTakenR22" type="long"/> |
||
320 | <property name="timeTakenR23" type="long"/> |
||
321 | <property name="timeTakenR24" type="long"/> |
||
322 | <property name="timeTakenR25" type="long"/> |
||
323 | <property name="timeTakenR26" type="long"/> |
||
324 | <property name="timeTakenR27" type="long"/> |
||
325 | <property name="timeTakenR28" type="long"/> |
||
326 | <property name="timeTakenR29" type="long"/> |
||
327 | <property name="timeTakenR30" type="long"/> |
||
328 | <property name="timeTakenR31" type="long"/> |
||
329 | <property name="timeTakenR32" type="long"/> |
||
330 | <property name="timeTakenR33" type="long"/> |
||
331 | <property name="timeTakenR34" type="long"/> |
||
332 | <property name="timeTakenR35" type="long"/> |
||
333 | <property name="timeTakenR36" type="long"/> |
||
334 | <property name="timeTakenR37" type="long"/> |
||
335 | <property name="timeTakenR38" type="long"/> |
||
336 | <property name="timeTakenR39" type="long"/> |
||
337 | <property name="timeTakenR40" type="long"/> |
||
338 | |||
339 | <property name="timeTakenRt1" type="long"/> |
||
340 | <property name="timeTakenRt2" type="long"/> |
||
341 | <property name="timeTakenRt3" type="long"/> |
||
342 | <property name="timeTakenRt4" type="long"/> |
||
343 | <property name="timeTakenRt5" type="long"/> |
||
344 | <property name="timeTakenRt6" type="long"/> |
||
345 | <property name="timeTakenRt7" type="long"/> |
||
346 | <property name="timeTakenRt8" type="long"/> |
||
347 | <property name="timeTakenRt9" type="long"/> |
||
348 | <property name="timeTakenRt10" type="long"/> |
||
349 | |||
350 | <!--Hora do Clique--> |
||
351 | <property name="timeEventR1" type="timestamp"/> |
||
352 | <property name="timeEventR2" type="timestamp"/> |
||
353 | <property name="timeEventR3" type="timestamp"/> |
||
354 | <property name="timeEventR4" type="timestamp"/> |
||
355 | <property name="timeEventR5" type="timestamp"/> |
||
356 | <property name="timeEventR6" type="timestamp"/> |
||
357 | <property name="timeEventR7" type="timestamp"/> |
||
358 | <property name="timeEventR8" type="timestamp"/> |
||
359 | <property name="timeEventR9" type="timestamp"/> |
||
360 | <property name="timeEventR10" type="timestamp"/> |
||
361 | <property name="timeEventR11" type="timestamp"/> |
||
362 | <property name="timeEventR12" type="timestamp"/> |
||
363 | <property name="timeEventR13" type="timestamp"/> |
||
364 | <property name="timeEventR14" type="timestamp"/> |
||
365 | <property name="timeEventR15" type="timestamp"/> |
||
366 | <property name="timeEventR16" type="timestamp"/> |
||
367 | <property name="timeEventR17" type="timestamp"/> |
||
368 | <property name="timeEventR18" type="timestamp"/> |
||
369 | <property name="timeEventR19" type="timestamp"/> |
||
370 | <property name="timeEventR20" type="timestamp"/> |
||
371 | <property name="timeEventR21" type="timestamp"/> |
||
372 | <property name="timeEventR22" type="timestamp"/> |
||
373 | <property name="timeEventR23" type="timestamp"/> |
||
374 | <property name="timeEventR24" type="timestamp"/> |
||
375 | <property name="timeEventR25" type="timestamp"/> |
||
376 | <property name="timeEventR26" type="timestamp"/> |
||
377 | <property name="timeEventR27" type="timestamp"/> |
||
378 | <property name="timeEventR28" type="timestamp"/> |
||
379 | <property name="timeEventR29" type="timestamp"/> |
||
380 | <property name="timeEventR30" type="timestamp"/> |
||
381 | <property name="timeEventR31" type="timestamp"/> |
||
382 | <property name="timeEventR32" type="timestamp"/> |
||
383 | <property name="timeEventR33" type="timestamp"/> |
||
384 | <property name="timeEventR34" type="timestamp"/> |
||
385 | <property name="timeEventR35" type="timestamp"/> |
||
386 | <property name="timeEventR36" type="timestamp"/> |
||
387 | <property name="timeEventR37" type="timestamp"/> |
||
388 | <property name="timeEventR38" type="timestamp"/> |
||
389 | <property name="timeEventR39" type="timestamp"/> |
||
390 | <property name="timeEventR40" type="timestamp"/> |
||
391 | |||
392 | <property name="timeEventRt1" type="long"/> |
||
393 | <property name="timeEventRt2" type="long"/> |
||
394 | <property name="timeEventRt3" type="long"/> |
||
395 | <property name="timeEventRt4" type="long"/> |
||
396 | <property name="timeEventRt5" type="long"/> |
||
397 | <property name="timeEventRt6" type="long"/> |
||
398 | <property name="timeEventRt7" type="long"/> |
||
399 | <property name="timeEventRt8" type="long"/> |
||
400 | <property name="timeEventRt9" type="long"/> |
||
401 | <property name="timeEventRt10" type="long"/> |
||
402 | |||
1330 | jmachado | 403 | <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/> |
404 | <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaImpl" discriminator-value="QuestionarioRespostaImpl"/> |
||
405 | </class> |
||
406 | |||
407 | <!--PEDAGOGICO QUESTIONARIO ATRIBUICOES--> |
||
408 | |||
409 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" table="questionario_curso_afeto" abstract="true"> |
||
410 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
411 | <meta attribute="scope-class">public abstract</meta> |
||
412 | <id name="id" type="long" unsaved-value="0"> |
||
413 | <generator class="native"/> |
||
414 | </id> |
||
415 | <discriminator column="discriminator"/> |
||
416 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
||
417 | <property name="saveDate" type="timestamp"/> |
||
1333 | jmachado | 418 | <property name="codigoCurso" type="string" index="codigoCursoIndex"/> |
1330 | jmachado | 419 | <property name="ano" type="string"/> |
420 | <property name="semestre" type="string"/> |
||
421 | <property name="nome" type="string"/> |
||
1332 | jmachado | 422 | <property name="marcadas" type="int"/> |
423 | <property name="obs" type="string"/> |
||
1330 | jmachado | 424 | <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/> |
425 | <many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/> |
||
1334 | jmachado | 426 | <set name="unidadesAfetas" lazy="true"> |
1335 | jmachado | 427 | <key column="curso_afeto"/> |
1330 | jmachado | 428 | <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" /> |
429 | </set> |
||
430 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfetoImpl" discriminator-value="QuestionarioPedagogicoCursoAfetoImpl"/> |
||
431 | </class> |
||
432 | |||
1333 | jmachado | 433 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" table="questionario_unidade_afeta" abstract="true"> |
1330 | jmachado | 434 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
435 | <meta attribute="scope-class">public abstract</meta> |
||
436 | <id name="id" type="long" unsaved-value="0"> |
||
437 | <generator class="native"/> |
||
438 | </id> |
||
439 | <discriminator column="discriminator"/> |
||
440 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
||
441 | <property name="saveDate" type="timestamp"/> |
||
1333 | jmachado | 442 | <property name="codigoUnidade" type="string" index="codigoUnidadeIndex"/> |
443 | |||
444 | <property name="addedTipologias" type="int"/> |
||
445 | |||
1330 | jmachado | 446 | <property name="marked" type="boolean"/> |
1333 | jmachado | 447 | |
1330 | jmachado | 448 | <property name="profs" type="int"/> |
1333 | jmachado | 449 | <property name="turmas" type="int"/> |
450 | <property name="students" type="int"/> |
||
1330 | jmachado | 451 | <property name="turmaWithoutProf" type="int"/> |
1333 | jmachado | 452 | <property name="profsWithoutTurma" type="int"/> |
453 | <property name="tipologias" type="int"/> |
||
454 | |||
455 | <property name="obs" type="text"> |
||
456 | <column name="obs" sql-type="TEXT"/> |
||
457 | </property> |
||
1330 | jmachado | 458 | <property name="tipologiasJson" type="text"> |
459 | <column name="tipologias_json" sql-type="MEDIUMTEXT"/> |
||
460 | </property> |
||
1335 | jmachado | 461 | <many-to-one name="cursoAfeto" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" lazy="proxy" outer-join="false" column="curso_afeto"/> |
1330 | jmachado | 462 | <many-to-one name="courseUnit" class="pt.estgp.estgweb.domain.CourseUnit" lazy="proxy" outer-join="false"/> |
463 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfetaImpl" discriminator-value="QuestionarioPedagogicoUnidadeCurricularAfetaImpl"/> |
||
464 | </class> |
||
465 | |||
466 | |||
467 | |||
1314 | jmachado | 468 | </hibernate-mapping> |