Rev 202 | Rev 215 | 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 | |
1 | fvelez | 11 | public static AnnouncementImpl createAnnouncementImpl() |
12 | { |
||
13 | return new AnnouncementImpl(); |
||
14 | } |
||
15 | |||
202 | jmachado | 16 | public static CourseUnitAnnouncementImpl createCourseUnitAnnouncementImpl() |
17 | { |
||
18 | return new CourseUnitAnnouncementImpl(); |
||
19 | } |
||
20 | |||
1 | fvelez | 21 | public static CourseImpl createCourseImpl() |
22 | { |
||
23 | return new CourseImpl(); |
||
24 | } |
||
25 | |||
26 | public static CourseUserAssociationImpl createCourseUserAssociationImpl() |
||
27 | { |
||
28 | return new CourseUserAssociationImpl(); |
||
29 | } |
||
30 | |||
31 | public static ImageImpl createImageImpl() |
||
32 | { |
||
33 | return new ImageImpl(); |
||
34 | } |
||
35 | |||
36 | public static SessionObjectImpl createSessionObjectImpl() |
||
37 | { |
||
38 | return new SessionObjectImpl(); |
||
39 | } |
||
40 | |||
41 | public static SessionObjectIdImpl createSessionObjectIdImpl() |
||
42 | { |
||
43 | return new SessionObjectIdImpl(); |
||
44 | } |
||
45 | |||
46 | public static UserImpl createUserImpl() |
||
47 | { |
||
48 | return new UserImpl(); |
||
49 | } |
||
50 | |||
51 | public static GroupImpl createGroupImpl() |
||
52 | { |
||
53 | return new GroupImpl(); |
||
54 | } |
||
55 | |||
56 | public static UserSessionImpl createUserSessionImpl() |
||
57 | { |
||
58 | return new UserSessionImpl(); |
||
59 | } |
||
12 | jmachado | 60 | |
61 | public static UrlStatImpl createUrlStatImpl() |
||
62 | { |
||
63 | return new UrlStatImpl(); |
||
64 | } |
||
65 | |||
66 | public static UrlStatYearImpl createUrlStatYearImpl() |
||
67 | { |
||
68 | return new UrlStatYearImpl(); |
||
69 | } |
||
70 | |||
71 | public static UrlStatMonthImpl createUrlStatMonthImpl() |
||
72 | { |
||
73 | return new UrlStatMonthImpl(); |
||
74 | } |
||
18 | jmachado | 75 | |
76 | public static UrlStatDayImpl createUrlStatDayImpl() |
||
77 | { |
||
78 | return new UrlStatDayImpl(); |
||
79 | } |
||
58 | jmachado | 80 | |
81 | public static TesteImpl createTesteImpl() |
||
82 | { |
||
83 | return new TesteImpl(); |
||
84 | } |
||
85 | |||
110 | susana | 86 | public static BlogImpl createBlogImpl() |
75 | jmachado | 87 | { |
88 | return new BlogImpl(); |
||
89 | } |
||
90 | |||
146 | jmachado | 91 | public static CourseUnitBlogImpl createCourseUnitBlogImpl() |
92 | { |
||
93 | return new CourseUnitBlogImpl(); |
||
94 | } |
||
95 | |||
110 | susana | 96 | public static BlogPostImpl createBlogPostImpl() |
75 | jmachado | 97 | { |
98 | return new BlogPostImpl(); |
||
99 | } |
||
100 | |||
202 | jmachado | 101 | public static CourseUnitBlogPostImpl createCourseUnitBlogPostImpl() |
102 | { |
||
103 | return new CourseUnitBlogPostImpl(); |
||
104 | } |
||
105 | |||
110 | susana | 106 | public static CourseUnitImpl createCourseUnitImpl() |
107 | { |
||
108 | return new CourseUnitImpl(); |
||
109 | } |
||
114 | jmachado | 110 | |
111 | public static TeacherImpl createTeacherImpl() |
||
112 | { |
||
113 | return new TeacherImpl(); |
||
114 | } |
||
115 | |||
116 | public static StudentImpl createStudentImpl() |
||
117 | { |
||
118 | return new StudentImpl(); |
||
119 | } |
||
163 | jmachado | 120 | |
121 | public static ReminderImpl createReminderImpl() |
||
122 | { |
||
123 | return new ReminderImpl(); |
||
124 | } |
||
203 | jmachado | 125 | |
126 | public static CourseUnitDeliverableImpl createCourseUnitDeliverableImpl() |
||
127 | { |
||
128 | return new CourseUnitDeliverableImpl(); |
||
129 | } |
||
130 | |||
131 | public static CourseUnitAssignementImpl createCourseUnitAssignementImpl() |
||
132 | { |
||
133 | return new CourseUnitAssignementImpl(); |
||
134 | } |
||
135 | |||
136 | public static CourseUnitQuestionImpl createCourseUnitQuestionImpl() |
||
137 | { |
||
138 | return new CourseUnitQuestionImpl(); |
||
139 | } |
||
140 | |||
141 | public static RepositoryFileImpl createRepositoryFileImpl() |
||
142 | { |
||
143 | return new RepositoryFileImpl(); |
||
144 | } |
||
145 | |||
146 | public static RepositoryFileVersionImpl createRepositoryFileVersionImpl() |
||
147 | { |
||
148 | return new RepositoryFileVersionImpl(); |
||
149 | } |
||
1 | fvelez | 150 | } |