Rev 203 | Rev 219 | 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 | |
215 | jmachado | 11 | |
12 | /*Managed Identifiers*/ |
||
13 | public static ManagedIdentifierImpl createManagedIdentifierImpl() |
||
14 | { |
||
15 | return new ManagedIdentifierImpl(); |
||
16 | } |
||
17 | public static ManagedIdentifierCollectionImpl createManagedIdentifierCollectionImpl() |
||
18 | { |
||
19 | return new ManagedIdentifierCollectionImpl(); |
||
20 | } |
||
21 | |||
22 | /*Profile Records*/ |
||
23 | public static RecordJobImpl createRecordJobImpl() |
||
24 | { |
||
25 | return new RecordJobImpl(); |
||
26 | } |
||
27 | public static RecordEventOrganizationImpl createRecordEventOrganizationImpl() |
||
28 | { |
||
29 | return new RecordEventOrganizationImpl(); |
||
30 | } |
||
31 | public static RecordThesisImpl createRecordThesisImpl() |
||
32 | { |
||
33 | return new RecordThesisImpl(); |
||
34 | } |
||
35 | public static RecordProjectImpl createRecordProjectImpl() |
||
36 | { |
||
37 | return new RecordProjectImpl(); |
||
38 | } |
||
39 | public static RecordPaperImpl createRecordPaperImpl() |
||
40 | { |
||
41 | return new RecordPaperImpl(); |
||
42 | } |
||
43 | public static RecordOtherImpl createRecordOtherImpl() |
||
44 | { |
||
45 | return new RecordOtherImpl(); |
||
46 | } |
||
47 | |||
48 | |||
49 | |||
1 | fvelez | 50 | public static AnnouncementImpl createAnnouncementImpl() |
51 | { |
||
52 | return new AnnouncementImpl(); |
||
53 | } |
||
54 | |||
202 | jmachado | 55 | public static CourseUnitAnnouncementImpl createCourseUnitAnnouncementImpl() |
56 | { |
||
57 | return new CourseUnitAnnouncementImpl(); |
||
58 | } |
||
59 | |||
1 | fvelez | 60 | public static CourseImpl createCourseImpl() |
61 | { |
||
62 | return new CourseImpl(); |
||
63 | } |
||
64 | |||
65 | public static CourseUserAssociationImpl createCourseUserAssociationImpl() |
||
66 | { |
||
67 | return new CourseUserAssociationImpl(); |
||
68 | } |
||
69 | |||
70 | public static ImageImpl createImageImpl() |
||
71 | { |
||
72 | return new ImageImpl(); |
||
73 | } |
||
74 | |||
75 | public static SessionObjectImpl createSessionObjectImpl() |
||
76 | { |
||
77 | return new SessionObjectImpl(); |
||
78 | } |
||
79 | |||
80 | public static SessionObjectIdImpl createSessionObjectIdImpl() |
||
81 | { |
||
82 | return new SessionObjectIdImpl(); |
||
83 | } |
||
84 | |||
85 | public static UserImpl createUserImpl() |
||
86 | { |
||
87 | return new UserImpl(); |
||
88 | } |
||
89 | |||
90 | public static GroupImpl createGroupImpl() |
||
91 | { |
||
92 | return new GroupImpl(); |
||
93 | } |
||
94 | |||
95 | public static UserSessionImpl createUserSessionImpl() |
||
96 | { |
||
97 | return new UserSessionImpl(); |
||
98 | } |
||
12 | jmachado | 99 | |
100 | public static UrlStatImpl createUrlStatImpl() |
||
101 | { |
||
102 | return new UrlStatImpl(); |
||
103 | } |
||
104 | |||
105 | public static UrlStatYearImpl createUrlStatYearImpl() |
||
106 | { |
||
107 | return new UrlStatYearImpl(); |
||
108 | } |
||
109 | |||
110 | public static UrlStatMonthImpl createUrlStatMonthImpl() |
||
111 | { |
||
112 | return new UrlStatMonthImpl(); |
||
113 | } |
||
18 | jmachado | 114 | |
115 | public static UrlStatDayImpl createUrlStatDayImpl() |
||
116 | { |
||
117 | return new UrlStatDayImpl(); |
||
118 | } |
||
58 | jmachado | 119 | |
120 | public static TesteImpl createTesteImpl() |
||
121 | { |
||
122 | return new TesteImpl(); |
||
123 | } |
||
124 | |||
110 | susana | 125 | public static BlogImpl createBlogImpl() |
75 | jmachado | 126 | { |
127 | return new BlogImpl(); |
||
128 | } |
||
129 | |||
146 | jmachado | 130 | public static CourseUnitBlogImpl createCourseUnitBlogImpl() |
131 | { |
||
132 | return new CourseUnitBlogImpl(); |
||
133 | } |
||
134 | |||
110 | susana | 135 | public static BlogPostImpl createBlogPostImpl() |
75 | jmachado | 136 | { |
137 | return new BlogPostImpl(); |
||
138 | } |
||
139 | |||
202 | jmachado | 140 | public static CourseUnitBlogPostImpl createCourseUnitBlogPostImpl() |
141 | { |
||
142 | return new CourseUnitBlogPostImpl(); |
||
143 | } |
||
144 | |||
110 | susana | 145 | public static CourseUnitImpl createCourseUnitImpl() |
146 | { |
||
147 | return new CourseUnitImpl(); |
||
148 | } |
||
114 | jmachado | 149 | |
150 | public static TeacherImpl createTeacherImpl() |
||
151 | { |
||
152 | return new TeacherImpl(); |
||
153 | } |
||
154 | |||
155 | public static StudentImpl createStudentImpl() |
||
156 | { |
||
157 | return new StudentImpl(); |
||
158 | } |
||
163 | jmachado | 159 | |
160 | public static ReminderImpl createReminderImpl() |
||
161 | { |
||
162 | return new ReminderImpl(); |
||
163 | } |
||
203 | jmachado | 164 | |
165 | public static CourseUnitDeliverableImpl createCourseUnitDeliverableImpl() |
||
166 | { |
||
167 | return new CourseUnitDeliverableImpl(); |
||
168 | } |
||
169 | |||
170 | public static CourseUnitAssignementImpl createCourseUnitAssignementImpl() |
||
171 | { |
||
172 | return new CourseUnitAssignementImpl(); |
||
173 | } |
||
174 | |||
175 | public static CourseUnitQuestionImpl createCourseUnitQuestionImpl() |
||
176 | { |
||
177 | return new CourseUnitQuestionImpl(); |
||
178 | } |
||
179 | |||
180 | public static RepositoryFileImpl createRepositoryFileImpl() |
||
181 | { |
||
182 | return new RepositoryFileImpl(); |
||
183 | } |
||
184 | |||
185 | public static RepositoryFileVersionImpl createRepositoryFileVersionImpl() |
||
186 | { |
||
187 | return new RepositoryFileVersionImpl(); |
||
188 | } |
||
1 | fvelez | 189 | } |