Subversion Repositories bacoAlunos

Rev

Rev 1626 | Rev 1651 | 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"/>
1549 jmachado 14
        <timestamp source="db"   name="updateDate" unsaved-value="null"/>
1314 jmachado 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
 
1572 jmachado 74
        <property name="e1" type="string"/> <!--Perguntas de Esforço em Horas-->
75
        <property name="e2" type="string"/>
76
        <property name="e3" type="string"/>
77
        <property name="e4" type="string"/>
78
        <property name="e5" type="string"/>
79
        <property name="e6" type="string"/>
80
        <property name="e7" type="string"/>
81
        <property name="e8" type="string"/>
82
        <property name="e9" type="string"/>
83
        <property name="e10" type="string"/>
84
 
1314 jmachado 85
        <property name="p1Group" type="string"/>
86
        <property name="p2Group" type="string"/>
87
        <property name="p3Group" type="string"/>
88
        <property name="p4Group" type="string"/>
89
        <property name="p5Group" type="string"/>
90
        <property name="p6Group" type="string"/>
91
        <property name="p7Group" type="string"/>
92
        <property name="p8Group" type="string"/>
93
        <property name="p9Group" type="string"/>
94
        <property name="p10Group" type="string"/>
95
        <property name="p11Group" type="string"/>
96
        <property name="p12Group" type="string"/>
97
        <property name="p13Group" type="string"/>
98
        <property name="p14Group" type="string"/>
99
        <property name="p15Group" type="string"/>
100
        <property name="p16Group" type="string"/>
101
        <property name="p17Group" type="string"/>
102
        <property name="p18Group" type="string"/>
103
        <property name="p19Group" type="string"/>
104
        <property name="p20Group" type="string"/>
105
        <property name="p21Group" type="string"/>
106
        <property name="p22Group" type="string"/>
107
        <property name="p23Group" type="string"/>
108
        <property name="p24Group" type="string"/>
109
        <property name="p25Group" type="string"/>
110
        <property name="p26Group" type="string"/>
111
        <property name="p27Group" type="string"/>
112
        <property name="p28Group" type="string"/>
113
        <property name="p29Group" type="string"/>
114
        <property name="p30Group" type="string"/>
1325 jmachado 115
        <property name="p31Group" type="string"/>
116
        <property name="p32Group" type="string"/>
117
        <property name="p33Group" type="string"/>
118
        <property name="p34Group" type="string"/>
119
        <property name="p35Group" type="string"/>
120
        <property name="p36Group" type="string"/>
121
        <property name="p37Group" type="string"/>
122
        <property name="p38Group" type="string"/>
123
        <property name="p39Group" type="string"/>
124
        <property name="p40Group" type="string"/>
1619 jmachado 125
 
1325 jmachado 126
        <property name="t1Group" type="string"/>
127
        <property name="t2Group" type="string"/>
128
        <property name="t3Group" type="string"/>
129
        <property name="t4Group" type="string"/>
130
        <property name="t5Group" type="string"/>
131
        <property name="t6Group" type="string"/>
132
        <property name="t7Group" type="string"/>
133
        <property name="t8Group" type="string"/>
134
        <property name="t9Group" type="string"/>
135
        <property name="t10Group" type="string"/>
1314 jmachado 136
 
1572 jmachado 137
        <property name="e1Group" type="string"/>
138
        <property name="e2Group" type="string"/>
139
        <property name="e3Group" type="string"/>
140
        <property name="e4Group" type="string"/>
141
        <property name="e5Group" type="string"/>
142
        <property name="e6Group" type="string"/>
143
        <property name="e7Group" type="string"/>
144
        <property name="e8Group" type="string"/>
145
        <property name="e9Group" type="string"/>
146
        <property name="e10Group" type="string"/>
147
 
1619 jmachado 148
 
149
 
150
        <property name="p1Section" type="string">
151
            <column name="p1Section" sql-type="TEXT"/>
152
        </property>
153
        <property name="p2Section" type="string">
154
            <column name="p2Section" sql-type="TEXT"/>
155
        </property>
156
        <property name="p3Section" type="string">
157
            <column name="p3Section" sql-type="TEXT"/>
158
        </property>
159
        <property name="p4Section" type="string">
160
            <column name="p4Section" sql-type="TEXT"/>
161
        </property>
162
        <property name="p5Section" type="string">
163
            <column name="p5Section" sql-type="TEXT"/>
164
        </property>
165
        <property name="p6Section" type="string">
166
            <column name="p6Section" sql-type="TEXT"/>
167
        </property>
168
        <property name="p7Section" type="string">
169
            <column name="p7Section" sql-type="TEXT"/>
170
        </property>
171
        <property name="p8Section" type="string">
172
            <column name="p8Section" sql-type="TEXT"/>
173
        </property>
174
        <property name="p9Section" type="string">
175
            <column name="p9Section" sql-type="TEXT"/>
176
        </property>
177
        <property name="p10Section" type="string">
178
            <column name="p10Section" sql-type="TEXT"/>
179
        </property>
180
        <property name="p11Section" type="string">
181
            <column name="p11Section" sql-type="TEXT"/>
182
        </property>
183
        <property name="p12Section" type="string">
184
            <column name="p12Section" sql-type="TEXT"/>
185
        </property>
186
        <property name="p13Section" type="string">
187
            <column name="p13Section" sql-type="TEXT"/>
188
        </property>
189
        <property name="p14Section" type="string">
190
            <column name="p14Section" sql-type="TEXT"/>
191
        </property>
192
        <property name="p15Section" type="string">
193
            <column name="p15Section" sql-type="TEXT"/>
194
        </property>
195
        <property name="p16Section" type="string">
196
            <column name="p16Section" sql-type="TEXT"/>
197
        </property>
198
        <property name="p17Section" type="string">
199
            <column name="p17Section" sql-type="TEXT"/>
200
        </property>
201
        <property name="p18Section" type="string">
202
            <column name="p18Section" sql-type="TEXT"/>
203
        </property>
204
        <property name="p19Section" type="string">
205
            <column name="p19Section" sql-type="TEXT"/>
206
        </property>
207
        <property name="p20Section" type="string">
208
            <column name="p20Section" sql-type="TEXT"/>
209
        </property>
210
        <property name="p21Section" type="string">
211
            <column name="p21Section" sql-type="TEXT"/>
212
        </property>
213
        <property name="p22Section" type="string">
214
            <column name="p22Section" sql-type="TEXT"/>
215
        </property>
216
        <property name="p23Section" type="string">
217
            <column name="p23Section" sql-type="TEXT"/>
