1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.student.lum.lu.dto; |
18 |
|
|
19 |
|
import org.kuali.student.core.dto.HasAttributes; |
20 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
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 |
|
import java.io.Serializable; |
28 |
|
import java.util.HashMap; |
29 |
|
import java.util.List; |
30 |
|
import java.util.Map; |
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 7 |
Complexity Density: 0.88 |
|
38 |
|
public class CluAccountingInfo implements Serializable, HasAttributes { |
39 |
|
|
40 |
|
private static final long serialVersionUID = 1L; |
41 |
|
|
42 |
|
@XmlElement |
43 |
|
private List<AffiliatedOrgInfo> affiliatedOrgs; |
44 |
|
|
45 |
|
@XmlElement |
46 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
47 |
|
private Map<String, String> attributes; |
48 |
|
|
49 |
|
@XmlAttribute |
50 |
|
private String id; |
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
57 |
0
|
public Map<String, String> getAttributes() {... |
58 |
|
|
59 |
0
|
if (attributes == null) { |
60 |
0
|
attributes = new HashMap<String, String>(); |
61 |
|
} |
62 |
|
|
63 |
0
|
return attributes; |
64 |
|
} |
65 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
66 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
67 |
0
|
this.attributes = attributes; |
68 |
|
} |
69 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
0
|
public List<AffiliatedOrgInfo> getAffiliatedOrgs() {... |
71 |
0
|
return affiliatedOrgs; |
72 |
|
} |
73 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
0
|
public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) {... |
75 |
0
|
this.affiliatedOrgs = affiliatedOrgs; |
76 |
|
} |
77 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
0
|
public String getId() {... |
79 |
0
|
return id; |
80 |
|
} |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0
|
public void setId(String id) {... |
83 |
0
|
this.id = id; |
84 |
|
} |
85 |
|
} |