1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.program.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.HashMap; |
21 |
|
import java.util.List; |
22 |
|
import java.util.Map; |
23 |
|
|
24 |
|
import javax.xml.bind.annotation.XmlAccessType; |
25 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
26 |
|
import javax.xml.bind.annotation.XmlAttribute; |
27 |
|
import javax.xml.bind.annotation.XmlElement; |
28 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
29 |
|
|
30 |
|
import org.kuali.student.core.dto.HasAttributes; |
31 |
|
import org.kuali.student.core.dto.HasTypeState; |
32 |
|
import org.kuali.student.core.dto.Idable; |
33 |
|
import org.kuali.student.core.dto.MetaInfo; |
34 |
|
import org.kuali.student.core.dto.RichTextInfo; |
35 |
|
import org.kuali.student.core.versionmanagement.dto.VersionInfo; |
36 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
37 |
|
import org.kuali.student.lum.course.dto.LoDisplayInfo; |
38 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramAtpAssembly; |
39 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramBasicOrgAssembly; |
40 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramCodeAssembly; |
41 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramCommonAssembly; |
42 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramIdentifierAssembly; |
43 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramPublicationAssembly; |
44 |
|
import org.kuali.student.lum.program.dto.assembly.ProgramRequirementAssembly; |
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 98.3% |
Uncovered Elements: 2 (119) |
Complexity: 60 |
Complexity Density: 1.05 |
|
56 |
|
public class CoreProgramInfo implements Serializable, Idable, HasTypeState, HasAttributes, ProgramCommonAssembly, ProgramBasicOrgAssembly, ProgramAtpAssembly, |
57 |
|
ProgramCodeAssembly, ProgramIdentifierAssembly, ProgramPublicationAssembly, ProgramRequirementAssembly { |
58 |
|
|
59 |
|
private static final long serialVersionUID = 1L; |
60 |
|
|
61 |
|
@XmlElement |
62 |
|
private String shortTitle; |
63 |
|
|
64 |
|
@XmlElement |
65 |
|
private String longTitle; |
66 |
|
|
67 |
|
@XmlElement |
68 |
|
private String transcriptTitle; |
69 |
|
|
70 |
|
@XmlElement |
71 |
|
private String code; |
72 |
|
|
73 |
|
@XmlElement |
74 |
|
private String universityClassification; |
75 |
|
|
76 |
|
@XmlElement |
77 |
|
private String startTerm; |
78 |
|
|
79 |
|
@XmlElement |
80 |
|
private String endTerm; |
81 |
|
|
82 |
|
@XmlElement |
83 |
|
private String endProgramEntryTerm; |
84 |
|
|
85 |
|
@XmlElement |
86 |
|
private List<String> programRequirements; |
87 |
|
|
88 |
|
@XmlElement |
89 |
|
private List<String> divisionsContentOwner; |
90 |
|
|
91 |
|
@XmlElement |
92 |
|
private List<String> divisionsStudentOversight; |
93 |
|
|
94 |
|
@XmlElement |
95 |
|
private List<String> unitsContentOwner; |
96 |
|
|
97 |
|
@XmlElement |
98 |
|
private List<String> unitsStudentOversight; |
99 |
|
|
100 |
|
@XmlElement |
101 |
|
private RichTextInfo descr; |
102 |
|
|
103 |
|
@XmlElement |
104 |
|
private String referenceURL; |
105 |
|
|
106 |
|
@XmlElement |
107 |
|
private RichTextInfo catalogDescr; |
108 |
|
|
109 |
|
@XmlElement |
110 |
|
private List<String> catalogPublicationTargets; |
111 |
|
|
112 |
|
@XmlElement |
113 |
|
private List<LoDisplayInfo> learningObjectives; |
114 |
|
|
115 |
|
@XmlElement |
116 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
117 |
|
private Map<String, String> attributes; |
118 |
|
|
119 |
|
@XmlElement |
120 |
|
private MetaInfo metaInfo; |
121 |
|
|
122 |
|
@XmlElement |
123 |
|
private VersionInfo versionInfo; |
124 |
|
|
125 |
|
@XmlAttribute |
126 |
|
private String type; |
127 |
|
|
128 |
|
@XmlAttribute |
129 |
|
private String state; |
130 |
|
|
131 |
|
@XmlAttribute |
132 |
|
private String id; |
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
137 |
39
|
public List<String> getProgramRequirements() {... |
138 |
39
|
if (programRequirements == null) { |
139 |
9
|
programRequirements = new ArrayList<String>(0); |
140 |
|
} |
141 |
39
|
return programRequirements; |
142 |
|
} |
143 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
144 |
9
|
public void setProgramRequirements(List<String> programRequirements) {... |
145 |
9
|
this.programRequirements = programRequirements; |
146 |
|
} |
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
|
|
| 60% |
Uncovered Elements: 2 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
151 |
20
|
public Map<String, String> getAttributes() {... |
152 |
20
|
if (attributes == null) { |
153 |
0
|
attributes = new HashMap<String, String>(); |
154 |
|
} |
155 |
20
|
return attributes; |
156 |
|
} |
157 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
43
|
public void setAttributes(Map<String, String> attributes) {... |
159 |
43
|
this.attributes = attributes; |
160 |
|
} |
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
165 |
18
|
public MetaInfo getMetaInfo() {... |
166 |
18
|
return metaInfo; |
167 |
|
} |
168 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
169 |
35
|
public void setMetaInfo(MetaInfo metaInfo) {... |
170 |
35
|
this.metaInfo = metaInfo; |
171 |
|
} |
172 |
|
|
173 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
174 |
5
|
public VersionInfo getVersionInfo() {... |
175 |
5
|
return versionInfo; |
176 |
|
} |
177 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
178 |
43
|
public void setVersionInfo(VersionInfo versionInfo) {... |
179 |
43
|
this.versionInfo = versionInfo; |
180 |
|
} |
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
185 |
23
|
public String getType() {... |
186 |
23
|
return type; |
187 |
|
} |
188 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
189 |
43
|
public void setType(String type) {... |
190 |
43
|
this.type = type; |
191 |
|
} |
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
196 |
86
|
public String getState() {... |
197 |
86
|
return state; |
198 |
|
} |
199 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
200 |
44
|
public void setState(String state) {... |
201 |
44
|
this.state = state; |
202 |
|
} |
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
207 |
99
|
public String getId() {... |
208 |
99
|
return id; |
209 |
|
} |
210 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
211 |
49
|
public void setId(String id) {... |
212 |
49
|
this.id = id; |
213 |
|
} |
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
218 |
23
|
public String getShortTitle() {... |
219 |
23
|
return shortTitle; |
220 |
|
} |
221 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
222 |
44
|
public void setShortTitle(String shortTitle) {... |
223 |
44
|
this.shortTitle = shortTitle; |
224 |
|
} |
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
229 |
23
|
public String getLongTitle() {... |
230 |
23
|
return longTitle; |
231 |
|
} |
232 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
233 |
44
|
public void setLongTitle(String longTitle) {... |
234 |
44
|
this.longTitle = longTitle; |
235 |
|
} |
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
240 |
36
|
public String getTranscriptTitle() {... |
241 |
36
|
return transcriptTitle; |
242 |
|
} |
243 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
244 |
44
|
public void setTranscriptTitle(String transcriptTitle) {... |
245 |
44
|
this.transcriptTitle = transcriptTitle; |
246 |
|
} |
247 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
248 |
16
|
@Override... |
249 |
|
public String getDiplomaTitle() { |
250 |
16
|
return null; |
251 |
|
} |
252 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
253 |
8
|
@Override... |
254 |
|
public void setDiplomaTitle(String diplomaTitle) { |
255 |
|
|
256 |
|
} |
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
261 |
22
|
public String getCode() {... |
262 |
22
|
return code; |
263 |
|
} |
264 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
265 |
44
|
public void setCode(String code) {... |
266 |
44
|
this.code = code; |
267 |
|
} |
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
272 |
18
|
public String getUniversityClassification() {... |
273 |
18
|
return universityClassification; |
274 |
|
} |
275 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
276 |
43
|
public void setUniversityClassification(String universityClassification) {... |
277 |
43
|
this.universityClassification = universityClassification; |
278 |
|
} |
279 |
|
|
280 |
|
|
281 |
|
|
282 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
283 |
18
|
public String getStartTerm() {... |
284 |
18
|
return startTerm; |
285 |
|
} |
286 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
287 |
43
|
public void setStartTerm(String startTerm) {... |
288 |
43
|
this.startTerm = startTerm; |
289 |
|
} |
290 |
|
|
291 |
|
|
292 |
|
|
293 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
294 |
18
|
public String getEndTerm() {... |
295 |
18
|
return endTerm; |
296 |
|
} |
297 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
298 |
43
|
public void setEndTerm(String endTerm) {... |
299 |
43
|
this.endTerm = endTerm; |
300 |
|
} |
301 |
|
|
302 |
|
|
303 |
|
|
304 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
305 |
18
|
public String getEndProgramEntryTerm() {... |
306 |
18
|
return endProgramEntryTerm; |
307 |
|
} |
308 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
309 |
43
|
public void setEndProgramEntryTerm(String endProgramEntryTerm) {... |
310 |
43
|
this.endProgramEntryTerm = endProgramEntryTerm; |
311 |
|
} |
312 |
|
|
313 |
|
|
314 |
|
|
315 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
316 |
67
|
public List<String> getDivisionsContentOwner() {... |
317 |
67
|
return divisionsContentOwner; |
318 |
|
} |
319 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
320 |
43
|
public void setDivisionsContentOwner(List<String> divisionsContentOwner) {... |
321 |
43
|
this.divisionsContentOwner = divisionsContentOwner; |
322 |
|
} |
323 |
|
|
324 |
|
|
325 |
|
|
326 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
327 |
67
|
public List<String> getDivisionsStudentOversight() {... |
328 |
67
|
return divisionsStudentOversight; |
329 |
|
} |
330 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
331 |
43
|
public void setDivisionsStudentOversight(List<String> divisionsStudentOversight) {... |
332 |
43
|
this.divisionsStudentOversight = divisionsStudentOversight; |
333 |
|
} |
334 |
|
|
335 |
|
|
336 |
|
|
337 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
338 |
67
|
public List<String> getUnitsContentOwner() {... |
339 |
67
|
return unitsContentOwner; |
340 |
|
} |
341 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
342 |
43
|
public void setUnitsContentOwner(List<String> unitsContentOwner) {... |
343 |
43
|
this.unitsContentOwner = unitsContentOwner; |
344 |
|
} |
345 |
|
|
346 |
|
|
347 |
|
|
348 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
349 |
67
|
public List<String> getUnitsStudentOversight() {... |
350 |
67
|
return unitsStudentOversight; |
351 |
|
} |
352 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
353 |
43
|
public void setUnitsStudentOversight(List<String> unitsStudentOversight) {... |
354 |
43
|
this.unitsStudentOversight = unitsStudentOversight; |
355 |
|
} |
356 |
|
|
357 |
|
|
358 |
|
|
359 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
360 |
20
|
public RichTextInfo getDescr() {... |
361 |
20
|
return descr; |
362 |
|
} |
363 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
364 |
43
|
public void setDescr(RichTextInfo descr) {... |
365 |
43
|
this.descr = descr; |
366 |
|
} |
367 |
|
|
368 |
|
|
369 |
|
|
370 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
371 |
24
|
public RichTextInfo getCatalogDescr() {... |
372 |
24
|
return catalogDescr; |
373 |
|
} |
374 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
375 |
11
|
public void setCatalogDescr(RichTextInfo catalogDescr) {... |
376 |
11
|
this.catalogDescr = catalogDescr; |
377 |
|
} |
378 |
|
|
379 |
|
|
380 |
|
|
381 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
382 |
28
|
public List<String> getCatalogPublicationTargets() {... |
383 |
28
|
return catalogPublicationTargets; |
384 |
|
} |
385 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
386 |
8
|
public void setCatalogPublicationTargets(List<String> catalogPublicationTargets) {... |
387 |
8
|
this.catalogPublicationTargets = catalogPublicationTargets; |
388 |
|
} |
389 |
|
|
390 |
|
|
391 |
|
|
392 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
393 |
18
|
public String getReferenceURL() {... |
394 |
18
|
return referenceURL; |
395 |
|
} |
396 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
397 |
43
|
public void setReferenceURL(String referenceURL) {... |
398 |
43
|
this.referenceURL = referenceURL; |
399 |
|
} |
400 |
|
|
401 |
|
|
402 |
|
|
403 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
404 |
37
|
public List<LoDisplayInfo> getLearningObjectives() {... |
405 |
37
|
return learningObjectives; |
406 |
|
} |
407 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
408 |
26
|
public void setLearningObjectives(List<LoDisplayInfo> learningObjectives) {... |
409 |
26
|
this.learningObjectives = learningObjectives; |
410 |
|
} |
411 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
412 |
16
|
@Override... |
413 |
|
public String getCip2000Code() { |
414 |
16
|
return null; |
415 |
|
} |
416 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
417 |
8
|
@Override... |
418 |
|
public void setCip2000Code(String cip2000Code) { |
419 |
|
|
420 |
|
} |
421 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
422 |
16
|
@Override... |
423 |
|
public String getCip2010Code() { |
424 |
16
|
return null; |
425 |
|
} |
426 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
427 |
8
|
@Override... |
428 |
|
public void setCip2010Code(String cip2010Code) { |
429 |
|
|
430 |
|
} |
431 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
432 |
16
|
@Override... |
433 |
|
public String getHegisCode() { |
434 |
16
|
return null; |
435 |
|
} |
436 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
437 |
8
|
@Override... |
438 |
|
public void setHegisCode(String hegisCode) { |
439 |
|
|
440 |
|
} |
441 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
442 |
16
|
@Override... |
443 |
|
public String getSelectiveEnrollmentCode() { |
444 |
16
|
return null; |
445 |
|
} |
446 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
447 |
8
|
@Override... |
448 |
|
public void setSelectiveEnrollmentCode(String selectiveEnrollmentCode) { |
449 |
|
|
450 |
|
} |
451 |
|
} |