218
        </property>
219
        <property name="p24Section" type="string">
220
            <column name="p24Section" sql-type="TEXT"/>
221
        </property>
222
        <property name="p25Section" type="string">
223
            <column name="p25Section" sql-type="TEXT"/>
224
        </property>
225
        <property name="p26Section" type="string">
226
            <column name="p26Section" sql-type="TEXT"/>
227
        </property>
228
        <property name="p27Section" type="string">
229
            <column name="p27Section" sql-type="TEXT"/>
230
        </property>
231
        <property name="p28Section" type="string">
232
            <column name="p28Section" sql-type="TEXT"/>
233
        </property>
234
        <property name="p29Section" type="string">
235
            <column name="p29Section" sql-type="TEXT"/>
236
        </property>
237
        <property name="p30Section" type="string">
238
            <column name="p30Section" sql-type="TEXT"/>
239
        </property>
240
        <property name="p31Section" type="string">
241
            <column name="p31Section" sql-type="TEXT"/>
242
        </property>
243
        <property name="p32Section" type="string">
244
            <column name="p32Section" sql-type="TEXT"/>
245
        </property>
246
        <property name="p33Section" type="string">
247
            <column name="p33Section" sql-type="TEXT"/>
248
        </property>
249
        <property name="p34Section" type="string">
250
            <column name="p34Section" sql-type="TEXT"/>
251
        </property>
252
        <property name="p35Section" type="string">
253
            <column name="p35Section" sql-type="TEXT"/>
254
        </property>
255
        <property name="p36Section" type="string">
256
            <column name="p36Section" sql-type="TEXT"/>
257
        </property>
258
        <property name="p37Section" type="string">
259
            <column name="p37Section" sql-type="TEXT"/>
260
        </property>
261
        <property name="p38Section" type="string">
262
            <column name="p38Section" sql-type="TEXT"/>
263
        </property>
264
        <property name="p39Section" type="string">
265
            <column name="p39Section" sql-type="TEXT"/>
266
        </property>
267
        <property name="p40Section" type="string">
268
            <column name="p40Section" sql-type="TEXT"/>
269
        </property>
270
 
271
 
272
        <property name="t1Section" type="string">
273
            <column name="t1Section" sql-type="TEXT"/>
274
        </property>
275
        <property name="t2Section" type="string">
276
            <column name="t2Section" sql-type="TEXT"/>
277
        </property>
278
        <property name="t3Section" type="string">
279
            <column name="t3Section" sql-type="TEXT"/>
280
        </property>
281
        <property name="t4Section" type="string">
282
            <column name="t4Section" sql-type="TEXT"/>
283
        </property>
284
        <property name="t5Section" type="string">
285
            <column name="t5Section" sql-type="TEXT"/>
286
        </property>
287
        <property name="t6Section" type="string">
288
            <column name="t6Section" sql-type="TEXT"/>
289
        </property>
290
        <property name="t7Section" type="string">
291
            <column name="t7Section" sql-type="TEXT"/>
292
        </property>
293
        <property name="t8Section" type="string">
294
            <column name="t8Section" sql-type="TEXT"/>
295
        </property>
296
        <property name="t9Section" type="string">
297
            <column name="t9Section" sql-type="TEXT"/>
298
        </property>
299
        <property name="t10Section" type="string">
300
            <column name="t10Section" sql-type="TEXT"/>
301
        </property>
302
 
303
        <property name="e1Section" type="string">
304
            <column name="e1Section" sql-type="TEXT"/>
305
        </property>
306
        <property name="e2Section" type="string">
307
            <column name="e2Section" sql-type="TEXT"/>
308
        </property>
309
        <property name="e3Section" type="string">
310
            <column name="e3Section" sql-type="TEXT"/>
311
        </property>
312
        <property name="e4Section" type="string">
313
            <column name="e4Section" sql-type="TEXT"/>
314
        </property>
315
        <property name="e5Section" type="string">
316
            <column name="e5Section" sql-type="TEXT"/>
317
        </property>
318
        <property name="e6Section" type="string">
319
            <column name="e6Section" sql-type="TEXT"/>
320
        </property>
321
        <property name="e7Section" type="string">
322
            <column name="e7Section" sql-type="TEXT"/>
323
        </property>
324
        <property name="e8Section" type="string">
325
            <column name="e8Section" sql-type="TEXT"/>
326
        </property>
327
        <property name="e9Section" type="string">
328
            <column name="e9Section" sql-type="TEXT"/>
329
        </property>
330
        <property name="e10Section" type="string">
331
            <column name="e10Section" sql-type="TEXT"/>
332
        </property>
333
 
334
 
335
 
1650 jmachado 336
        <property name="p1SubGroup" type="string">
337
            <column name="p1SubGroup" sql-type="varchar(50)"/>
338
        </property>
339
        <property name="p2SubGroup" type="string">
340
            <column name="p2SubGroup" sql-type="varchar(50)"/>
341
        </property>
342
        <property name="p3SubGroup" type="string">
343
            <column name="p3SubGroup" sql-type="varchar(50)"/>
344
        </property>
345
        <property name="p4SubGroup" type="string">
346
            <column name="p4SubGroup" sql-type="varchar(50)"/>
347
        </property>
348
        <property name="p5SubGroup" type="string">
349
            <column name="p5SubGroup" sql-type="varchar(50)"/>
350
        </property>
351
        <property name="p6SubGroup" type="string">
352
            <column name="p6SubGroup" sql-type="varchar(50)"/>
353
        </property>
354
        <property name="p7SubGroup" type="string">
355
            <column name="p7SubGroup" sql-type="varchar(50)"/>
356
        </property>
357
        <property name="p8SubGroup" type="string">
358
            <column name="p8SubGroup" sql-type="varchar(50)"/>
359
        </property>
360
        <property name="p9SubGroup" type="string">
361
            <column name="p9SubGroup" sql-type="varchar(50)"/>
362
        </property>
363
        <property name="p10SubGroup" type="string">
364
            <column name="p10SubGroup" sql-type="varchar(50)"/>
365
        </property>
366
        <property name="p11SubGroup" type="string">
367
            <column name="p11SubGroup" sql-type="varchar(50)"/>
368
        </property>
369
        <property name="p12SubGroup" type="string">
370
            <column name="p12SubGroup" sql-type="varchar(50)"/>
371
        </property>
372
        <property name="p13SubGroup" type="string">
373
            <column name="p13SubGroup" sql-type="varchar(50)"/>
374
        </property>
375
        <property name="p14SubGroup" type="string">
