1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.enrollment.class2.courseoffering.dto;
17
18 import org.kuali.student.r2.lum.course.dto.CourseInfo;
19 import org.kuali.student.r2.lum.course.dto.CourseJointInfo;
20
21 import java.util.ArrayList;
22 import java.util.List;
23
24
25
26
27
28
29
30
31
32 public class JointCourseWrapper {
33
34 private CourseJointInfo courseJointInfo;
35 private CourseInfo courseInfo;
36 private boolean selectedToJointlyOfferred;
37 private boolean alreadyOffered;
38 private boolean enableCreateNewCOActionLink = false;
39
40 private List<FormatOfferingWrapper> formatOfferingWrappers;
41
42 public JointCourseWrapper(){
43 courseJointInfo = new CourseJointInfo();
44 courseInfo = new CourseInfo();
45 formatOfferingWrappers = new ArrayList<FormatOfferingWrapper>();
46 }
47
48
49
50
51
52 @SuppressWarnings("unused")
53 public boolean isAlreadyOffered() {
54 return alreadyOffered;
55 }
56
57
58
59
60
61
62
63
64
65
66 public void setAlreadyOffered(boolean alreadyOffered) {
67 this.alreadyOffered = alreadyOffered;
68 }
69
70
71
72
73
74 public boolean isSelectedToJointlyOfferred() {
75 return selectedToJointlyOfferred;
76 }
77
78
79
80
81
82
83 public void setSelectedToJointlyOfferred(boolean selectedToJointlyOfferred) {
84 this.selectedToJointlyOfferred = selectedToJointlyOfferred;
85 }
86
87
88
89
90
91 @SuppressWarnings("unused")
92 public CourseJointInfo getCourseJointInfo() {
93 return courseJointInfo;
94 }
95
96
97
98
99
100 public void setCourseJointInfo(CourseJointInfo courseJointInfo) {
101 this.courseJointInfo = courseJointInfo;
102 }
103
104
105
106
107
108
109 @SuppressWarnings("unused")
110 public String getCourseTitle(){
111 return courseJointInfo.getCourseTitle();
112 }
113
114
115
116
117
118
119
120 public void setCourseInfo(CourseInfo courseInfo) {
121 this.courseInfo = courseInfo;
122 }
123
124
125
126
127
128
129 public CourseInfo getCourseInfo(){
130 return courseInfo;
131 }
132
133
134
135
136
137
138 public String getCourseCode(){
139 return courseInfo.getCode();
140 }
141
142
143
144
145
146
147 public List<FormatOfferingWrapper> getFormatOfferingWrappers() {
148 return formatOfferingWrappers;
149 }
150
151
152
153
154
155
156 public void setFormatOfferingWrappers(List<FormatOfferingWrapper> formatOfferingWrappers) {
157 this.formatOfferingWrappers = formatOfferingWrappers;
158 }
159
160 public boolean isEnableCreateNewCOActionLink() {
161 return enableCreateNewCOActionLink;
162 }
163
164 public void setEnableCreateNewCOActionLink(boolean enableCreateNewCOActionLink) {
165 this.enableCreateNewCOActionLink = enableCreateNewCOActionLink;
166 }
167
168 }