Rev 1387 | Rev 1496 | 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 | |||
726 | jmachado | 169 | public static TeacherImpl createTeacherImpl() |
170 | { |
||
171 | return new TeacherImpl(); |
||
172 | } |
||
173 | |||
114 | jmachado | 174 | public static StudentImpl createStudentImpl() |
175 | { |
||
176 | return new StudentImpl(); |
||
177 | } |
||
163 | jmachado | 178 | |
179 | public static ReminderImpl createReminderImpl() |
||
180 | { |
||
181 | return new ReminderImpl(); |
||
182 | } |
||
203 | jmachado | 183 | |
184 | public static CourseUnitDeliverableImpl createCourseUnitDeliverableImpl() |
||
185 | { |
||
186 | return new CourseUnitDeliverableImpl(); |
||
187 | } |
||
188 | |||
189 | public static CourseUnitAssignementImpl createCourseUnitAssignementImpl() |
||
190 | { |
||
191 | return new CourseUnitAssignementImpl(); |
||
192 | } |
||
193 | |||
194 | public static CourseUnitQuestionImpl createCourseUnitQuestionImpl() |
||
195 | { |
||
196 | return new CourseUnitQuestionImpl(); |
||
197 | } |
||
198 | |||
199 | public static RepositoryFileImpl createRepositoryFileImpl() |
||
200 | { |
||
201 | return new RepositoryFileImpl(); |
||
202 | } |
||
203 | |||
204 | public static RepositoryFileVersionImpl createRepositoryFileVersionImpl() |
||
205 | { |
||
206 | return new RepositoryFileVersionImpl(); |
||
207 | } |
||
456 | jmachado | 208 | |
209 | public static SruSourceImpl createSruSourceImpl() { |
||
210 | return new SruSourceImpl(); |
||
211 | } |
||
212 | |||
213 | public static SruSourceCollectionImpl createSruSourceCollectionImpl() { |
||
214 | return new SruSourceCollectionImpl(); |
||
215 | } |
||
671 | jmachado | 216 | |
684 | jmachado | 217 | // Duarte Santos |
218 | public static SurveyImpl createSurveyImpl() |
||
671 | jmachado | 219 | { |
220 | return new SurveyImpl(); |
||
221 | } |
||
222 | |||
223 | public static SurveyQuestionAnswerImpl createSurveyQuestionAnswerImpl() |
||
224 | { |
||
225 | return new SurveyQuestionAnswerImpl(); |
||
226 | } |
||
227 | |||
228 | public static SurveyQuestionCandidateAnswerImpl createSurveyQuestionCandidateAnswerImpl() |
||
229 | { |
||
230 | return new SurveyQuestionCandidateAnswerImpl(); |
||
231 | } |
||
232 | |||
233 | public static SurveyQuestionImpl createSurveyQuestionImpl() |
||
234 | { |
||
235 | return new SurveyQuestionImpl(); |
||
236 | } |
||
237 | |||
238 | public static SurveyQuestionItemImpl createSurveyQuestionItemImpl() |
||
239 | { |
||
240 | return new SurveyQuestionItemImpl(); |
||
241 | } |
||
242 | |||
243 | public static SurveyResponseImpl createSurveyResponseImpl() |
||
244 | { |
||
245 | return new SurveyResponseImpl(); |
||
246 | } |
||
247 | |||
248 | public static SurveyStructuralNodeImpl createSurveyStructuralNodeImpl() |
||
249 | { |
||
250 | return new SurveyStructuralNodeImpl(); |
||
251 | } |
||
252 | |||
253 | public static SurveyStatsGraphicImpl createSurveyStatsGraphicImpl() |
||
254 | { |
||
255 | return new SurveyStatsGraphicImpl(); |
||
256 | } |
||
808 | jmachado | 257 | // Filipe Matos |
258 | public static AssessmentImpl createAssessmentImpl() |
||
259 | { |
||
260 | return new AssessmentImpl(); |
||
261 | } |
||
262 | public static AssessmentQuestionImpl createAssessmentQuestionImpl() |
||
263 | { |
||
264 | return new AssessmentQuestionImpl(); |
||
265 | } |
||
266 | public static AssessmentQuestionItemImpl createAssessmentQuestionItemImpl() |
||
267 | { |
||
268 | return new AssessmentQuestionItemImpl(); |
||
269 | } |
||
270 | public static AssessmentQuestionPossibleAnswerImpl createAssessmentQuestionPossibleAnswerImpl() |
||
271 | { |
||
272 | return new AssessmentQuestionPossibleAnswerImpl(); |
||
273 | } |
||
274 | public static AssessmentQuestionAnswerImpl createAssessmentQuestionAnswerImpl() |
||
275 | { |
||
276 | return new AssessmentQuestionAnswerImpl(); |
||
277 | } |
||
278 | public static AssessmentResponseImpl createAssessmentResponseImpl() |
||
279 | { |
||
280 | return new AssessmentResponseImpl(); |
||
281 | } |
||
850 | jmachado | 282 | |
851 | jmachado | 283 | public static MetaProcessImpl createMetaProcessImpl() |
850 | jmachado | 284 | { |
851 | jmachado | 285 | return new MetaProcessImpl(); |
286 | } |
||
287 | public static ProcessImpl createProcessImpl() |
||
288 | { |
||
850 | jmachado | 289 | return new ProcessImpl(); |
290 | } |
||
851 | jmachado | 291 | public static ProcessEventImpl createProcessEventImpl() |
850 | jmachado | 292 | { |
293 | return new ProcessEventImpl(); |
||
294 | } |
||
851 | jmachado | 295 | public static ProcessEventFileImpl createProcessEventFileImpl() |
850 | jmachado | 296 | { |
297 | return new ProcessEventFileImpl(); |
||
298 | } |
||
863 | jmachado | 299 | |
300 | public static DigitalDeliveryImpl createDigitalDeliveryImpl() |
||
301 | { |
||
302 | return new DigitalDeliveryImpl(); |
||
303 | } |
||
304 | |||
305 | public static DigitalDeliveryCategoryImpl createDigitalDeliveryCategoryImpl() |
||
306 | { |
||
307 | return new DigitalDeliveryCategoryImpl(); |
||
308 | } |
||
309 | |||
310 | public static DigitalDeliveryTargetImpl createDigitalDeliveryTargetImpl() |
||
311 | { |
||
312 | return new DigitalDeliveryTargetImpl(); |
||
313 | } |
||
881 | jmachado | 314 | |
315 | public static CourseUnitEvaluationImpl createCourseUnitEvaluationImpl() |
||
316 | { |
||
317 | return new CourseUnitEvaluationImpl(); |
||
318 | } |
||
995 | jmachado | 319 | |
320 | public static JobServiceTaskImpl createJobServiceTaskImpl() |
||
321 | { |
||
322 | return new JobServiceTaskImpl(); |
||
323 | } |
||
324 | |||
325 | public static JobServiceTaskSchedulerImpl createJobServiceTaskSchedulerImpl() |
||
326 | { |
||
327 | return new JobServiceTaskSchedulerImpl(); |
||
328 | } |
||
329 | |||
330 | |||
331 | public static JobServiceTaskParameterImpl createJobServiceTaskParameterImpl() |
||
332 | { |
||
333 | return new JobServiceTaskParameterImpl(); |
||
334 | } |
||
335 | |||
336 | public static JobServiceTaskSchedulerParameterImpl createJobServiceTaskSchedulerParameterImpl() |
||
337 | { |
||
338 | return new JobServiceTaskSchedulerParameterImpl(); |
||
339 | } |
||
1048 | jmachado | 340 | |
341 | public static ConfigurationGradesImpl createConfigurationGradesImpl() |
||
342 | { |
||
343 | return new ConfigurationGradesImpl(); |
||
344 | } |
||
345 | |||
346 | public static ConfigurationGradesStatusEpocaImpl createConfigurationGradesStatusEpocaImpl() |
||
347 | { |
||
348 | return new ConfigurationGradesStatusEpocaImpl(); |
||
349 | } |
||
350 | |||
351 | public static ConfigurationGradesEpocaAvaliacaoImpl createConfigurationGradesEpocaAvaliacaoImpl() |
||
352 | { |
||
353 | return new ConfigurationGradesEpocaAvaliacaoImpl(); |
||
354 | } |
||
1069 | jmachado | 355 | |
356 | public static ConfigurationDirectoryImpl createConfigurationDirectoryImpl() |
||
357 | { |
||
358 | return new ConfigurationDirectoryImpl(); |
||
359 | } |
||
1283 | jmachado | 360 | |
361 | public static UserRoleConfigImpl createUserRoleConfigImpl() |
||
362 | { |
||
363 | return new UserRoleConfigImpl(); |
||
364 | } |
||
1312 | jmachado | 365 | |
366 | public static PageImpl createPageImpl() |
||
367 | { |
||
368 | return new PageImpl(); |
||
369 | } |
||
370 | |||
371 | public static PageSectionImpl createPageSectionImpl() |
||
372 | { |
||
373 | return new PageSectionImpl(); |
||
374 | } |
||
375 | |||
376 | public static PageRepositoryFileImpl createPageRepositoryImpl() |
||
377 | { |
||
378 | return new PageRepositoryFileImpl(); |
||
379 | } |
||
380 | |||
381 | public static PageExternalUrlImpl createPageExternalUrlImpl() |
||
382 | { |
||
383 | return new PageExternalUrlImpl(); |
||
384 | } |
||
385 | |||
386 | public static CourseUnitTurmaImpl createCourseUnitTurmaImpl() { |
||
387 | return new CourseUnitTurmaImpl(); |
||
388 | } |
||
389 | |||
390 | public static CourseYearImpl createCourseYearImpl() { |
||
391 | return new CourseYearImpl(); |
||
392 | } |
||
1314 | jmachado | 393 | |
394 | public static QuestionarioImpl createQuestionarioImpl() { |
||
395 | return new QuestionarioImpl(); |
||
396 | } |
||
1325 | jmachado | 397 | |
398 | public static QuestionarioHistoryDriveImpl createQuestionarioHistoryDriveImpl() { |
||
399 | return new QuestionarioHistoryDriveImpl(); |
||
400 | } |
||
1332 | jmachado | 401 | |
402 | public static QuestionarioPedagogicoCursoAfetoImpl createQuestionarioPedagogicoCursoAfeto() { |
||
403 | return new QuestionarioPedagogicoCursoAfetoImpl(); |
||
404 | } |
||
405 | public static QuestionarioPedagogicoUnidadeCurricularAfetaImpl createQuestionarioPedagogicoUnidadeCurricularAfeta() { |
||
406 | return new QuestionarioPedagogicoUnidadeCurricularAfetaImpl(); |
||
407 | } |
||
1336 | jmachado | 408 | public static QuestionarioPedagogicoTipologiaRequisitadaImpl createQuestionarioPedagogicoTipologiaRequisitadaImpl() { |
409 | return new QuestionarioPedagogicoTipologiaRequisitadaImpl(); |
||
410 | } |
||
411 | public static QuestionarioPedagogicoAlunoRequisitadoImpl createQuestionarioPedagogicoAlunoRequisitadoImpl() { |
||
412 | return new QuestionarioPedagogicoAlunoRequisitadoImpl(); |
||
413 | } |
||
1350 | jmachado | 414 | |
415 | public static ConfigurationImpl createConfigurationImpl() { |
||
416 | return new ConfigurationImpl(); |
||
417 | } |
||
1387 | jmachado | 418 | |
419 | public static QuestionarioRespostaRequisitadaImpl createQuestionarioRespostaRequisitadaImpl(){ |
||
420 | return new QuestionarioRespostaRequisitadaImpl(); |
||
421 | } |
||
1407 | jmachado | 422 | |
423 | public static QuestionarioRespostaImpl createQuestionarioRespostaImpl() { |
||
424 | return new QuestionarioRespostaImpl(); |
||
425 | } |
||
1 | fvelez | 426 | } |