376
            <column name="p14SubGroup" sql-type="varchar(50)"/>
377
        </property>
378
        <property name="p15SubGroup" type="string">
379
            <column name="p15SubGroup" sql-type="varchar(50)"/>
380
        </property>
381
        <property name="p16SubGroup" type="string">
382
            <column name="p16SubGroup" sql-type="varchar(50)"/>
383
        </property>
384
        <property name="p17SubGroup" type="string">
385
            <column name="p17SubGroup" sql-type="varchar(50)"/>
386
        </property>
387
        <property name="p18SubGroup" type="string">
388
            <column name="p18SubGroup" sql-type="varchar(50)"/>
389
        </property>
390
        <property name="p19SubGroup" type="string">
391
            <column name="p19SubGroup" sql-type="varchar(50)"/>
392
        </property>
393
        <property name="p20SubGroup" type="string">
394
            <column name="p20SubGroup" sql-type="varchar(50)"/>
395
        </property>
396
        <property name="p21SubGroup" type="string">
397
            <column name="p21SubGroup" sql-type="varchar(50)"/>
398
        </property>
399
        <property name="p22SubGroup" type="string">
400
            <column name="p22SubGroup" sql-type="varchar(50)"/>
401
        </property>
402
        <property name="p23SubGroup" type="string">
403
            <column name="p23SubGroup" sql-type="varchar(50)"/>
404
        </property>
405
        <property name="p24SubGroup" type="string">
406
            <column name="p24SubGroup" sql-type="varchar(50)"/>
407
        </property>
408
        <property name="p25SubGroup" type="string">
409
            <column name="p25SubGroup" sql-type="varchar(50)"/>
410
        </property>
411
        <property name="p26SubGroup" type="string">
412
            <column name="p26SubGroup" sql-type="varchar(50)"/>
413
        </property>
414
        <property name="p27SubGroup" type="string">
415
            <column name="p27SubGroup" sql-type="varchar(50)"/>
416
        </property>
417
        <property name="p28SubGroup" type="string">
418
            <column name="p28SubGroup" sql-type="varchar(50)"/>
419
        </property>
420
        <property name="p29SubGroup" type="string">
421
            <column name="p29SubGroup" sql-type="varchar(50)"/>
422
        </property>
423
        <property name="p30SubGroup" type="string">
424
            <column name="p30SubGroup" sql-type="varchar(50)"/>
425
        </property>
426
        <property name="p31SubGroup" type="string">
427
            <column name="p31SubGroup" sql-type="varchar(50)"/>
428
        </property>
429
        <property name="p32SubGroup" type="string">
430
            <column name="p32SubGroup" sql-type="varchar(50)"/>
431
        </property>
432
        <property name="p33SubGroup" type="string">
433
            <column name="p33SubGroup" sql-type="varchar(50)"/>
434
        </property>
435
        <property name="p34SubGroup" type="string">
436
            <column name="p34SubGroup" sql-type="varchar(50)"/>
437
        </property>
438
        <property name="p35SubGroup" type="string">
439
            <column name="p35SubGroup" sql-type="varchar(50)"/>
440
        </property>
441
        <property name="p36SubGroup" type="string">
442
            <column name="p36SubGroup" sql-type="varchar(50)"/>
443
        </property>
444
        <property name="p37SubGroup" type="string">
445
            <column name="p37SubGroup" sql-type="varchar(50)"/>
446
        </property>
447
        <property name="p38SubGroup" type="string">
448
            <column name="p38SubGroup" sql-type="varchar(50)"/>
449
        </property>
450
        <property name="p39SubGroup" type="string">
451
            <column name="p39SubGroup" sql-type="varchar(50)"/>
452
        </property>
453
        <property name="p40SubGroup" type="string">
454
            <column name="p40SubGroup" sql-type="varchar(50)"/>
455
        </property>
456
        <property name="t1SubGroup" type="string">
457
            <column name="t1SubGroup" sql-type="varchar(50)"/>
458
        </property>
459
        <property name="t2SubGroup" type="string">
460
            <column name="t2SubGroup" sql-type="varchar(50)"/>
461
        </property>
462
        <property name="t3SubGroup" type="string">
463
            <column name="t3SubGroup" sql-type="varchar(50)"/>
464
        </property>
465
        <property name="t4SubGroup" type="string">
466
            <column name="t4SubGroup" sql-type="varchar(50)"/>
467
        </property>
468
        <property name="t5SubGroup" type="string">
469
            <column name="t5SubGroup" sql-type="varchar(50)"/>
470
        </property>
471
        <property name="t6SubGroup" type="string">
472
            <column name="t6SubGroup" sql-type="varchar(50)"/>
473
        </property>
474
        <property name="t7SubGroup" type="string">
475
            <column name="t7SubGroup" sql-type="varchar(50)"/>
476
        </property>
477
        <property name="t8SubGroup" type="string">
478
            <column name="t8SubGroup" sql-type="varchar(50)"/>
479
        </property>
480
        <property name="t9SubGroup" type="string">
481
            <column name="t9SubGroup" sql-type="varchar(50)"/>
482
        </property>
483
        <property name="t10SubGroup" type="string">
484
            <column name="t10SubGroup" sql-type="varchar(50)"/>
485
        </property>
486
        <property name="e1SubGroup" type="string">
487
            <column name="e1SubGroup" sql-type="varchar(50)"/>
488
        </property>
489
        <property name="e2SubGroup" type="string">
490
            <column name="e2SubGroup" sql-type="varchar(50)"/>
491
        </property>
492
        <property name="e3SubGroup" type="string">
493
            <column name="e3SubGroup" sql-type="varchar(50)"/>
494
        </property>
495
        <property name="e4SubGroup" type="string">
496
            <column name="e4SubGroup" sql-type="varchar(50)"/>
497
        </property>
498
        <property name="e5SubGroup" type="string">
499
            <column name="e5SubGroup" sql-type="varchar(50)"/>
500
        </property>
501
        <property name="e6SubGroup" type="string">
502
            <column name="e6SubGroup" sql-type="varchar(50)"/>
503
        </property>
504
        <property name="e7SubGroup" type="string">
505
            <column name="e7SubGroup" sql-type="varchar(50)"/>
506
        </property>
507
        <property name="e8SubGroup" type="string">
508
            <column name="e8SubGroup" sql-type="varchar(50)"/>
509
        </property>
510
        <property name="e9SubGroup" type="string">
511
            <column name="e9SubGroup" sql-type="varchar(50)"/>
512
        </property>
513
        <property name="e10SubGroup" type="string">
514
            <column name="e10SubGroup" sql-type="varchar(50)"/>
