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.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.core.dto.HasAttributes; |
29 |
|
import org.kuali.student.core.dto.Idable; |
30 |
|
import org.kuali.student.core.dto.MetaInfo; |
31 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 28 (28) |
Complexity: 13 |
Complexity Density: 0.93 |
|
37 |
|
public class LuCodeInfo implements Serializable, Idable, HasAttributes { |
38 |
|
|
39 |
|
private static final long serialVersionUID = 1L; |
40 |
|
|
41 |
|
@XmlElement |
42 |
|
private String descr; |
43 |
|
|
44 |
|
@XmlAttribute |
45 |
|
private String type; |
46 |
|
|
47 |
|
@XmlElement |
48 |
|
private String value; |
49 |
|
|
50 |
|
@XmlElement |
51 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
52 |
|
private Map<String, String> attributes; |
53 |
|
|
54 |
|
@XmlElement |
55 |
|
private MetaInfo metaInfo; |
56 |
|
|
57 |
|
@XmlAttribute |
58 |
|
private String id; |
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public String getDescr() {... |
64 |
0
|
return descr; |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public void setDescr(String descr) {... |
68 |
0
|
this.descr = descr; |
69 |
|
} |
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
0
|
public void setType(String type) {... |
75 |
0
|
this.type = type; |
76 |
|
} |
77 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
0
|
public String getType() {... |
79 |
0
|
return type; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public String getValue() {... |
86 |
0
|
return value; |
87 |
|
} |
88 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
89 |
0
|
public void setValue(String value) {... |
90 |
0
|
this.value = value; |
91 |
|
} |
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
96 |
0
|
@Override... |
97 |
|
public Map<String, String> getAttributes() { |
98 |
0
|
if (attributes == null) { |
99 |
0
|
attributes = new HashMap<String, String>(); |
100 |
|
} |
101 |
0
|
return attributes; |
102 |
|
} |
103 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
104 |
0
|
@Override... |
105 |
|
public void setAttributes(Map<String, String> attributes) { |
106 |
0
|
this.attributes = attributes; |
107 |
|
} |
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
112 |
0
|
public MetaInfo getMetaInfo() {... |
113 |
0
|
return metaInfo; |
114 |
|
} |
115 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
117 |
0
|
this.metaInfo = metaInfo; |
118 |
|
} |
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
123 |
0
|
@Override... |
124 |
|
public String getId() { |
125 |
0
|
return id; |
126 |
|
} |
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0
|
@Override... |
129 |
|
public void setId(String id) { |
130 |
0
|
this.id = id; |
131 |
|
} |
132 |
|
} |