Rev 1572 | Rev 1579 | 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"/> |
||
125 | <property name="t1Group" type="string"/> |
||
126 | <property name="t2Group" type="string"/> |
||
127 | <property name="t3Group" type="string"/> |
||
128 | <property name="t4Group" type="string"/> |
||
129 | <property name="t5Group" type="string"/> |
||
130 | <property name="t6Group" type="string"/> |
||
131 | <property name="t7Group" type="string"/> |
||
132 | <property name="t8Group" type="string"/> |
||
133 | <property name="t9Group" type="string"/> |
||
134 | <property name="t10Group" type="string"/> |
||
1314 | jmachado | 135 | |
1572 | jmachado | 136 | <property name="e1Group" type="string"/> |
137 | <property name="e2Group" type="string"/> |
||
138 | <property name="e3Group" type="string"/> |
||
139 | <property name="e4Group" type="string"/> |
||
140 | <property name="e5Group" type="string"/> |
||
141 | <property name="e6Group" type="string"/> |
||
142 | <property name="e7Group" type="string"/> |
||
143 | <property name="e8Group" type="string"/> |
||
144 | <property name="e9Group" type="string"/> |
||
145 | <property name="e10Group" type="string"/> |
||
146 | |||
1563 | jmachado | 147 | <property name="p1SubGroup" type="string"/> |
148 | <property name="p2SubGroup" type="string"/> |
||
149 | <property name="p3SubGroup" type="string"/> |
||
150 | <property name="p4SubGroup" type="string"/> |
||
151 | <property name="p5SubGroup" type="string"/> |
||
152 | <property name="p6SubGroup" type="string"/> |
||
153 | <property name="p7SubGroup" type="string"/> |
||
154 | <property name="p8SubGroup" type="string"/> |
||
155 | <property name="p9SubGroup" type="string"/> |
||
156 | <property name="p10SubGroup" type="string"/> |
||
157 | <property name="p11SubGroup" type="string"/> |
||
158 | <property name="p12SubGroup" type="string"/> |
||
159 | <property name="p13SubGroup" type="string"/> |
||
160 | <property name="p14SubGroup" type="string"/> |
||
161 | <property name="p15SubGroup" type="string"/> |
||
162 | <property name="p16SubGroup" type="string"/> |
||
163 | <property name="p17SubGroup" type="string"/> |
||
164 | <property name="p18SubGroup" type="string"/> |
||
165 | <property name="p19SubGroup" type="string"/> |
||
166 | <property name="p20SubGroup" type="string"/> |
||
167 | <property name="p21SubGroup" type="string"/> |
||
168 | <property name="p22SubGroup" type="string"/> |
||
169 | <property name="p23SubGroup" type="string"/> |
||
170 | <property name="p24SubGroup" type="string"/> |
||
171 | <property name="p25SubGroup" type="string"/> |
||
172 | <property name="p26SubGroup" type="string"/> |
||
173 | <property name="p27SubGroup" type="string"/> |
||
174 | <property name="p28SubGroup" type="string"/> |
||
175 | <property name="p29SubGroup" type="string"/> |
||
176 | <property name="p30SubGroup" type="string"/> |
||
177 | <property name="p31SubGroup" type="string"/> |
||
178 | <property name="p32SubGroup" type="string"/> |
||
179 | <property name="p33SubGroup" type="string"/> |
||
180 | <property name="p34SubGroup" type="string"/> |
||
181 | <property name="p35SubGroup" type="string"/> |
||
182 | <property name="p36SubGroup" type="string"/> |
||
183 | <property name="p37SubGroup" type="string"/> |
||
184 | <property name="p38SubGroup" type="string"/> |
||
185 | <property name="p39SubGroup" type="string"/> |
||
186 | <property name="p40SubGroup" type="string"/> |
||
187 | <property name="t1SubGroup" type="string"/> |
||
188 | <property name="t2SubGroup" type="string"/> |
||
189 | <property name="t3SubGroup" type="string"/> |
||
190 | <property name="t4SubGroup" type="string"/> |
||
191 | <property name="t5SubGroup" type="string"/> |
||
192 | <property name="t6SubGroup" type="string"/> |
||
193 | <property name="t7SubGroup" type="string"/> |
||
194 | <property name="t8SubGroup" type="string"/> |
||
195 | <property name="t9SubGroup" type="string"/> |
||
196 | <property name="t10SubGroup" type="string"/> |
||
1572 | jmachado | 197 | <property name="e1SubGroup" type="string"/> |
198 | <property name="e2SubGroup" type="string"/> |
||
199 | <property name="e3SubGroup" type="string"/> |
||
200 | <property name="e4SubGroup" type="string"/> |
||
201 | <property name="e5SubGroup" type="string"/> |
||
202 | <property name="e6SubGroup" type="string"/> |
||
203 | <property name="e7SubGroup" type="string"/> |
||
204 | <property name="e8SubGroup" type="string"/> |
||
205 | <property name="e9SubGroup" type="string"/> |
||
206 | <property name="e10SubGroup" type="string"/> |
||
1563 | jmachado | 207 | |
1314 | jmachado | 208 | <property name="introHtml" type="string"> |
209 | <column name="introHtml" sql-type="text"/> |
||
210 | </property> |
||
211 | |||
212 | <property name="group1Title" type="string"> |
||
213 | <column name="group1Title" sql-type="text"/> |
||
214 | </property> |
||
215 | <property name="group2Title" type="string"> |
||
216 | <column name="group2Title" sql-type="text"/> |
||
217 | </property> |
||
218 | <property name="group3Title" type="string"> |
||
219 | <column name="group3Title" sql-type="text"/> |
||
220 | </property> |
||
221 | <property name="group4Title" type="string"> |
||
222 | <column name="group4Title" sql-type="text"/> |
||
223 | </property> |
||
224 | <property name="group5Title" type="string"> |
||
225 | <column name="group5Title" sql-type="text"/> |
||
226 | </property> |
||
1325 | jmachado | 227 | <property name="group6Title" type="string"> |
228 | <column name="group6Title" sql-type="text"/> |
||
229 | </property> |
||
230 | <property name="group7Title" type="string"> |
||
231 | <column name="group7Title" sql-type="text"/> |
||
232 | </property> |
||
233 | <property name="group8Title" type="string"> |
||
234 | <column name="group8Title" sql-type="text"/> |
||
235 | </property> |
||
236 | <property name="group9Title" type="string"> |
||
237 | <column name="group9Title" sql-type="text"/> |
||
238 | </property> |
||
239 | <property name="group10Title" type="string"> |
||
240 | <column name="group10Title" sql-type="text"/> |
||
241 | </property> |
||
1314 | jmachado | 242 | |
243 | |||
1325 | jmachado | 244 | <property name="group1Code" type="string"/> |
245 | <property name="group2Code" type="string"/> |
||
246 | <property name="group3Code" type="string"/> |
||
247 | <property name="group4Code" type="string"/> |
||
248 | <property name="group5Code" type="string"/> |
||
249 | <property name="group6Code" type="string"/> |
||
250 | <property name="group7Code" type="string"/> |
||
251 | <property name="group8Code" type="string"/> |
||
252 | <property name="group9Code" type="string"/> |
||
253 | <property name="group10Code" type="string"/> |
||
1314 | jmachado | 254 | |
255 | |||
1325 | jmachado | 256 | |
257 | |||
258 | |||
1314 | jmachado | 259 | <!--State flow info--> |
260 | <!-- |
||
261 | Possible states: |
||
262 | CREATED -> in prototype edition |
||
263 | ASSIGNED -> All tipologies prototypes created and assigned to student answers |
||
264 | PROCESSING -> Impossible to change or edit prototypes, possible to answer |
||
265 | CLOSED -> Impossible to answer |
||
266 | STATISTICS1 |
||
267 | --> |
||
268 | <property name="state" type="string"> |
||
269 | <column name="state" default="'CREATED'"/> |
||
270 | </property> |
||
1327 | jmachado | 271 | <property name="substate" type="string"/> |
1314 | jmachado | 272 | |
1337 | jmachado | 273 | <property name="answerGenerationTaskId" type="long"> |
274 | <column name="answer_generation_task_id" default="0"/> |
||
275 | </property> |
||
276 | |||
1544 | jmachado | 277 | <property name="answerOlapGenerationTaskId" type="long"> |
278 | <column name="answer_olap_generation_task_id" default="0"/> |
||
279 | </property> |
||
280 | |||
1327 | jmachado | 281 | <!--Modulo de Pedagogico--> |
282 | <property name="courseSelectionTaskId" type="long"> |
||
283 | <column name="course_selection_task_id" default="0"/> |
||
284 | </property> |
||
285 | <!--Modulo de Pedagogico--> |
||
286 | |||
1325 | jmachado | 287 | <many-to-one name="questionarioHistoryDrive" class="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" lazy="proxy" outer-join="false"/> |
288 | |||
1314 | jmachado | 289 | <subclass name="pt.estgp.estgweb.domain.QuestionarioImpl" discriminator-value="QuestionarioImpl"/> |
290 | </class> |
||
291 | |||
1325 | jmachado | 292 | <class name="pt.estgp.estgweb.domain.QuestionarioHistoryDrive" table="questionario_history_drive" abstract="true"> |
293 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
294 | <meta attribute="scope-class">public abstract</meta> |
||
295 | <id name="id" type="long" unsaved-value="0"> |
||
296 | <generator class="native"/> |
||
297 | </id> |
||
298 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 299 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1325 | jmachado | 300 | <property name="saveDate" type="timestamp"/> |
301 | <property name="codeName" type="string" unique="true"/> |
||
302 | <property name="description" type="string"/> |
||
303 | <subclass name="pt.estgp.estgweb.domain.QuestionarioHistoryDriveImpl" discriminator-value="QuestionarioHistoryDriveImpl"/> |
||
304 | </class> |
||
305 | |||
1330 | jmachado | 306 | |
307 | <class name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitada" table="questionario_resposta_requisitada" abstract="true"> |
||
308 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
309 | <meta attribute="scope-class">public abstract</meta> |
||
310 | <id name="id" type="long" unsaved-value="0"> |
||
311 | <generator class="native"/> |
||
312 | </id> |
||
313 | <discriminator column="discriminator"/> |
||
314 | <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/> |
||
315 | <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/> |
||
316 | <many-to-one name="resposta" class="pt.estgp.estgweb.domain.QuestionarioResposta" lazy="false" outer-join="true"/> |
||
317 | <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitadaImpl" discriminator-value="QuestionarioRespostaRequisitadaImpl"/> |
||
318 | </class> |
||
319 | |||
320 | <class name="pt.estgp.estgweb.domain.QuestionarioResposta" table="questionario_resposta" abstract="true"> |
||
321 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
322 | <meta attribute="scope-class">public abstract</meta> |
||
323 | <id name="id" type="long" unsaved-value="0"> |
||
324 | <generator class="native"/> |
||
325 | </id> |
||
326 | <discriminator column="discriminator"/> |
||
1331 | jmachado | 327 | |
328 | <property name="saveDate" type="timestamp"/> |
||
329 | |||
1411 | jmachado | 330 | <property name="timeStart" type="long"/> |
331 | <property name="timeEnd" type="long"/> |
||
1331 | jmachado | 332 | <property name="totalTime" type="long"/> |
333 | |||
334 | |||
335 | <property name="r1" type="string"/> |
||
336 | <property name="r2" type="string"/> |
||
337 | <property name="r3" type="string"/> |
||
338 | <property name="r4" type="string"/> |
||
339 | <property name="r5" type="string"/> |
||
340 | <property name="r6" type="string"/> |
||
341 | <property name="r7" type="string"/> |
||
342 | <property name="r8" type="string"/> |
||
343 | <property name="r9" type="string"/> |
||
344 | <property name="r10" type="string"/> |
||
345 | <property name="r11" type="string"/> |
||
346 | <property name="r12" type="string"/> |
||
347 | <property name="r13" type="string"/> |
||
348 | <property name="r14" type="string"/> |
||
349 | <property name="r15" type="string"/> |
||
350 | <property name="r16" type="string"/> |
||
351 | <property name="r17" type="string"/> |
||
352 | <property name="r18" type="string"/> |
||
353 | <property name="r19" type="string"/> |
||
354 | <property name="r20" type="string"/> |
||
355 | <property name="r21" type="string"/> |
||
356 | <property name="r22" type="string"/> |
||
357 | <property name="r23" type="string"/> |
||
358 | <property name="r24" type="string"/> |
||
359 | <property name="r25" type="string"/> |
||
360 | <property name="r26" type="string"/> |
||
361 | <property name="r27" type="string"/> |
||
362 | <property name="r28" type="string"/> |
||
363 | <property name="r29" type="string"/> |
||
364 | <property name="r30" type="string"/> |
||
365 | <property name="r31" type="string"/> |
||
366 | <property name="r32" type="string"/> |
||
367 | <property name="r33" type="string"/> |
||
368 | <property name="r34" type="string"/> |
||
369 | <property name="r35" type="string"/> |
||
370 | <property name="r36" type="string"/> |
||
371 | <property name="r37" type="string"/> |
||
372 | <property name="r38" type="string"/> |
||
373 | <property name="r39" type="string"/> |
||
374 | <property name="r40" type="string"/> |
||
375 | |||
376 | <property name="rt1" type="string"/> |
||
377 | <property name="rt2" type="string"/> |
||
378 | <property name="rt3" type="string"/> |
||
379 | <property name="rt4" type="string"/> |
||
380 | <property name="rt5" type="string"/> |
||
381 | <property name="rt6" type="string"/> |
||
382 | <property name="rt7" type="string"/> |
||
383 | <property name="rt8" type="string"/> |
||
384 | <property name="rt9" type="string"/> |
||
385 | <property name="rt10" type="string"/> |
||
386 | |||
1572 | jmachado | 387 | <property name="re1" type="string"/> |
388 | <property name="re2" type="string"/> |
||
389 | <property name="re3" type="string"/> |
||
390 | <property name="re4" type="string"/> |
||
391 | <property name="re5" type="string"/> |
||
392 | <property name="re6" type="string"/> |
||
393 | <property name="re7" type="string"/> |
||
394 | <property name="re8" type="string"/> |
||
395 | <property name="re9" type="string"/> |
||
396 | <property name="re10" type="string"/> |
||
1331 | jmachado | 397 | |
1572 | jmachado | 398 | |
1331 | jmachado | 399 | <!--Tempo levado para responder--> |
400 | <property name="timeTakenR1" type="long"/> |
||
401 | <property name="timeTakenR2" type="long"/> |
||
402 | <property name="timeTakenR3" type="long"/> |
||
403 | <property name="timeTakenR4" type="long"/> |
||
404 | <property name="timeTakenR5" type="long"/> |
||
405 | <property name="timeTakenR6" type="long"/> |
||
406 | <property name="timeTakenR7" type="long"/> |
||
407 | <property name="timeTakenR8" type="long"/> |
||
408 | <property name="timeTakenR9" type="long"/> |
||
409 | <property name="timeTakenR10" type="long"/> |
||
410 | <property name="timeTakenR11" type="long"/> |
||
411 | <property name="timeTakenR12" type="long"/> |
||
412 | <property name="timeTakenR13" type="long"/> |
||
413 | <property name="timeTakenR14" type="long"/> |
||
414 | <property name="timeTakenR15" type="long"/> |
||
415 | <property name="timeTakenR16" type="long"/> |
||
416 | <property name="timeTakenR17" type="long"/> |
||
417 | <property name="timeTakenR18" type="long"/> |
||
418 | <property name="timeTakenR19" type="long"/> |
||
419 | <property name="timeTakenR20" type="long"/> |
||
420 | <property name="timeTakenR21" type="long"/> |
||
421 | <property name="timeTakenR22" type="long"/> |
||
422 | <property name="timeTakenR23" type="long"/> |
||
423 | <property name="timeTakenR24" type="long"/> |
||
424 | <property name="timeTakenR25" type="long"/> |
||
425 | <property name="timeTakenR26" type="long"/> |
||
426 | <property name="timeTakenR27" type="long"/> |
||
427 | <property name="timeTakenR28" type="long"/> |
||
428 | <property name="timeTakenR29" type="long"/> |
||
429 | <property name="timeTakenR30" type="long"/> |
||
430 | <property name="timeTakenR31" type="long"/> |
||
431 | <property name="timeTakenR32" type="long"/> |
||
432 | <property name="timeTakenR33" type="long"/> |
||
433 | <property name="timeTakenR34" type="long"/> |
||
434 | <property name="timeTakenR35" type="long"/> |
||
435 | <property name="timeTakenR36" type="long"/> |
||
436 | <property name="timeTakenR37" type="long"/> |
||
437 | <property name="timeTakenR38" type="long"/> |
||
438 | <property name="timeTakenR39" type="long"/> |
||
439 | <property name="timeTakenR40" type="long"/> |
||
440 | |||
441 | <property name="timeTakenRt1" type="long"/> |
||
442 | <property name="timeTakenRt2" type="long"/> |
||
443 | <property name="timeTakenRt3" type="long"/> |
||
444 | <property name="timeTakenRt4" type="long"/> |
||
445 | <property name="timeTakenRt5" type="long"/> |
||
446 | <property name="timeTakenRt6" type="long"/> |
||
447 | <property name="timeTakenRt7" type="long"/> |
||
448 | <property name="timeTakenRt8" type="long"/> |
||
449 | <property name="timeTakenRt9" type="long"/> |
||
450 | <property name="timeTakenRt10" type="long"/> |
||
451 | |||
1572 | jmachado | 452 | <property name="timeTakenRe1" type="long"/> |
453 | <property name="timeTakenRe2" type="long"/> |
||
454 | <property name="timeTakenRe3" type="long"/> |
||
455 | <property name="timeTakenRe4" type="long"/> |
||
456 | <property name="timeTakenRe5" type="long"/> |
||
457 | <property name="timeTakenRe6" type="long"/> |
||
458 | <property name="timeTakenRe7" type="long"/> |
||
459 | <property name="timeTakenRe8" type="long"/> |
||
460 | <property name="timeTakenRe9" type="long"/> |
||
461 | <property name="timeTakenRe10" type="long"/> |
||
462 | |||
1331 | jmachado | 463 | <!--Hora do Clique--> |
1411 | jmachado | 464 | <property name="timeEventR1" type="long"/> |
465 | <property name="timeEventR2" type="long"/> |
||
466 | <property name="timeEventR3" type="long"/> |
||
467 | <property name="timeEventR4" type="long"/> |
||
468 | <property name="timeEventR5" type="long"/> |
||
469 | <property name="timeEventR6" type="long"/> |
||
470 | <property name="timeEventR7" type="long"/> |
||
471 | <property name="timeEventR8" type="long"/> |
||
472 | <property name="timeEventR9" type="long"/> |
||
473 | <property name="timeEventR10" type="long"/> |
||
474 | <property name="timeEventR11" type="long"/> |
||
475 | <property name="timeEventR12" type="long"/> |
||
476 | <property name="timeEventR13" type="long"/> |
||
477 | <property name="timeEventR14" type="long"/> |
||
478 | <property name="timeEventR15" type="long"/> |
||
479 | <property name="timeEventR16" type="long"/> |
||
480 | <property name="timeEventR17" type="long"/> |
||
481 | <property name="timeEventR18" type="long"/> |
||
482 | <property name="timeEventR19" type="long"/> |
||
483 | <property name="timeEventR20" type="long"/> |
||
484 | <property name="timeEventR21" type="long"/> |
||
485 | <property name="timeEventR22" type="long"/> |
||
486 | <property name="timeEventR23" type="long"/> |
||
487 | <property name="timeEventR24" type="long"/> |
||
488 | <property name="timeEventR25" type="long"/> |
||
489 | <property name="timeEventR26" type="long"/> |
||
490 | <property name="timeEventR27" type="long"/> |
||
491 | <property name="timeEventR28" type="long"/> |
||
492 | <property name="timeEventR29" type="long"/> |
||
493 | <property name="timeEventR30" type="long"/> |
||
494 | <property name="timeEventR31" type="long"/> |
||
495 | <property name="timeEventR32" type="long"/> |
||
496 | <property name="timeEventR33" type="long"/> |
||
497 | <property name="timeEventR34" type="long"/> |
||
498 | <property name="timeEventR35" type="long"/> |
||
499 | <property name="timeEventR36" type="long"/> |
||
500 | <property name="timeEventR37" type="long"/> |
||
501 | <property name="timeEventR38" type="long"/> |
||
502 | <property name="timeEventR39" type="long"/> |
||
503 | <property name="timeEventR40" type="long"/> |
||
1331 | jmachado | 504 | |
505 | <property name="timeEventRt1" type="long"/> |
||
506 | <property name="timeEventRt2" type="long"/> |
||
507 | <property name="timeEventRt3" type="long"/> |
||
508 | <property name="timeEventRt4" type="long"/> |
||
509 | <property name="timeEventRt5" type="long"/> |
||
510 | <property name="timeEventRt6" type="long"/> |
||
511 | <property name="timeEventRt7" type="long"/> |
||
512 | <property name="timeEventRt8" type="long"/> |
||
513 | <property name="timeEventRt9" type="long"/> |
||
514 | <property name="timeEventRt10" type="long"/> |
||
515 | |||
1572 | jmachado | 516 | <property name="timeEventRe1" type="long"/> |
517 | <property name="timeEventRe2" type="long"/> |
||
518 | <property name="timeEventRe3" type="long"/> |
||
519 | <property name="timeEventRe4" type="long"/> |
||
520 | <property name="timeEventRe5" type="long"/> |
||
521 | <property name="timeEventRe6" type="long"/> |
||
522 | <property name="timeEventRe7" type="long"/> |
||
523 | <property name="timeEventRe8" type="long"/> |
||
524 | <property name="timeEventRe9" type="long"/> |
||
525 | <property name="timeEventRe10" type="long"/> |
||
526 | |||
1330 | jmachado | 527 | <many-to-one name="user" class="pt.estgp.estgweb.domain.User" lazy="proxy" outer-join="false"/> |
1404 | jmachado | 528 | <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/> |
1330 | jmachado | 529 | <subclass name="pt.estgp.estgweb.domain.QuestionarioRespostaImpl" discriminator-value="QuestionarioRespostaImpl"/> |
530 | </class> |
||
531 | |||
532 | <!--PEDAGOGICO QUESTIONARIO ATRIBUICOES--> |
||
533 | |||
1336 | jmachado | 534 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" table="questionario_peda_tipologia_requisitada" abstract="true"> |
1330 | jmachado | 535 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
536 | <meta attribute="scope-class">public abstract</meta> |
||
537 | <id name="id" type="long" unsaved-value="0"> |
||
538 | <generator class="native"/> |
||
539 | </id> |
||
540 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 541 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1330 | jmachado | 542 | <property name="saveDate" type="timestamp"/> |
1336 | jmachado | 543 | <property name="cdDocente" type="string"/> |
544 | <property name="cdTurma" type="string"/> |
||
545 | <property name="cdTipologia" type="string"/> |
||
546 | <property name="nomeDocente" type="string" /> |
||
547 | <property name="dsTipologia" type="string"/> |
||
1387 | jmachado | 548 | <many-to-one name="docenteAfeto" class="pt.estgp.estgweb.domain.Teacher" lazy="proxy" outer-join="false" column="professor_afeto"/> |
549 | <many-to-one name="turmaAfeta" class="pt.estgp.estgweb.domain.CourseUnitTurma" lazy="proxy" outer-join="false" column="turma_afeta"/> |
||
1336 | jmachado | 550 | <many-to-one name="unidadeAfeta" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" lazy="proxy" outer-join="false" column="unidade_afeta"/> |
551 | <set name="alunosRequisitados" lazy="true"> |
||
552 | <key column="tipologia_requisitada"/> |
||
553 | <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitado" /> |
||
554 | </set> |
||
555 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitadaImpl" discriminator-value="QuestionarioPedagogicoTipologiaRequisitadaImpl"/> |
||
556 | </class> |
||
557 | |||
558 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitado" table="questionario_peda_aluno_requisitado" abstract="true"> |
||
559 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
560 | <meta attribute="scope-class">public abstract</meta> |
||
561 | <id name="id" type="long" unsaved-value="0"> |
||
562 | <generator class="native"/> |
||
563 | </id> |
||
564 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 565 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1336 | jmachado | 566 | <property name="saveDate" type="timestamp"/> |
1553 | jmachado | 567 | |
568 | <property name="tipoAlunoFoiExtraido" type="boolean"> |
||
569 | <column name="tipoAlunoFoiExtraido" default="false"/> |
||
570 | </property> |
||
571 | |||
572 | <property name="tipoAlunoTrabalhadorEstudante" type="boolean"> |
||
573 | <column name="tipoAlunoTrabalhadorEstudante" default="false"/> |
||
574 | </property> |
||
575 | <property name="tipoAlunoErasmus" type="boolean" index="tipoAlunoErasmusIndex"> |
||
576 | <column name="tipoAlunoErasmus" default="false"/> |
||
577 | </property> |
||
578 | <property name="tipoAlunoNormal" type="boolean" index="tipoAlunoNormalIndex"> |
||
579 | <column name="tipoAlunoNormal" default="false"/> |
||
580 | </property> |
||
581 | <property name="tipoAlunoBolseiro" type="boolean" index="tipoAlunoBolseiroIndex"> |
||
582 | <column name="tipoAlunoBolseiro" default="false"/> |
||
583 | </property> |
||
584 | <property name="tipoAlunoMilitar" type="boolean" index="tipoAlunoMilitarIndex"> |
||
585 | <column name="tipoAlunoMilitar" default="false"/> |
||
586 | </property> |
||
587 | <property name="tipoAlunoDirigenteAssociativo" type="boolean" index="tipoAlunoDirigenteAssociativoIndex"> |
||
588 | <column name="tipoAlunoDirigenteAssociativo" default="false"/> |
||
589 | </property> |
||
590 | <property name="tipoAlunoDeficiente" type="boolean" index="tipoAlunoDeficienteIndex"> |
||
591 | <column name="tipoAlunoDeficiente" default="false"/> |
||
592 | </property> |
||
593 | <property name="tipoAlunoBombeiro" type="boolean" index="tipoAlunoBombeiroIndex"> |
||
594 | <column name="tipoAlunoBombeiro" default="false"/> |
||
595 | </property> |
||
596 | <property name="tipoAlunoVascodagama" type="boolean" index="tipoAlunoVascodagamaIndex"> |
||
597 | <column name="tipoAlunoVascodagama" default="false"/> |
||
598 | </property> |
||
599 | <property name="propinasEmDia" type="boolean" index="propinasEmDiaIndex"> |
||
600 | <column name="propinasEmDia" default="false"/> |
||
601 | </property> |
||
602 | |||
1336 | jmachado | 603 | <many-to-one name="aluno" class="pt.estgp.estgweb.domain.Student" lazy="proxy" outer-join="false"/> |
604 | <many-to-one name="tipologiaRequisitada" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" lazy="proxy" outer-join="false" column="tipologia_requisitada"/> |
||
605 | <many-to-one name="respostaRequisitada" class="pt.estgp.estgweb.domain.QuestionarioRespostaRequisitada" lazy="proxy" outer-join="false"/> |
||
606 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoAlunoRequisitadoImpl" discriminator-value="QuestionarioPedagogicoAlunoRequisitadoImpl"/> |
||
607 | </class> |
||
608 | |||
609 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" table="questionario_peda_curso_afeto" abstract="true"> |
||
610 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
611 | <meta attribute="scope-class">public abstract</meta> |
||
612 | <id name="id" type="long" unsaved-value="0"> |
||
613 | <generator class="native"/> |
||
614 | </id> |
||
615 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 616 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1336 | jmachado | 617 | <property name="saveDate" type="timestamp"/> |
618 | <property name="codigoInstituicao" type="string"/> |
||
619 | <property name="nomeInstituicao" type="string"/> |
||
1333 | jmachado | 620 | <property name="codigoCurso" type="string" index="codigoCursoIndex"/> |
1330 | jmachado | 621 | <property name="ano" type="string"/> |
622 | <property name="semestre" type="string"/> |
||
623 | <property name="nome" type="string"/> |
||
1332 | jmachado | 624 | <property name="marcadas" type="int"/> |
625 | <property name="obs" type="string"/> |
||
1337 | jmachado | 626 | <property name="usarTipologias" type="boolean"> |
627 | <column name="usarTipologias" default="false"/> |
||
628 | </property> |
||
1394 | jmachado | 629 | |
630 | <!--STATS--> |
||
631 | <property name="statTipologiasRequisitadas" type="int"> |
||
632 | <column name="statTipologiasRequisitadas" default="0"/> |
||
633 | </property> |
||
634 | <property name="statRespostasRequisitadas" type="int"> |
||
635 | <column name="statRespostasRequisitadas" default="0"/> |
||
636 | </property> |
||
637 | |||
1330 | jmachado | 638 | <many-to-one name="questionario" class="pt.estgp.estgweb.domain.Questionario" lazy="proxy" outer-join="false"/> |
639 | <many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/> |
||
1338 | jmachado | 640 | <set name="unidadesAfetas" lazy="true" order-by="nome asc"> |
1335 | jmachado | 641 | <key column="curso_afeto"/> |
1330 | jmachado | 642 | <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" /> |
643 | </set> |
||
644 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfetoImpl" discriminator-value="QuestionarioPedagogicoCursoAfetoImpl"/> |
||
645 | </class> |
||
646 | |||
1336 | jmachado | 647 | <class name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfeta" table="questionario_peda_unidade_afeta" abstract="true"> |
1330 | jmachado | 648 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
649 | <meta attribute="scope-class">public abstract</meta> |
||
650 | <id name="id" type="long" unsaved-value="0"> |
||
651 | <generator class="native"/> |
||
652 | </id> |
||
653 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 654 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1330 | jmachado | 655 | <property name="saveDate" type="timestamp"/> |
1333 | jmachado | 656 | <property name="codigoUnidade" type="string" index="codigoUnidadeIndex"/> |
1336 | jmachado | 657 | <property name="nome" type="string"/> |
1333 | jmachado | 658 | |
659 | <property name="addedTipologias" type="int"/> |
||
660 | |||
1330 | jmachado | 661 | <property name="marked" type="boolean"/> |
1333 | jmachado | 662 | |
1330 | jmachado | 663 | <property name="profs" type="int"/> |
1333 | jmachado | 664 | <property name="turmas" type="int"/> |
665 | <property name="students" type="int"/> |
||
1330 | jmachado | 666 | <property name="turmaWithoutProf" type="int"/> |
1333 | jmachado | 667 | <property name="profsWithoutTurma" type="int"/> |
668 | <property name="tipologias" type="int"/> |
||
669 | |||
1338 | jmachado | 670 | <property name="vista" type="boolean"> |
671 | <column name="vista" default="false"/> |
||
672 | </property> |
||
1378 | jmachado | 673 | <property name="vistaProfs" type="boolean"> |
674 | <column name="vista_profs" default="false"/> |
||
675 | </property> |
||
1338 | jmachado | 676 | <property name="usar" type="boolean"> |
677 | <column name="usar" default="true"/> |
||
678 | </property> |
||
679 | |||
1545 | jmachado | 680 | <property name="usarOlap" type="boolean"> |
681 | <column name="usarOlap" default="true"/> |
||
682 | </property> |
||
683 | |||
1333 | jmachado | 684 | <property name="obs" type="text"> |
685 | <column name="obs" sql-type="TEXT"/> |
||
686 | </property> |
||
1330 | jmachado | 687 | <property name="tipologiasJson" type="text"> |
688 | <column name="tipologias_json" sql-type="MEDIUMTEXT"/> |
||
689 | </property> |
||
1394 | jmachado | 690 | |
691 | <!--STATS--> |
||
692 | |||
1395 | jmachado | 693 | <property name="statTipologiasRequisitadas" type="int"> |
1394 | jmachado | 694 | <column name="statTipologiasRequisitadas" default="0"/> |
695 | </property> |
||
1395 | jmachado | 696 | <property name="statRespostasRequisitadas" type="int"> |
1394 | jmachado | 697 | <column name="statRespostasRequisitadas" default="0"/> |
698 | </property> |
||
699 | |||
1335 | jmachado | 700 | <many-to-one name="cursoAfeto" class="pt.estgp.estgweb.domain.QuestionarioPedagogicoCursoAfeto" lazy="proxy" outer-join="false" column="curso_afeto"/> |
1330 | jmachado | 701 | <many-to-one name="courseUnit" class="pt.estgp.estgweb.domain.CourseUnit" lazy="proxy" outer-join="false"/> |
1336 | jmachado | 702 | <set name="tipologiasRequisitadas" lazy="true"> |
703 | <key column="unidade_afeta"/> |
||
704 | <one-to-many class="pt.estgp.estgweb.domain.QuestionarioPedagogicoTipologiaRequisitada" /> |
||
705 | </set> |
||
1330 | jmachado | 706 | <subclass name="pt.estgp.estgweb.domain.QuestionarioPedagogicoUnidadeCurricularAfetaImpl" discriminator-value="QuestionarioPedagogicoUnidadeCurricularAfetaImpl"/> |
707 | </class> |
||
708 | |||
709 | |||
1547 | jmachado | 710 | <!--REPORTS--> |
1330 | jmachado | 711 | |
1547 | jmachado | 712 | <class name="pt.estgp.estgweb.domain.QuestionarioReportFileGroup" table="questionario_report_file_grp" abstract="true"> |
713 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
714 | <meta attribute="scope-class">public abstract</meta> |
||
715 | <id name="id" type="long" unsaved-value="0"> |
||
716 | <generator class="native"/> |
||
717 | </id> |
||
718 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 719 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1547 | jmachado | 720 | <property name="saveDate" type="timestamp"/> |
1573 | jmachado | 721 | <property name="title" type="string"/> |
722 | <property name="reportProcessorClass" type="string"/> |
||
723 | <property name="repositoryStreamZipFile" type="string" index="repositoryIndexZipFile"/> |
||
724 | <property name="repositoryStreamCsvFile" type="string" index="repositoryIndexCsvFile"/> |
||
725 | |||
1547 | jmachado | 726 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupImpl"> |
727 | <meta attribute="scope-class">public abstract</meta> |
||
728 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAno"> |
||
729 | <meta attribute="scope-class">public abstract</meta> |
||
730 | <property name="importYear" type="string"/> |
||
1573 | jmachado | 731 | <property name="periodos" type="string"/> |
732 | <property name="degrees" type="string"/> |
||
1547 | jmachado | 733 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupAnoImpl"> |
734 | <meta attribute="scope-class">public abstract</meta> |
||
735 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAno"> |
||
736 | <meta attribute="scope-class">public abstract</meta> |
||
737 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAnoImpl" discriminator-value="QuestionarioReportFileGroupCursosAnoImpl"/> |
||
738 | </subclass> |
||
739 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAno"> |
||
740 | <meta attribute="scope-class">public abstract</meta> |
||
741 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileGroupDocentesAnoImpl" discriminator-value="QuestionarioReportFileGroupDocentesAnoImpl"/> |
||
742 | </subclass> |
||
743 | </subclass> |
||
744 | </subclass> |
||
745 | </subclass> |
||
746 | </class> |
||
747 | |||
748 | <class name="pt.estgp.estgweb.domain.QuestionarioReportFile" table="questionario_report_file" abstract="true"> |
||
749 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
750 | <meta attribute="scope-class">public abstract</meta> |
||
751 | <id name="id" type="long" unsaved-value="0"> |
||
752 | <generator class="native"/> |
||
753 | </id> |
||
754 | <discriminator column="discriminator"/> |
||
1549 | jmachado | 755 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
1547 | jmachado | 756 | <property name="saveDate" type="timestamp"/> |
757 | <property name="repositoryStream" type="string" index="repositoryIndex"/> |
||
758 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportFileImpl"> |
||
759 | <meta attribute="scope-class">public abstract</meta> |
||
760 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFile"> |
||
761 | <meta attribute="scope-class">public abstract</meta> |
||
762 | <many-to-one name="course" class="pt.estgp.estgweb.domain.Course" lazy="proxy" outer-join="false"/> |
||
763 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportCursoFileImpl" discriminator-value="QuestionarioReportCursoFileImpl"/> |
||
764 | </subclass> |
||
765 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFile"> |
||
766 | <meta attribute="scope-class">public abstract</meta> |
||
767 | <many-to-one name="teacher" class="pt.estgp.estgweb.domain.Teacher" lazy="proxy" outer-join="false"/> |
||
768 | <set name="courseUnits" lazy="true" order-by="name asc" table="questionario_report_file_docente_units"> |
||
769 | <key column="reportdocentefile"/> |
||
770 | <many-to-many class="pt.estgp.estgweb.domain.CourseUnit" column="courseunit" /> |
||
771 | </set> |
||
772 | <subclass name="pt.estgp.estgweb.domain.QuestionarioReportDocenteFileImpl" discriminator-value="QuestionarioReportDocenteFileImpl"/> |
||
773 | </subclass> |
||
774 | </subclass> |
||
775 | </class> |
||
776 | |||
777 | |||
778 | |||
1314 | jmachado | 779 | </hibernate-mapping> |