515
        </property>
1563 jmachado 516
 
1314 jmachado 517
        <property name="introHtml" type="string">
518
            <column name="introHtml" sql-type="text"/>
519
        </property>
520
 
521
        <property name="group1Title" type="string">
522
            <column name="group1Title" sql-type="text"/>
523
        </property>
524
        <property name="group2Title" type="string">
525
            <column name="group2Title" sql-type="text"/>
526
        </property>
527
        <property name="group3Title" type="string">
528
            <column name="group3Title" sql-type="text"/>
529
        </property>
530
        <property name="group4Title" type="string">
531
            <column name="group4Title" sql-type="text"/>
532
        </property>
533
        <property name="group5Title" type="string">
534
            <column name="group5Title" sql-type="text"/>
535
        </property>
1325 jmachado 536
        <property name="group6Title" type="string">
537
            <column name="group6Title" sql-type="text"/>
538
        </property>
539
        <property name="group7Title" type="string">
540
            <column name="group7Title" sql-type="text"/>
541
        </property>
542
        <property name="group8Title" type="string">
543
            <column name="group8Title" sql-type="text"/>
544
        </property>
545
        <property name="group9Title" type="string">
546
            <column name="group9Title" sql-type="text"/>
547
        </property>
548
        <property name="group10Title" type="string">
549
            <column name="group10Title" sql-type="text"/>
550
        </property>
1314 jmachado 551
 
552
 
1325 jmachado 553
        <property name="group1Code" type="string"/>
554
        <property name="group2Code" type="string"/>
555
        <property name="group3Code" type="string"/>
556
        <property name="group4Code" type="string"/>
557
        <property name="group5Code" type="string"/>
558
        <property name="group6Code" type="string"/>
559
        <property name="group7Code" type="string"/>
560
        <property name="group8Code" type="string"/>
561
        <property name="group9Code" type="string"/>
562
        <property name="group10Code" type="string"/>
1314 jmachado 563
 
564
 
1325 jmachado 565
 
566
 
567
 
1314 jmachado 568
        <!--State flow info-->
569
        <!--
570
            Possible states:
571
            CREATED   -> in prototype edition
572
            ASSIGNED -> All tipologies prototypes created and assigned to student answers
573
            PROCESSING -> Impossible to change or edit prototypes, possible to answer
574
            CLOSED -> Impossible to answer
575
            STATISTICS1
576
        -->
577
        <property name="state" type="string">
578
            <column name="state" default="'CREATED'"/>
579
        </property>
1327 jmachado 580
        <property name="substate" type="string"/>
1314 jmachado 581
 
1337 jmachado 582
        <property name="answerGenerationTaskId" type="long">
583
            <column name="answer_generation_task_id" default="0"/>
584
        </property>
585
 
1544 jmachado 586
        <property name="answerOlapGenerationTaskId" type="long">
587
            <column name="answer_olap_generation_task_id" default="0"/>
588
        </property>
589
 
1327 jmachado 590
        <!--Modulo de Pedagogico-->
591
        <property name="courseSelectionTaskId" type="long">
592
            <column name="course_selection_task_id" default="0"/>
593
        </property>
594
        <!--Modulo de Pedagogico-->
595
 
1325 jmachado 596
        <many-to-one name="questionarioHistoryDrive" class="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" lazy="proxy" outer-join="false"/>
597
 
1314 jmachado 598
        <subclass name="pt.estgp.estgweb.domain.QuestionarioImpl" discriminator-value="QuestionarioImpl"/>
599
    </class>
600
 
1325 jmachado 601
    <class name="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" table="questionario_history_drive" abstract="true">
602
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
603
        <meta attribute="scope-class">public abstract</meta>
604
        <id name="id" type="long" unsaved-value="0">
605
            <generator class="native"/>
606
        </id>
607
        <discriminator column="discriminator"/>
1549 jmachado 608
        <timestamp source="db"   name="updateDate" unsaved-value="null"/>
1325 jmachado 609
        <property name="saveDate" type="timestamp"/>
610
        <property name="codeName" type="string" unique="true"/>
611
        <property name="description" type="string"/>
612
        <subclass name="pt.estgp.estgweb.domain.QuestionarioHistoryDriveImpl" discriminator-value="QuestionarioHistoryDriveImpl"/>
613
    </class>
614
 
1330 jmachado 615
 
616
    <class name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitada" table="questionario_resposta_requisitada" abstract="true">
617
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
618
        <meta attribute="scope-class">public abstract</meta>
619
        <id name="id" type="long" unsaved-value="0">
620
            <generator class="native"/>
621
        </id>
622
        <discriminator column="discriminator"/>
623
        <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/>
624
        <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/>
625
        <many-to-one name="resposta" class="pt.estgp.estgweb.domain.QuestionarioResposta" lazy="false" outer-join="true"/>
626
        <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitadaImpl" discriminator-value="QuestionarioRespostaRequisitadaImpl"/>
627
    </class>
628
 
629
    <class name="pt.estgp.estgweb.domain.QuestionarioResposta" table="questionario_resposta" abstract="true">
630
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
631
        <meta attribute="scope-class">public abstract</meta>
632
        <id name="id" type="long" unsaved-value="0">
633
            <generator class="native"/>
634
        </id>
635
        <discriminator column="discriminator"/>
1331 jmachado 636
 
637
        <property name="saveDate" type="timestamp"/>
638
 
1411 jmachado 639
        <property name="timeStart" type="long"/>
640
        <property name="timeEnd" type="long"/>
1331 jmachado 641
        <property name="totalTime" type="long"/>
642
 
643
 
644
        <property name="r1" type="string"/>
645
        <property name="r2" type="string"/>
646
        <property name="r3" type="string"/>
647
        <property name="r4" type="string"/>
648
        <property name="r5" type="string"/>
649
        <property name="r6" type="string"/>
650
        <property name="r7" type="string"/>
651
        <property name="r8" type="string"/>
652
        <property name="r9" type="string"/>
653
        <property name="r10" type="string"/>
654
        <property name="r11" type="string"/>
655
        <property name="r12" type="string"/>
656
        <property name="r13" type="string"/>
657
        <property name="r14" type="string"/>
658
        <property name="r15" type="string"/>
659
        <property name="r16" type="string"/>
660
        <property name="r17" type="string"/>
661
        <property name="r18" type="string"/>
662
        <property name="r19" type="string"/>
663
        <property name="r20" type="string"/>
664
        <property name="r21" type="string"/>
665
        <property name="r22" type="string"/>
666
        <property name="r23" type="string"/>
