Rev 18 | Rev 75 | 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 | |||
16 | public static CourseImpl createCourseImpl() |
||
17 | { |
||
18 | return new CourseImpl(); |
||
19 | } |
||
20 | |||
21 | public static CourseUserAssociationImpl createCourseUserAssociationImpl() |
||
22 | { |
||
23 | return new CourseUserAssociationImpl(); |
||
24 | } |
||
25 | |||
26 | public static ImageImpl createImageImpl() |
||
27 | { |
||
28 | return new ImageImpl(); |
||
29 | } |
||
30 | |||
31 | public static SessionObjectImpl createSessionObjectImpl() |
||
32 | { |
||
33 | return new SessionObjectImpl(); |
||
34 | } |
||
35 | |||
36 | public static SessionObjectIdImpl createSessionObjectIdImpl() |
||
37 | { |
||
38 | return new SessionObjectIdImpl(); |
||
39 | } |
||
40 | |||
41 | public static UserImpl createUserImpl() |
||
42 | { |
||
43 | return new UserImpl(); |
||
44 | } |
||
45 | |||
46 | public static GroupImpl createGroupImpl() |
||
47 | { |
||
48 | return new GroupImpl(); |
||
49 | } |
||
50 | |||
51 | public static UserSessionImpl createUserSessionImpl() |
||
52 | { |
||
53 | return new UserSessionImpl(); |
||
54 | } |
||
12 | jmachado | 55 | |
56 | public static UrlStatImpl createUrlStatImpl() |
||
57 | { |
||
58 | return new UrlStatImpl(); |
||
59 | } |
||
60 | |||
61 | public static UrlStatYearImpl createUrlStatYearImpl() |
||
62 | { |
||
63 | return new UrlStatYearImpl(); |
||
64 | } |
||
65 | |||
66 | public static UrlStatMonthImpl createUrlStatMonthImpl() |
||
67 | { |
||
68 | return new UrlStatMonthImpl(); |
||
69 | } |
||
18 | jmachado | 70 | |
71 | public static UrlStatDayImpl createUrlStatDayImpl() |
||
72 | { |
||
73 | return new UrlStatDayImpl(); |
||
74 | } |
||
58 | jmachado | 75 | |
76 | public static TesteImpl createTesteImpl() |
||
77 | { |
||
78 | return new TesteImpl(); |
||
79 | } |
||
80 | |||
1 | fvelez | 81 | } |