1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.lu.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.Date; |
21 |
|
import java.util.HashMap; |
22 |
|
import java.util.List; |
23 |
|
import java.util.Map; |
24 |
|
|
25 |
|
import javax.xml.bind.annotation.XmlAccessType; |
26 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
27 |
|
import javax.xml.bind.annotation.XmlAttribute; |
28 |
|
import javax.xml.bind.annotation.XmlElement; |
29 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 |
|
|
31 |
|
import org.kuali.student.common.dto.HasAttributes; |
32 |
|
import org.kuali.student.common.dto.Idable; |
33 |
|
import org.kuali.student.common.dto.MetaInfo; |
34 |
|
import org.kuali.student.common.dto.RichTextInfo; |
35 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 72 (72) |
Complexity: 33 |
Complexity Density: 0.92 |
|
41 |
|
public class CluSetInfo implements Serializable, Idable, HasAttributes { |
42 |
|
|
43 |
|
private static final long serialVersionUID = 1L; |
44 |
|
|
45 |
|
@XmlElement |
46 |
|
private String name; |
47 |
|
|
48 |
|
@XmlElement |
49 |
|
private RichTextInfo descr; |
50 |
|
|
51 |
|
@XmlElement |
52 |
|
private Date effectiveDate; |
53 |
|
|
54 |
|
@XmlElement |
55 |
|
private Date expirationDate; |
56 |
|
|
57 |
|
@XmlElement |
58 |
|
private MembershipQueryInfo membershipQuery; |
59 |
|
|
60 |
|
@XmlElement |
61 |
|
private String adminOrg; |
62 |
|
|
63 |
|
@XmlElement |
64 |
|
private Boolean isReusable; |
65 |
|
|
66 |
|
@XmlElement |
67 |
|
private Boolean isReferenceable; |
68 |
|
|
69 |
|
@XmlElement |
70 |
|
private List<String> cluSetIds; |
71 |
|
|
72 |
|
@XmlElement |
73 |
|
private List<String> cluIds; |
74 |
|
|
75 |
|
@XmlElement |
76 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
77 |
|
private Map<String, String> attributes; |
78 |
|
|
79 |
|
@XmlElement |
80 |
|
private MetaInfo metaInfo; |
81 |
|
|
82 |
|
@XmlAttribute |
83 |
|
private String type; |
84 |
|
|
85 |
|
@XmlAttribute |
86 |
|
private String state; |
87 |
|
|
88 |
|
@XmlAttribute |
89 |
|
private String id; |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
0
|
public String getName() {... |
95 |
0
|
return name; |
96 |
|
} |
97 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
98 |
0
|
public void setName(String name) {... |
99 |
0
|
this.name = name; |
100 |
|
} |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
105 |
0
|
public RichTextInfo getDescr() {... |
106 |
0
|
return descr; |
107 |
|
} |
108 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
0
|
public void setDescr(RichTextInfo descr) {... |
110 |
0
|
this.descr = descr; |
111 |
|
} |
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
0
|
public Date getEffectiveDate() {... |
117 |
0
|
return effectiveDate; |
118 |
|
} |
119 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
120 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
121 |
0
|
this.effectiveDate = effectiveDate; |
122 |
|
} |
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
0
|
public Date getExpirationDate() {... |
128 |
0
|
return expirationDate; |
129 |
|
} |
130 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
0
|
public void setExpirationDate(Date expirationDate) {... |
132 |
0
|
this.expirationDate = expirationDate; |
133 |
|
} |
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
149 |
0
|
public List<String> getCluSetIds() {... |
150 |
0
|
if (cluSetIds == null) { |
151 |
0
|
cluSetIds = new ArrayList<String>(); |
152 |
|
} |
153 |
0
|
return cluSetIds; |
154 |
|
} |
155 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
156 |
0
|
public void setCluSetIds(List<String> cluSetIds) {... |
157 |
0
|
this.cluSetIds = cluSetIds; |
158 |
|
} |
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
163 |
0
|
public List<String> getCluIds() {... |
164 |
0
|
if (cluIds == null) { |
165 |
0
|
cluIds = new ArrayList<String>(); |
166 |
|
} |
167 |
0
|
return cluIds; |
168 |
|
} |
169 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
0
|
public void setCluIds(List<String> cluIds) {... |
171 |
0
|
this.cluIds = cluIds; |
172 |
|
} |
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
177 |
0
|
public Map<String, String> getAttributes() {... |
178 |
0
|
if (attributes == null) { |
179 |
0
|
attributes = new HashMap<String, String>(); |
180 |
|
} |
181 |
0
|
return attributes; |
182 |
|
} |
183 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
184 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
185 |
0
|
this.attributes = attributes; |
186 |
|
} |
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
191 |
0
|
public MetaInfo getMetaInfo() {... |
192 |
0
|
return metaInfo; |
193 |
|
} |
194 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
195 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
196 |
0
|
this.metaInfo = metaInfo; |
197 |
|
} |
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
202 |
0
|
public String getId() {... |
203 |
0
|
return id; |
204 |
|
} |
205 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
206 |
0
|
public void setId(String id) {... |
207 |
0
|
this.id = id; |
208 |
|
} |
209 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
210 |
0
|
public MembershipQueryInfo getMembershipQuery() {... |
211 |
0
|
return membershipQuery; |
212 |
|
} |
213 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
214 |
0
|
public void setMembershipQuery(MembershipQueryInfo membershipQuery) {... |
215 |
0
|
this.membershipQuery = membershipQuery; |
216 |
|
} |
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
@return |
223 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
224 |
0
|
public String getType() {... |
225 |
0
|
return type; |
226 |
|
} |
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
@param |
233 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
234 |
0
|
public void setType(String type) {... |
235 |
0
|
this.type = type; |
236 |
|
} |
237 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
238 |
0
|
public String getState() {... |
239 |
0
|
return state; |
240 |
|
} |
241 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
242 |
0
|
public void setState(String state) {... |
243 |
0
|
this.state = state; |
244 |
|
} |
245 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
246 |
0
|
public String getAdminOrg() {... |
247 |
0
|
return adminOrg; |
248 |
|
} |
249 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
250 |
0
|
public void setAdminOrg(String adminOrg) {... |
251 |
0
|
this.adminOrg = adminOrg; |
252 |
|
} |
253 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
254 |
0
|
public Boolean getIsReusable() {... |
255 |
0
|
return isReusable; |
256 |
|
} |
257 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
258 |
0
|
public void setIsReusable(Boolean isReusable) {... |
259 |
0
|
this.isReusable = isReusable; |
260 |
|
} |
261 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
262 |
0
|
public Boolean getIsReferenceable() {... |
263 |
0
|
return isReferenceable; |
264 |
|
} |
265 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
266 |
0
|
public void setIsReferenceable(Boolean isReferenceable) {... |
267 |
0
|
this.isReferenceable = isReferenceable; |
268 |
|
} |
269 |
|
} |