667
        <property name="r24" type="string"/>
668
        <property name="r25" type="string"/>
669
        <property name="r26" type="string"/>
670
        <property name="r27" type="string"/>
671
        <property name="r28" type="string"/>
672
        <property name="r29" type="string"/>
673
        <property name="r30" type="string"/>
674
        <property name="r31" type="string"/>
675
        <property name="r32" type="string"/>
676
        <property name="r33" type="string"/>
677
        <property name="r34" type="string"/>
678
        <property name="r35" type="string"/>
679
        <property name="r36" type="string"/>
680
        <property name="r37" type="string"/>
681
        <property name="r38" type="string"/>
682
        <property name="r39" type="string"/>
683
        <property name="r40" type="string"/>
684
 
685
        <property name="rt1" type="string"/>
686
        <property name="rt2" type="string"/>
687
        <property name="rt3" type="string"/>
688
        <property name="rt4" type="string"/>
689
        <property name="rt5" type="string"/>
690
        <property name="rt6" type="string"/>
691
        <property name="rt7" type="string"/>
692
        <property name="rt8" type="string"/>
693
        <property name="rt9" type="string"/>
694
        <property name="rt10" type="string"/>
695
 
1572 jmachado 696
        <property name="re1" type="string"/>
697
        <property name="re2" type="string"/>
698
        <property name="re3" type="string"/>
699
        <property name="re4" type="string"/>
700
        <property name="re5" type="string"/>
701
        <property name="re6" type="string"/>
702
        <property name="re7" type="string"/>
703
        <property name="re8" type="string"/>
704
        <property name="re9" type="string"/>
705
        <property name="re10" type="string"/>
1331 jmachado 706
 
1572 jmachado 707
 
1331 jmachado 708
        <!--Tempo levado para responder-->
709
        <property name="timeTakenR1" type="long"/>
710
        <property name="timeTakenR2" type="long"/>
711
        <property name="timeTakenR3" type="long"/>
712
        <property name="timeTakenR4" type="long"/>
713
        <property name="timeTakenR5" type="long"/>
714
        <property name="timeTakenR6" type="long"/>
715
        <property name="timeTakenR7" type="long"/>
716
        <property name="timeTakenR8" type="long"/>
717
        <property name="timeTakenR9" type="long"/>
718
        <property name="timeTakenR10" type="long"/>
719
        <property name="timeTakenR11" type="long"/>
720
        <property name="timeTakenR12" type="long"/>
721
        <property name="timeTakenR13" type="long"/>
722
        <property name="timeTakenR14" type="long"/>
723
        <property name="timeTakenR15" type="long"/>
724
        <property name="timeTakenR16" type="long"/>
725
        <property name="timeTakenR17" type="long"/>
726
        <property name="timeTakenR18" type="long"/>
727
        <property name="timeTakenR19" type="long"/>
728
        <property name="timeTakenR20" type="long"/>
729
        <property name="timeTakenR21" type="long"/>
730
        <property name="timeTakenR22" type="long"/>
731
        <property name="timeTakenR23" type="long"/>
732
        <property name="timeTakenR24" type="long"/>
733
        <property name="timeTakenR25" type="long"/>
734
        <property name="timeTakenR26" type="long"/>
735
        <property name="timeTakenR27" type="long"/>
736
        <property name="timeTakenR28" type="long"/>
737
        <property name="timeTakenR29" type="long"/>
738
        <property name="timeTakenR30" type="long"/>
739
        <property name="timeTakenR31" type="long"/>
740
        <property name="timeTakenR32" type="long"/>
741
        <property name="timeTakenR33" type="long"/>
742
        <property name="timeTakenR34" type="long"/>
743
        <property name="timeTakenR35" type="long"/>
744
        <property name="timeTakenR36" type="long"/>
745
        <property name="timeTakenR37" type="long"/>
746
        <property name="timeTakenR38" type="long"/>
747
        <property name="timeTakenR39" type="long"/>
748
        <property name="timeTakenR40" type="long"/>
749
 
750
        <property name="timeTakenRt1" type="long"/>
751
        <property name="timeTakenRt2" type="long"/>
752
        <property name="timeTakenRt3" type="long"/>
753
        <property name="timeTakenRt4" type="long"/>
754
        <property name="timeTakenRt5" type="long"/>
755
        <property name="timeTakenRt6" type="long"/>
756
        <property name="timeTakenRt7" type="long"/>
757
        <property name="timeTakenRt8" type="long"/>
758
        <property name="timeTakenRt9" type="long"/>
759
        <property name="timeTakenRt10" type="long"/>
760
 
1572 jmachado 761
        <property name="timeTakenRe1" type="long"/>
762
        <property name="timeTakenRe2" type="long"/>
763
        <property name="timeTakenRe3" type="long"/>
764
        <property name="timeTakenRe4" type="long"/>
765
        <property name="timeTakenRe5" type="long"/>
766
        <property name="timeTakenRe6" type="long"/>
767
        <property name="timeTakenRe7" type="long"/>
768
        <property name="timeTakenRe8" type="long"/>
769
        <property name="timeTakenRe9" type="long"/>
770
        <property name="timeTakenRe10" type="long"/>
771
 
1331 jmachado 772
        <!--Hora do Clique-->
1411 jmachado 773
        <property name="timeEventR1" type="long"/>
774
        <property name="timeEventR2" type="long"/>
775
        <property name="timeEventR3" type="long"/>
776
        <property name="timeEventR4" type="long"/>
777
        <property name="timeEventR5" type="long"/>
778
        <property name="timeEventR6" type="long"/>
779
        <property name="timeEventR7" type="long"/>
780
        <property name="timeEventR8" type="long"/>
781
        <property name="timeEventR9" type="long"/>
782
        <property name="timeEventR10" type="long"/>
783
        <property name="timeEventR11" type="long"/>
784
        <property name="timeEventR12" type="long"/>
785
        <property name="timeEventR13" type="long"/>
786
        <property name="timeEventR14" type="long"/>
787
        <property name="timeEventR15" type="long"/>
788
        <property name="timeEventR16" type="long"/>
789
        <property name="timeEventR17" type="long"/>
790
        <property name="timeEventR18" type="long"/>
791
        <property name="timeEventR19" type="long"/>
792
        <property name="timeEventR20" type="long"/>
793
        <property name="timeEventR21" type="long"/>
794
        <property name="timeEventR22" type="long"/>
795
        <property name="timeEventR23" type="long"/>
796
        <property name="timeEventR24" type="long"/>
797
        <property name="timeEventR25" type="long"/>
