1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.course.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.HashMap; |
20 |
|
import java.util.Map; |
21 |
|
|
22 |
|
import javax.xml.bind.annotation.XmlAccessType; |
23 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
24 |
|
import javax.xml.bind.annotation.XmlAttribute; |
25 |
|
import javax.xml.bind.annotation.XmlElement; |
26 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
27 |
|
|
28 |
|
import org.kuali.student.common.dto.HasAttributes; |
29 |
|
import org.kuali.student.common.dto.Idable; |
30 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 93.8% |
Uncovered Elements: 2 (32) |
Complexity: 15 |
Complexity Density: 0.94 |
|
42 |
|
public class CourseCrossListingInfo implements Serializable, Idable, HasAttributes { |
43 |
|
|
44 |
|
private static final long serialVersionUID = 1L; |
45 |
|
|
46 |
|
@XmlElement |
47 |
|
private String code; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
private String subjectArea; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private String department; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
private String courseNumberSuffix; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
60 |
|
private Map<String, String> attributes; |
61 |
|
|
62 |
|
@XmlAttribute |
63 |
|
private String type; |
64 |
|
|
65 |
|
@XmlAttribute |
66 |
|
private String id; |
67 |
|
|
68 |
|
|
69 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
3
|
public String getCode() {... |
71 |
3
|
return code; |
72 |
|
} |
73 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
5
|
public void setCode(String code) {... |
75 |
5
|
this.code = code; |
76 |
|
} |
77 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
2
|
public String getSubjectArea() {... |
79 |
2
|
return subjectArea; |
80 |
|
} |
81 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
6
|
public void setSubjectArea(String subjectArea) {... |
83 |
6
|
this.subjectArea = subjectArea; |
84 |
|
} |
85 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
86 |
2
|
public String getDepartment() {... |
87 |
2
|
return department; |
88 |
|
} |
89 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
90 |
4
|
public void setDepartment(String department) {... |
91 |
4
|
this.department = department; |
92 |
|
} |
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
4
|
public String getCourseNumberSuffix() {... |
98 |
4
|
return courseNumberSuffix; |
99 |
|
} |
100 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
101 |
6
|
public void setCourseNumberSuffix(String courseNumberSuffix) {... |
102 |
6
|
this.courseNumberSuffix = courseNumberSuffix; |
103 |
|
} |
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
108 |
3
|
public Map<String, String> getAttributes() {... |
109 |
3
|
if (attributes == null) { |
110 |
1
|
attributes = new HashMap<String, String>(); |
111 |
|
} |
112 |
3
|
return attributes; |
113 |
|
} |
114 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
5
|
public void setAttributes(Map<String, String> attributes) {... |
116 |
5
|
this.attributes = attributes; |
117 |
|
} |
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
0
|
public String getType() {... |
123 |
0
|
return type; |
124 |
|
} |
125 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
126 |
4
|
public void setType(String type) {... |
127 |
4
|
this.type = type; |
128 |
|
} |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
133 |
2
|
public String getId() {... |
134 |
2
|
return id; |
135 |
|
} |
136 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
4
|
public void setId(String id) {... |
138 |
4
|
this.id = id; |
139 |
|
} |
140 |
|
} |