Rev 1306 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
343 | jmachado | 1 | package pt.estgp.estgweb.services.courseunits; |
2 | |||
1040 | jmachado | 3 | import jomm.utils.AutoFillArrayList; |
343 | jmachado | 4 | import pt.estgp.estgweb.domain.views.CourseView; |
5 | |||
6 | import java.util.List; |
||
7 | |||
8 | /** |
||
9 | * @author Jorge Machado |
||
10 | * @date 24/Out/2008 |
||
11 | * @see pt.estgp.estgweb.services.courseunits |
||
12 | */ |
||
13 | public class DirectedCoordinatedCourses |
||
14 | { |
||
15 | private List<CourseView> directedCourses; |
||
16 | private List<CourseView> coordinatedCourses; |
||
17 | private List<CourseView> merge; |
||
18 | private int updated; |
||
19 | private int missing; |
||
376 | jmachado | 20 | private 1.5.0/docs/api/java/lang/String.html">String area; |
21 | private long courseId; |
||
343 | jmachado | 22 | |
23 | public DirectedCoordinatedCourses() |
||
24 | { |
||
376 | jmachado | 25 | |
343 | jmachado | 26 | } |
27 | |||
28 | public List<CourseView> getDirectedCourses() |
||
29 | { |
||
30 | return directedCourses; |
||
31 | } |
||
32 | |||
33 | public void setDirectedCourses(List<CourseView> directedCourses) |
||
34 | { |
||
35 | this.directedCourses = directedCourses; |
||
36 | } |
||
37 | |||
38 | public List<CourseView> getCoordinatedCourses() |
||
39 | { |
||
40 | return coordinatedCourses; |
||
41 | } |
||
42 | |||
43 | public void setCoordinatedCourses(List<CourseView> coordinatedCourses) |
||
44 | { |
||
45 | this.coordinatedCourses = coordinatedCourses; |
||
46 | } |
||
47 | |||
48 | public int getUpdated() |
||
49 | { |
||
50 | return updated; |
||
51 | } |
||
52 | |||
53 | public void setUpdated(int updated) |
||
54 | { |
||
55 | this.updated = updated; |
||
56 | } |
||
57 | |||
58 | |||
59 | public int getMissing() |
||
60 | { |
||
61 | return missing; |
||
62 | } |
||
63 | |||
64 | public void setMissing(int missing) |
||
65 | { |
||
66 | this.missing = missing; |
||
67 | } |
||
68 | |||
69 | |||
70 | public void setMerge(List<CourseView> merge) |
||
71 | { |
||
72 | this.merge = merge; |
||
73 | } |
||
74 | |||
75 | public List<CourseView> getMerge() |
||
76 | { |
||
77 | if(merge == null) |
||
1040 | jmachado | 78 | merge = new AutoFillArrayList<CourseView>(CourseView.class); |
79 | //merge = new ArrayList<CourseView>(); |
||
343 | jmachado | 80 | return merge; |
81 | } |
||
82 | |||
83 | |||
376 | jmachado | 84 | public 1.5.0/docs/api/java/lang/String.html">String getArea() |
85 | { |
||
86 | return area; |
||
87 | } |
||
343 | jmachado | 88 | |
376 | jmachado | 89 | public void setArea(1.5.0/docs/api/java/lang/String.html">String area) |
90 | { |
||
91 | this.area = area; |
||
92 | } |
||
93 | |||
94 | |||
95 | public long getCourseId() |
||
96 | { |
||
97 | return courseId; |
||
98 | } |
||
99 | |||
100 | public void setCourseId(long courseId) |
||
101 | { |
||
102 | this.courseId = courseId; |
||
103 | } |
||
343 | jmachado | 104 | } |