798
        <property name="timeEventR26" type="long"/>
799
        <property name="timeEventR27" type="long"/>
800
        <property name="timeEventR28" type="long"/>
801
        <property name="timeEventR29" type="long"/>
802
        <property name="timeEventR30" type="long"/>
803
        <property name="timeEventR31" type="long"/>
804
        <property name="timeEventR32" type="long"/>
805
        <property name="timeEventR33" type="long"/>
806
        <property name="timeEventR34" type="long"/>
807
        <property name="timeEventR35" type="long"/>
808
        <property name="timeEventR36" type="long"/>
809
        <property name="timeEventR37" type="long"/>
810
        <property name="timeEventR38" type="long"/>
811
        <property name="timeEventR39" type="long"/>
812
        <property name="timeEventR40" type="long"/>
1331 jmachado 813
 
814
        <property name="timeEventRt1" type="long"/>
815
        <property name="timeEventRt2" type="long"/>
816
        <property name="timeEventRt3" type="long"/>
817
        <property name="timeEventRt4" type="long"/>
818
        <property name="timeEventRt5" type="long"/>
819
        <property name="timeEventRt6" type="long"/>
820
        <property name="timeEventRt7" type="long"/>
821
        <property name="timeEventRt8" type="long"/>
822
        <property name="timeEventRt9" type="long"/>
823
        <property name="timeEventRt10" type="long"/>
824
 
1572 jmachado 825
        <property name="timeEventRe1" type="long"/>
826
        <property name="timeEventRe2" type="long"/>
827
        <property name="timeEventRe3" type="long"/>
828
        <property name="timeEventRe4" type="long"/>
829
        <property name="timeEventRe5" type="long"/>
830
        <property name="timeEventRe6" type="long"/>
831
        <property name="timeEventRe7" type="long"/>
832
        <property name="timeEventRe8" type="long"/>
833
        <property name="timeEventRe9" type="long"/>
834
        <property name="timeEventRe10" type="long"/>
835
 
1330 jmachado 836
        <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/>
1404 jmachado 837
        <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/>
1330 jmachado 838
        <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaImpl" discriminator-value="QuestionarioRespostaImpl"/>
839
    </class>
840
 
841
    <!--PEDAGOGICO QUESTIONARIO ATRIBUICOES-->
842
 
1336 jmachado 843
    <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" table="questionario_peda_tipologia_requisitada" abstract="true">
1330 jmachado 844
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
845
        <meta attribute="scope-class">public abstract</meta>
846
        <id name="id" type="long" unsaved-value="0">
847
            <generator class="native"/>
848
        </id>
849
        <discriminator column="discriminator"/>
1549 jmachado 850
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1330 jmachado 851
        <property name="saveDate" type="timestamp"/>
1336 jmachado 852
        <property name="cdDocente" type="string"/>
853
        <property name="cdTurma" type="string"/>
854
        <property name="cdTipologia" type="string"/>
855
        <property name="nomeDocente" type="string" />
856
        <property name="dsTipologia" type="string"/>
1387 jmachado 857
        <many-to-one name="docenteAfeto" class="pt.estgp.estgweb.domain.Teacher" lazy="proxy" outer-join="false" column="professor_afeto"/>
858
        <many-to-one name="turmaAfeta" class="pt.estgp.estgweb.domain.CourseUnitTurma" lazy="proxy" outer-join="false" column="turma_afeta"/>
1336 jmachado 859
        <many-to-one name="unidadeAfeta" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" lazy="proxy" outer-join="false" column="unidade_afeta"/>
860
        <set name="alunosRequisitados" lazy="true">
861
            <key column="tipologia_requisitada"/>
862
            <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitado" />
863
        </set>
864
        <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitadaImpl" discriminator-value="QuestionarioPedagogicoTipologiaRequisitadaImpl"/>
865
    </class>
866
 
867
    <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitado" table="questionario_peda_aluno_requisitado" abstract="true">
868
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
869
        <meta attribute="scope-class">public abstract</meta>
870
        <id name="id" type="long" unsaved-value="0">
871
            <generator class="native"/>
872
        </id>
873
        <discriminator column="discriminator"/>
1549 jmachado 874
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1336 jmachado 875
        <property name="saveDate" type="timestamp"/>
1553 jmachado 876
 
877
        <property name="tipoAlunoFoiExtraido" type="boolean">
878
            <column name="tipoAlunoFoiExtraido" default="false"/>
879
        </property>
880
 
881
        <property name="tipoAlunoTrabalhadorEstudante" type="boolean">
882
            <column name="tipoAlunoTrabalhadorEstudante" default="false"/>
883
        </property>
884
        <property name="tipoAlunoErasmus" type="boolean" index="tipoAlunoErasmusIndex">
885
            <column name="tipoAlunoErasmus" default="false"/>
886
        </property>
887
        <property name="tipoAlunoNormal" type="boolean" index="tipoAlunoNormalIndex">
888
            <column name="tipoAlunoNormal" default="false"/>
889
        </property>
890
        <property name="tipoAlunoBolseiro" type="boolean" index="tipoAlunoBolseiroIndex">
891
            <column name="tipoAlunoBolseiro" default="false"/>
892
        </property>
893
        <property name="tipoAlunoMilitar" type="boolean" index="tipoAlunoMilitarIndex">
894
            <column name="tipoAlunoMilitar" default="false"/>
895
        </property>
896
        <property name="tipoAlunoDirigenteAssociativo" type="boolean" index="tipoAlunoDirigenteAssociativoIndex">
897
            <column name="tipoAlunoDirigenteAssociativo" default="false"/>
898
        </property>
899
        <property name="tipoAlunoDeficiente" type="boolean" index="tipoAlunoDeficienteIndex">
900
            <column name="tipoAlunoDeficiente" default="false"/>
901
        </property>
902
        <property name="tipoAlunoBombeiro" type="boolean" index="tipoAlunoBombeiroIndex">
903
            <column name="tipoAlunoBombeiro" default="false"/>
904
        </property>
905
        <property name="tipoAlunoVascodagama" type="boolean" index="tipoAlunoVascodagamaIndex">
906
            <column name="tipoAlunoVascodagama" default="false"/>
907
        </property>
908
        <property name="propinasEmDia" type="boolean" index="propinasEmDiaIndex">
909
            <column name="propinasEmDia" default="false"/>
910
        </property>
911
 
1336 jmachado 912
        <many-to-one name="aluno" class="pt.estgp.estgweb.domain.Student" lazy="proxy" outer-join="false"/>
913
        <many-to-one name="tipologiaRequisitada" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" lazy="proxy" outer-join="false" column="tipologia_requisitada"/>
