Rev 1791 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | package pt.estgp.estgweb.domain; |
2 | |||
3 | /** |
||
4 | * @author Jorge Machado |
||
5 | * @date 2/Mar/2008 |
||
6 | * @time 11:14:44 |
||
7 | * @see pt.estgp.estgweb.domain |
||
8 | */ |
||
9 | public class DomainObjectFactory { |
||
12 | jmachado | 10 | |
227 | jmachado | 11 | public static JobImpl createJobImpl() |
12 | { |
||
13 | return new JobImpl(); |
||
14 | } |
||
15 | |||
219 | jmachado | 16 | public static CourseUnitGradeImpl createCourseUnitGradeImpl() |
17 | { |
||
18 | return new CourseUnitGradeImpl(); |
||
19 | } |
||
215 | jmachado | 20 | |
21 | /*Managed Identifiers*/ |
||
22 | public static ManagedIdentifierImpl createManagedIdentifierImpl() |
||
23 | { |
||
24 | return new ManagedIdentifierImpl(); |
||
25 | } |
||
26 | public static ManagedIdentifierCollectionImpl createManagedIdentifierCollectionImpl() |
||
27 | { |
||
28 | return new ManagedIdentifierCollectionImpl(); |
||
29 | } |
||
30 | |||
31 | /*Profile Records*/ |
||
32 | public static RecordJobImpl createRecordJobImpl() |
||
33 | { |
||
34 | return new RecordJobImpl(); |
||
35 | } |
||
36 | public static RecordEventOrganizationImpl createRecordEventOrganizationImpl() |
||
37 | { |
||
38 | return new RecordEventOrganizationImpl(); |
||
39 | } |
||
40 | public static RecordThesisImpl createRecordThesisImpl() |
||
41 | { |
||
42 | return new RecordThesisImpl(); |
||
43 | } |
||
44 | public static RecordProjectImpl createRecordProjectImpl() |
||
45 | { |
||
46 | return new RecordProjectImpl(); |
||
47 | } |
||
48 | public static RecordPaperImpl createRecordPaperImpl() |
||
49 | { |
||
50 | return new RecordPaperImpl(); |
||
51 | } |
||
52 | public static RecordOtherImpl createRecordOtherImpl() |
||
53 | { |
||
54 | return new RecordOtherImpl(); |
||
55 | } |
||
56 | |||
57 | |||
58 | |||
1 | fvelez | 59 | public static AnnouncementImpl createAnnouncementImpl() |
60 | { |
||
61 | return new AnnouncementImpl(); |
||
62 | } |
||
63 | |||
202 | jmachado | 64 | public static CourseUnitAnnouncementImpl createCourseUnitAnnouncementImpl() |
65 | { |
||
66 | return new CourseUnitAnnouncementImpl(); |
||
67 | } |
||
68 | |||
358 | jmachado | 69 | public static CourseUnitSummaryImpl createCourseUnitSummaryImpl() |
70 | { |
||
71 | return new CourseUnitSummaryImpl(); |
||
72 | } |
||
73 | |||
1 | fvelez | 74 | public static CourseImpl createCourseImpl() |
75 | { |
||
76 | return new CourseImpl(); |
||
77 | } |
||
78 | |||
79 | public static CourseUserAssociationImpl createCourseUserAssociationImpl() |
||
80 | { |
||
81 | return new CourseUserAssociationImpl(); |
||
82 | } |
||
83 | |||
84 | public static ImageImpl createImageImpl() |
||
85 | { |
||
86 | return new ImageImpl(); |
||
87 | } |
||
88 | |||
89 | public static SessionObjectImpl createSessionObjectImpl() |
||
90 | { |
||
91 | return new SessionObjectImpl(); |
||
92 | } |
||
93 | |||
94 | public static SessionObjectIdImpl createSessionObjectIdImpl() |
||
95 | { |
||
96 | return new SessionObjectIdImpl(); |
||
97 | } |
||
98 | |||
99 | public static UserImpl createUserImpl() |
||
100 | { |
||
101 | return new UserImpl(); |
||
102 | } |
||
103 | |||
104 | public static GroupImpl createGroupImpl() |
||
105 | { |
||
106 | return new GroupImpl(); |
||
107 | } |
||
108 | |||
109 | public static UserSessionImpl createUserSessionImpl() |
||
110 | { |
||
111 | return new UserSessionImpl(); |
||
112 | } |
||
12 | jmachado | 113 | |
114 | public static UrlStatImpl createUrlStatImpl() |
||
115 | { |
||
116 | return new UrlStatImpl(); |
||
117 | } |
||
118 | |||
119 | public static UrlStatYearImpl createUrlStatYearImpl() |
||
120 | { |
||
121 | return new UrlStatYearImpl(); |
||
122 | } |
||
123 | |||
124 | public static UrlStatMonthImpl createUrlStatMonthImpl() |
||
125 | { |
||
126 | return new UrlStatMonthImpl(); |
||
127 | } |
||
18 | jmachado | 128 | |
129 | public static UrlStatDayImpl createUrlStatDayImpl() |
||
130 | { |
||
131 | return new UrlStatDayImpl(); |
||
132 | } |
||
58 | jmachado | 133 | |
134 | public static TesteImpl createTesteImpl() |
||
135 | { |
||
136 | return new TesteImpl(); |
||
137 | } |
||
138 | |||
110 | susana | 139 | public static BlogImpl createBlogImpl() |
75 | jmachado | 140 | { |
141 | return new BlogImpl(); |
||
142 | } |
||
143 | |||
146 | jmachado | 144 | public static CourseUnitBlogImpl createCourseUnitBlogImpl() |
145 | { |
||
146 | return new CourseUnitBlogImpl(); |
||
147 | } |
||
148 | |||
110 | susana | 149 | public static BlogPostImpl createBlogPostImpl() |
75 | jmachado | 150 | { |
151 | return new BlogPostImpl(); |
||
152 | } |
||
153 | |||
202 | jmachado | 154 | public static CourseUnitBlogPostImpl createCourseUnitBlogPostImpl() |
155 | { |
||
156 | return new CourseUnitBlogPostImpl(); |
||
157 | } |
||
158 | |||
110 | susana | 159 | public static CourseUnitImpl createCourseUnitImpl() |
160 | { |
||
161 | return new CourseUnitImpl(); |
||
162 | } |
||
114 | jmachado | 163 | |
726 | jmachado | 164 | public static ComunicationFolderImpl createComunicationFolderImpl() |
114 | jmachado | 165 | { |
726 | jmachado | 166 | return new ComunicationFolderImpl(); |
114 | jmachado | 167 | } |
168 | |||
1704 | jmachado | 169 | public static AppUserImpl createAppUserImpl() |
170 | { |
||
171 | return new AppUserImpl(); |
||
172 | } |
||
173 | |||
726 | jmachado | 174 | public static TeacherImpl createTeacherImpl() |
1704 | jmachado | 175 | { |
176 | return new TeacherImpl(); |
||
177 | } |
||
726 | jmachado | 178 | |
114 | jmachado | 179 | public static StudentImpl createStudentImpl() |
180 | { |
||
181 | return new StudentImpl(); |
||
182 | } |
||
163 | jmachado | 183 | |
184 | public static ReminderImpl createReminderImpl() |
||
185 | { |
||
186 | return new ReminderImpl(); |
||
187 | } |
||
203 | jmachado | 188 | |
189 | public static CourseUnitDeliverableImpl createCourseUnitDeliverableImpl() |
||
190 | { |
||
191 | return new CourseUnitDeliverableImpl(); |
||
192 | } |
||
193 | |||
194 | public static CourseUnitAssignementImpl createCourseUnitAssignementImpl() |
||
195 | { |
||
196 | return new CourseUnitAssignementImpl(); |
||
197 | } |
||
198 | |||
199 | public static CourseUnitQuestionImpl createCourseUnitQuestionImpl() |
||
200 | { |
||
201 | return new CourseUnitQuestionImpl(); |
||
202 | } |
||
203 | |||
204 | public static RepositoryFileImpl createRepositoryFileImpl() |
||
205 | { |
||
206 | return new RepositoryFileImpl(); |
||
207 | } |
||
208 | |||
209 | public static RepositoryFileVersionImpl createRepositoryFileVersionImpl() |
||
210 | { |
||
211 | return new RepositoryFileVersionImpl(); |
||
212 | } |
||
456 | jmachado | 213 | |
1670 | jmachado | 214 | public static RepositoryDocumentImpl createRepositoryDocumentImpl() |
215 | { |
||
216 | return new RepositoryDocumentImpl(); |
||
217 | } |
||
1675 | jmachado | 218 | public static RepositoryDocumentCollectionImpl createRepositoryDocumentCollectionImpl() |
219 | { |
||
220 | return new RepositoryDocumentCollectionImpl(); |
||
221 | } |
||
1670 | jmachado | 222 | |
456 | jmachado | 223 | public static SruSourceImpl createSruSourceImpl() { |
224 | return new SruSourceImpl(); |
||
225 | } |
||
226 | |||
227 | public static SruSourceCollectionImpl createSruSourceCollectionImpl() { |
||
228 | return new SruSourceCollectionImpl(); |
||
229 | } |
||
671 | jmachado | 230 | |
684 | jmachado | 231 | // Duarte Santos |
232 | public static SurveyImpl createSurveyImpl() |
||
671 | jmachado | 233 | { |
234 | return new SurveyImpl(); |
||
235 | } |
||
236 | |||
237 | public static SurveyQuestionAnswerImpl createSurveyQuestionAnswerImpl() |
||
238 | { |
||
239 | return new SurveyQuestionAnswerImpl(); |
||
240 | } |
||
241 | |||
242 | public static SurveyQuestionCandidateAnswerImpl createSurveyQuestionCandidateAnswerImpl() |
||
243 | { |
||
244 | return new SurveyQuestionCandidateAnswerImpl(); |
||
245 | } |
||
246 | |||
247 | public static SurveyQuestionImpl createSurveyQuestionImpl() |
||
248 | { |
||
249 | return new SurveyQuestionImpl(); |
||
250 | } |
||
251 | |||
252 | public static SurveyQuestionItemImpl createSurveyQuestionItemImpl() |
||
253 | { |
||
254 | return new SurveyQuestionItemImpl(); |
||
255 | } |
||
256 | |||
257 | public static SurveyResponseImpl createSurveyResponseImpl() |
||
258 | { |
||
259 | return new SurveyResponseImpl(); |
||
260 | } |
||
261 | |||
262 | public static SurveyStructuralNodeImpl createSurveyStructuralNodeImpl() |
||
263 | { |
||
264 | return new SurveyStructuralNodeImpl(); |
||
265 | } |
||
266 | |||
267 | public static SurveyStatsGraphicImpl createSurveyStatsGraphicImpl() |
||
268 | { |
||
269 | return new SurveyStatsGraphicImpl(); |
||
270 | } |
||
808 | jmachado | 271 | // Filipe Matos |
272 | public static AssessmentImpl createAssessmentImpl() |
||
273 | { |
||
274 | return new AssessmentImpl(); |
||
275 | } |
||
276 | public static AssessmentQuestionImpl createAssessmentQuestionImpl() |
||
277 | { |
||
278 | return new AssessmentQuestionImpl(); |
||
279 | } |
||
280 | public static AssessmentQuestionItemImpl createAssessmentQuestionItemImpl() |
||
281 | { |
||
282 | return new AssessmentQuestionItemImpl(); |
||
283 | } |
||
284 | public static AssessmentQuestionPossibleAnswerImpl createAssessmentQuestionPossibleAnswerImpl() |
||
285 | { |
||
286 | return new AssessmentQuestionPossibleAnswerImpl(); |
||
287 | } |
||
288 | public static AssessmentQuestionAnswerImpl createAssessmentQuestionAnswerImpl() |
||
289 | { |
||
290 | return new AssessmentQuestionAnswerImpl(); |
||
291 | } |
||
292 | public static AssessmentResponseImpl createAssessmentResponseImpl() |
||
293 | { |
||
294 | return new AssessmentResponseImpl(); |
||
295 | } |
||
850 | jmachado | 296 | |
851 | jmachado | 297 | public static MetaProcessImpl createMetaProcessImpl() |
850 | jmachado | 298 | { |
851 | jmachado | 299 | return new MetaProcessImpl(); |
300 | } |
||
301 | public static ProcessImpl createProcessImpl() |
||
302 | { |
||
850 | jmachado | 303 | return new ProcessImpl(); |
304 | } |
||
851 | jmachado | 305 | public static ProcessEventImpl createProcessEventImpl() |
850 | jmachado | 306 | { |
307 | return new ProcessEventImpl(); |
||
308 | } |
||
851 | jmachado | 309 | public static ProcessEventFileImpl createProcessEventFileImpl() |
850 | jmachado | 310 | { |
311 | return new ProcessEventFileImpl(); |
||
312 | } |
||
863 | jmachado | 313 | |
314 | public static DigitalDeliveryImpl createDigitalDeliveryImpl() |
||
315 | { |
||
316 | return new DigitalDeliveryImpl(); |
||
317 | } |
||
318 | |||
319 | public static DigitalDeliveryCategoryImpl createDigitalDeliveryCategoryImpl() |
||
320 | { |
||
321 | return new DigitalDeliveryCategoryImpl(); |
||
322 | } |
||
323 | |||
324 | public static DigitalDeliveryTargetImpl createDigitalDeliveryTargetImpl() |
||
325 | { |
||
326 | return new DigitalDeliveryTargetImpl(); |
||
327 | } |
||
881 | jmachado | 328 | |
329 | public static CourseUnitEvaluationImpl createCourseUnitEvaluationImpl() |
||
330 | { |
||
331 | return new CourseUnitEvaluationImpl(); |
||
332 | } |
||
995 | jmachado | 333 | |
334 | public static JobServiceTaskImpl createJobServiceTaskImpl() |
||
335 | { |
||
336 | return new JobServiceTaskImpl(); |
||
337 | } |
||
338 | |||
339 | public static JobServiceTaskSchedulerImpl createJobServiceTaskSchedulerImpl() |
||
340 | { |
||
341 | return new JobServiceTaskSchedulerImpl(); |
||
342 | } |
||
343 | |||
344 | |||
345 | public static JobServiceTaskParameterImpl createJobServiceTaskParameterImpl() |
||
346 | { |
||
347 | return new JobServiceTaskParameterImpl(); |
||
348 | } |
||
349 | |||
350 | public static JobServiceTaskSchedulerParameterImpl createJobServiceTaskSchedulerParameterImpl() |
||
351 | { |
||
352 | return new JobServiceTaskSchedulerParameterImpl(); |
||
353 | } |
||
1048 | jmachado | 354 | |
355 | public static ConfigurationGradesImpl createConfigurationGradesImpl() |
||
356 | { |
||
357 | return new ConfigurationGradesImpl(); |
||
358 | } |
||
359 | |||
360 | public static ConfigurationGradesStatusEpocaImpl createConfigurationGradesStatusEpocaImpl() |
||
361 | { |
||
362 | return new ConfigurationGradesStatusEpocaImpl(); |
||
363 | } |
||
364 | |||
365 | public static ConfigurationGradesEpocaAvaliacaoImpl createConfigurationGradesEpocaAvaliacaoImpl() |
||
366 | { |
||
367 | return new ConfigurationGradesEpocaAvaliacaoImpl(); |
||
368 | } |
||
1069 | jmachado | 369 | |
370 | public static ConfigurationDirectoryImpl createConfigurationDirectoryImpl() |
||
371 | { |
||
372 | return new ConfigurationDirectoryImpl(); |
||
373 | } |
||
1283 | jmachado | 374 | |
375 | public static UserRoleConfigImpl createUserRoleConfigImpl() |
||
376 | { |
||
377 | return new UserRoleConfigImpl(); |
||
378 | } |
||
1312 | jmachado | 379 | |
380 | public static PageImpl createPageImpl() |
||
381 | { |
||
382 | return new PageImpl(); |
||
383 | } |
||
384 | |||
385 | public static PageSectionImpl createPageSectionImpl() |
||
386 | { |
||
387 | return new PageSectionImpl(); |
||
388 | } |
||
389 | |||
390 | public static PageRepositoryFileImpl createPageRepositoryImpl() |
||
391 | { |
||
392 | return new PageRepositoryFileImpl(); |
||
393 | } |
||
394 | |||
395 | public static PageExternalUrlImpl createPageExternalUrlImpl() |
||
396 | { |
||
397 | return new PageExternalUrlImpl(); |
||
398 | } |
||
399 | |||
1814 | jmachado | 400 | public static PageTextImpl createPageTextImpl() |
401 | { |
||
402 | return new PageTextImpl(); |
||
403 | } |
||
404 | |||
1312 | jmachado | 405 | public static CourseUnitTurmaImpl createCourseUnitTurmaImpl() { |
406 | return new CourseUnitTurmaImpl(); |
||
407 | } |
||
408 | |||
409 | public static CourseYearImpl createCourseYearImpl() { |
||
410 | return new CourseYearImpl(); |
||
411 | } |
||
1314 | jmachado | 412 | |
413 | public static QuestionarioImpl createQuestionarioImpl() { |
||
414 | return new QuestionarioImpl(); |
||
415 | } |
||
1325 | jmachado | 416 | |
417 | public static QuestionarioHistoryDriveImpl createQuestionarioHistoryDriveImpl() { |
||
418 | return new QuestionarioHistoryDriveImpl(); |
||
419 | } |
||
1332 | jmachado | 420 | |
421 | public static QuestionarioPedagogicoCursoAfetoImpl createQuestionarioPedagogicoCursoAfeto() { |
||
422 | return new QuestionarioPedagogicoCursoAfetoImpl(); |
||
423 | } |
||
424 | public static QuestionarioPedagogicoUnidadeCurricularAfetaImpl createQuestionarioPedagogicoUnidadeCurricularAfeta() { |
||
425 | return new QuestionarioPedagogicoUnidadeCurricularAfetaImpl(); |
||
426 | } |
||
1336 | jmachado | 427 | public static QuestionarioPedagogicoTipologiaRequisitadaImpl createQuestionarioPedagogicoTipologiaRequisitadaImpl() { |
428 | return new QuestionarioPedagogicoTipologiaRequisitadaImpl(); |
||
429 | } |
||
430 | public static QuestionarioPedagogicoAlunoRequisitadoImpl createQuestionarioPedagogicoAlunoRequisitadoImpl() { |
||
431 | return new QuestionarioPedagogicoAlunoRequisitadoImpl(); |
||
432 | } |
||
1350 | jmachado | 433 | |
434 | public static ConfigurationImpl createConfigurationImpl() { |
||
435 | return new ConfigurationImpl(); |
||
436 | } |
||
1387 | jmachado | 437 | |
438 | public static QuestionarioRespostaRequisitadaImpl createQuestionarioRespostaRequisitadaImpl(){ |
||
439 | return new QuestionarioRespostaRequisitadaImpl(); |
||
440 | } |
||
1407 | jmachado | 441 | |
442 | public static QuestionarioRespostaImpl createQuestionarioRespostaImpl() { |
||
443 | return new QuestionarioRespostaImpl(); |
||
444 | } |
||
1496 | jmachado | 445 | |
446 | public static CourseStudiesPlanImpl createCourseStudiesPlanImpl() { |
||
447 | return new CourseStudiesPlanImpl(); |
||
448 | } |
||
1505 | jmachado | 449 | |
450 | public static CourseDepartmentImpl createCourseDepartmentImpl() { |
||
451 | return new CourseDepartmentImpl(); |
||
452 | } |
||
1524 | jmachado | 453 | |
1670 | jmachado | 454 | public static CourseSchoolImpl createCourseSchoolImpl() { |
455 | return new CourseSchoolImpl(); |
||
456 | } |
||
457 | |||
1524 | jmachado | 458 | public static EventClassImpl createEventClass() { |
459 | return new EventClassImpl(); |
||
460 | } |
||
461 | |||
462 | public static EventGenericImpl createEventGenericImpl() { |
||
463 | return new EventGenericImpl(); |
||
464 | } |
||
465 | public static EventFormacoesImpl createEventFormacoesImpl() { |
||
466 | return new EventFormacoesImpl(); |
||
467 | } |
||
1692 | jmachado | 468 | |
469 | public static RepositoryDocumentInterfaceImpl createRepositoryDocumentInterfaceImpl() { |
||
470 | return new RepositoryDocumentInterfaceImpl(); |
||
471 | } |
||
1731 | jmachado | 472 | |
473 | public static ConfigurationSeparatorImpl createConfigurationSeparatorImpl() |
||
474 | { |
||
475 | return new ConfigurationSeparatorImpl(); |
||
476 | } |
||
1775 | jmachado | 477 | |
478 | public static BpmnProcessImpl createBpmnProcessImpl() { |
||
479 | return new BpmnProcessImpl(); |
||
480 | } |
||
1781 | jmachado | 481 | |
482 | public static BpmnActorPoolImpl createBpmnActorPoolImpl() { |
||
483 | return new BpmnActorPoolImpl(); |
||
484 | } |
||
485 | |||
486 | public static BpmnFlowComponentTaskActor createBpmnFlowComponentTaskActorImpl() { |
||
487 | return new BpmnFlowComponentTaskActorImpl(); |
||
488 | } |
||
1782 | jmachado | 489 | |
490 | public static BpmnFlowConnector createBpmnFlowConnectorImpl() { |
||
491 | return new BpmnFlowConnectorImpl(); |
||
492 | } |
||
1791 | jmachado | 493 | |
494 | public static BpmnVariableImpl createBpmnVariableImpl() { |
||
495 | return new BpmnVariableImpl(); |
||
496 | } |
||
1 | fvelez | 497 | } |