914
        <many-to-one name="respostaRequisitada" class="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitada" lazy="proxy" outer-join="false"/>
915
        <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitadoImpl" discriminator-value="QuestionarioPedagogicoAlunoRequisitadoImpl"/>
916
    </class>
917
 
918
    <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" table="questionario_peda_curso_afeto" abstract="true">
919
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
920
        <meta attribute="scope-class">public abstract</meta>
921
        <id name="id" type="long" unsaved-value="0">
922
            <generator class="native"/>
923
        </id>
924
        <discriminator column="discriminator"/>
1549 jmachado 925
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1336 jmachado 926
        <property name="saveDate" type="timestamp"/>
927
        <property name="codigoInstituicao" type="string"/>
928
        <property name="nomeInstituicao" type="string"/>
1333 jmachado 929
        <property name="codigoCurso" type="string" index="codigoCursoIndex"/>
1330 jmachado 930
        <property name="ano" type="string"/>
931
        <property name="semestre" type="string"/>
932
        <property name="nome" type="string"/>
1332 jmachado 933
        <property name="marcadas" type="int"/>
934
        <property name="obs" type="string"/>
1337 jmachado 935
        <property name="usarTipologias" type="boolean">
936
            <column name="usarTipologias" default="false"/>
937
        </property>
1394 jmachado 938
 
939
        <!--STATS-->
940
        <property name="statTipologiasRequisitadas" type="int">
941
            <column name="statTipologiasRequisitadas" default="0"/>
942
        </property>
943
        <property name="statRespostasRequisitadas" type="int">
944
            <column name="statRespostasRequisitadas" default="0"/>
945
        </property>
946
 
1330 jmachado 947
        <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/>
948
        <many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/>
1338 jmachado 949
        <set name="unidadesAfetas" lazy="true" order-by="nome asc">
1335 jmachado 950
            <key column="curso_afeto"/>
1330 jmachado 951
            <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" />
952
        </set>
953
        <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfetoImpl" discriminator-value="QuestionarioPedagogicoCursoAfetoImpl"/>
954
    </class>
955
 
1336 jmachado 956
    <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" table="questionario_peda_unidade_afeta" abstract="true">
1330 jmachado 957
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
958
        <meta attribute="scope-class">public abstract</meta>
959
        <id name="id" type="long" unsaved-value="0">
960
            <generator class="native"/>
961
        </id>
962
        <discriminator column="discriminator"/>
1549 jmachado 963
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1330 jmachado 964
        <property name="saveDate" type="timestamp"/>
1626 jmachado 965
        <property name="lastTipologiasUpdateDate" type="timestamp"/>
1333 jmachado 966
        <property name="codigoUnidade" type="string" index="codigoUnidadeIndex"/>
1336 jmachado 967
        <property name="nome" type="string"/>
1333 jmachado 968
 
969
        <property name="addedTipologias" type="int"/>
970
 
1330 jmachado 971
        <property name="marked" type="boolean"/>
1626 jmachado 972
        <property name="excludedTipologias" type="int">
973
            <column name="excludedTipologias" default="0"/>
974
        </property>
1330 jmachado 975
        <property name="profs" type="int"/>
1333 jmachado 976
        <property name="turmas" type="int"/>
977
        <property name="students" type="int"/>
1330 jmachado 978
        <property name="turmaWithoutProf" type="int"/>
1333 jmachado 979
        <property name="profsWithoutTurma" type="int"/>
980
        <property name="tipologias" type="int"/>
981
 
1338 jmachado 982
        <property name="vista" type="boolean">
983
            <column name="vista" default="false"/>
984
        </property>
1378 jmachado 985
        <property name="vistaProfs" type="boolean">
986
            <column name="vista_profs" default="false"/>
987
        </property>
1338 jmachado 988
        <property name="usar" type="boolean">
989
            <column name="usar" default="true"/>
990
        </property>
991
 
1545 jmachado 992
        <property name="usarOlap" type="boolean">
993
            <column name="usarOlap" default="true"/>
994
        </property>
995
 
1333 jmachado 996
        <property name="obs" type="text">
997
            <column name="obs" sql-type="TEXT"/>
998
        </property>
1626 jmachado 999
        <!--
1330 jmachado 1000
        <property name="tipologiasJson" type="text">
1001
            <column name="tipologias_json" sql-type="MEDIUMTEXT"/>
1002
        </property>
1626 jmachado 1003
        -->
1394 jmachado 1004
        <!--STATS-->
1005
 
1395 jmachado 1006
        <property name="statTipologiasRequisitadas" type="int">
1394 jmachado 1007
            <column name="statTipologiasRequisitadas" default="0"/>
1008
        </property>
1395 jmachado 1009
        <property name="statRespostasRequisitadas" type="int">
1394 jmachado 1010
            <column name="statRespostasRequisitadas" default="0"/>
1011
        </property>
1012
 
1335 jmachado 1013
        <many-to-one name="cursoAfeto" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" lazy="proxy" outer-join="false" column="curso_afeto"/>
1330 jmachado 1014
        <many-to-one name="courseUnit" class="pt.estgp.estgweb.domain.CourseUnit" lazy="proxy" outer-join="false"/>
1336 jmachado 1015
        <set name="tipologiasRequisitadas" lazy="true">
1016
            <key column="unidade_afeta"/>
1017
            <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" />
1018
        </set>
1330 jmachado 1019
        <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfetaImpl" discriminator-value="QuestionarioPedagogicoUnidadeCurricularAfetaImpl"/>
1020
    </class>
1021
 
1022
 
1547 jmachado 1023
    <!--REPORTS-->
1330 jmachado 1024
 
1547 jmachado 1025
    <class name="pt.estgp.estgweb.domain.QuestionarioReportFileGroup" table="questionario_report_file_grp" abstract="true">
1026
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
1027
        <meta attribute="scope-class">public abstract</meta>
1028
        <id name="id" type="long" unsaved-value="0">
1029
            <generator class="native"/>
1030
        </id>
1031
        <discriminator column="discriminator"/>
1549 jmachado 1032
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1547 jmachado 1033
        <property name="saveDate" type="timestamp"/>
1573 jmachado 1034
        <property name="title" type="string"/>
1586 jmachado 1035
        <property name="active" type="boolean"/>
1573 jmachado 1036
        <property name="reportProcessorClass" type="string"/>
1037
        <property name="repositoryStreamZipFile" type="string" index="repositoryIndexZipFile"/>
1038
        <property name="repositoryStreamCsvFile" type="string" index="repositoryIndexCsvFile"/>
1579 jmachado 1039
        <property name="reportGenerationTaskId" type="long">
1040
            <column name="report_generation_task_id" default="0"/>
1041
        </property>
1586 jmachado 1042
        <set name="reportFiles" lazy="true" order-by="entityName asc">
1584 jmachado 1043
            <key column="questionario_report_file_group"/>
1044
            <one-to-many class="pt.estgp.estgweb.domain.QuestionarioReportFile" />
1045
        </set>
1547 jmachado 1046
        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupImpl">
1047
            <meta attribute="scope-class">public abstract</meta>
1048
            <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAno">
1049
                <meta attribute="scope-class">public abstract</meta>
1586 jmachado 1050
                <property name="importYear" type="string" index="importYearIndex"/>
1573 jmachado 1051
                <property name="periodos" type="string"/>
1052
                <property name="degrees" type="string"/>
1585 jmachado 1053
                <property name="entidadesEncontradas" type="int">
1054
                    <column name="entidadesEncontradas" default="0"/>
1055
                </property>
1056
                <property name="entidadesProcessadas" type="int">
1057
                    <column name="entidadesProcessadas" default="0"/>
1058
                </property>
1059
                <property name="entidadesFalhadas" type="int">
1060
                    <column name="entidadesFalhadas" default="0"/>
1061
                </property>
1062
                <property name="entidadesComRespostas" type="int">
1063
                    <column name="entidadesComRespostas" default="0"/>
1064
                </property>
1065
                <property name="entidadesSemRespostas" type="int">
1066
                    <column name="entidadesSemRespostas" default="0"/>
1067
                </property>
1068
                <property name="entidadesSemUnidadesAfetas" type="int">
1069
                    <column name="entidadesSemUnidadesAfetas" default="0"/>
1070
                </property>
1586 jmachado 1071
                <property name="citiesJson" type="string">
1072
                    <column name="citiesJson" sql-type="TEXT"/>
1073
                </property>
1547 jmachado 1074
                <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAnoImpl">
1075
                    <meta attribute="scope-class">public abstract</meta>
1076
                    <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAno">
1077
                        <meta attribute="scope-class">public abstract</meta>
1078
                        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAnoImpl" discriminator-value="QuestionarioReportFileGroupCursosAnoImpl"/>
1079
                    </subclass>
1080
                    <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAno">
1081
                        <meta attribute="scope-class">public abstract</meta>
1082
                        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAnoImpl" discriminator-value="QuestionarioReportFileGroupDocentesAnoImpl"/>
1083
                    </subclass>
1084
                </subclass>
1085
            </subclass>
1086
        </subclass>
1087
    </class>
1088
 
1089
    <class name="pt.estgp.estgweb.domain.QuestionarioReportFile" table="questionario_report_file" abstract="true">
1090
        <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
1091
        <meta attribute="scope-class">public abstract</meta>
1092
        <id name="id" type="long" unsaved-value="0">
1093
            <generator class="native"/>
1094
        </id>
1095
        <discriminator column="discriminator"/>
1549 jmachado 1096
        <timestamp source="db" name="updateDate" unsaved-value="null"/>
1547 jmachado 1097
        <property name="saveDate" type="timestamp"/>
1586 jmachado 1098
        <property name="active" type="boolean"/>
1584 jmachado 1099
        <property name="entityName" type="string"/><!--opcional use-->
1100
        <property name="entityCode" type="string"/><!--opcional use-->
1547 jmachado 1101
        <property name="repositoryStream" type="string" index="repositoryIndex"/>
1584 jmachado 1102
        <many-to-one name="reportGroup" class="pt.estgp.estgweb.domain.QuestionarioReportFileGroup" lazy="proxy" outer-join="false" column="questionario_report_file_group"/>
1547 jmachado 1103
        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileImpl">
1104
            <meta attribute="scope-class">public abstract</meta>
1585 jmachado 1105
            <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileAno">
1547 jmachado 1106
                <meta attribute="scope-class">public abstract</meta>
1585 jmachado 1107
                <property name="inquiridos" type="int">
1108
                    <column name="inquiridos" default="0" />
1109
                </property>
1110
                <property name="inquiridosComResposta" type="int">
1111
                    <column name="inquiridosComResposta" default="0"/>
1112
                </property>
1113
                <property name="respostasRequisitadas" type="int">
1114
                    <column name="respostasRequisitadas" default="0"/>
1115
                </property>
1116
                <property name="respostas" type="int">
1117
                    <column name="respostas" default="0"/>
1118
                </property>
1119
                <property name="unidades" type="int">
1120
                    <column name="unidades" default="0"/>
1121
                </property>
1586 jmachado 1122
                <property name="percentagemRespostas" type="int">
1123
                    <column name="percentagemRespostas" default="0"/>
1124
                </property>
1125
                <property name="percentagemInquiridos" type="int">
1126
                    <column name="percentagemInquiridos" default="0"/>
1127
                </property>
1128
                <property name="citiesJson" type="string">
1129
                    <column name="citiesJson" sql-type="TEXT"/>
1130
                </property>
1585 jmachado 1131
                <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileAnoImpl">
1132
                    <meta attribute="scope-class">public abstract</meta>
1133
                    <subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFile">
1134
                        <meta attribute="scope-class">public abstract</meta>
1586 jmachado 1135
                        <property name="tipoCurso" type="string"/>
1136
                        <property name="escola" type="string"/>
1137
                        <property name="codigoEscola" type="string"/>
1585 jmachado 1138
                        <!--<many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/>-->
1139
                        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFileImpl" discriminator-value="QuestionarioReportCursoFileImpl"/>
1140
                    </subclass>
1141
                    <subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFile">
1142
                        <meta attribute="scope-class">public abstract</meta>
1143
 
1144
                        <!--
1145
                        <many-to-one name="teacher" class="pt.estgp.estgweb.domain.Teacher" lazy="proxy" outer-join="false"/>
1146
                        <set name="courseUnits" lazy="true" table="questionario_report_file_docente_units">
1147
                            <key column="reportdocentefile"/>
1148
                            <many-to-many class="pt.estgp.estgweb.domain.CourseUnit" column="courseunit" />
1149
                        </set>-->
1150
                        <subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFileImpl" discriminator-value="QuestionarioReportDocenteFileImpl"/>
1151
                    </subclass>
1152
                </subclass>
1547 jmachado 1153
            </subclass>
1154
        </subclass>
1155
    </class>
1156
 
1157
 
1158
 
1314 jmachado 1159
</hibernate-mapping>