1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.lrc.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.core.dto.HasAttributes; |
32 |
|
import org.kuali.student.core.dto.HasTypeState; |
33 |
|
import org.kuali.student.core.dto.Idable; |
34 |
|
import org.kuali.student.core.dto.MetaInfo; |
35 |
|
import org.kuali.student.core.dto.RichTextInfo; |
36 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 48 (48) |
Complexity: 22 |
Complexity Density: 0.92 |
|
48 |
|
public class ResultComponentInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
49 |
|
|
50 |
|
private static final long serialVersionUID = 1L; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
private String name; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
private RichTextInfo desc; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
private List<String> resultValues; |
60 |
|
|
61 |
|
@XmlElement |
62 |
|
private Date effectiveDate; |
63 |
|
|
64 |
|
@XmlElement |
65 |
|
private Date expirationDate; |
66 |
|
|
67 |
|
@XmlElement |
68 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
69 |
|
private Map<String, String> attributes; |
70 |
|
|
71 |
|
@XmlElement |
72 |
|
private MetaInfo metaInfo; |
73 |
|
|
74 |
|
@XmlAttribute |
75 |
|
private String type; |
76 |
|
|
77 |
|
@XmlAttribute |
78 |
|
private String state; |
79 |
|
|
80 |
|
@XmlAttribute |
81 |
|
private String id; |
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
86 |
0
|
public String getName() {... |
87 |
0
|
return name; |
88 |
|
} |
89 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
90 |
0
|
public void setName(String name) {... |
91 |
0
|
this.name = name; |
92 |
|
} |
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
0
|
public RichTextInfo getDesc() {... |
98 |
0
|
return desc; |
99 |
|
} |
100 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
101 |
0
|
public void setDesc(RichTextInfo desc) {... |
102 |
0
|
this.desc = desc; |
103 |
|
} |
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
108 |
0
|
public List<String> getResultValues() {... |
109 |
0
|
if (resultValues == null) { |
110 |
0
|
resultValues = new ArrayList<String>(0); |
111 |
|
} |
112 |
0
|
return resultValues; |
113 |
|
} |
114 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
0
|
public void setResultValues(List<String> resultValues) {... |
116 |
0
|
this.resultValues = resultValues; |
117 |
|
} |
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
0
|
public Date getEffectiveDate() {... |
123 |
0
|
return effectiveDate; |
124 |
|
} |
125 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
126 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
127 |
0
|
this.effectiveDate = effectiveDate; |
128 |
|
} |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
133 |
0
|
public Date getExpirationDate() {... |
134 |
0
|
return expirationDate; |
135 |
|
} |
136 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
0
|
public void setExpirationDate(Date expirationDate) {... |
138 |
0
|
this.expirationDate = expirationDate; |
139 |
|
} |
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
144 |
0
|
public Map<String, String> getAttributes() {... |
145 |
0
|
if (attributes == null) { |
146 |
0
|
attributes = new HashMap<String, String>(); |
147 |
|
} |
148 |
0
|
return attributes; |
149 |
|
} |
150 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
152 |
0
|
this.attributes = attributes; |
153 |
|
} |
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
0
|
public MetaInfo getMetaInfo() {... |
159 |
0
|
return metaInfo; |
160 |
|
} |
161 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
162 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
163 |
0
|
this.metaInfo = metaInfo; |
164 |
|
} |
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
169 |
0
|
public String getType() {... |
170 |
0
|
return type; |
171 |
|
} |
172 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
173 |
0
|
public void setType(String type) {... |
174 |
0
|
this.type = type; |
175 |
|
} |
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
180 |
0
|
public String getState() {... |
181 |
0
|
return state; |
182 |
|
} |
183 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
184 |
0
|
public void setState(String state) {... |
185 |
0
|
this.state = state; |
186 |
|
} |
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
191 |
0
|
public String getId() {... |
192 |
0
|
return id; |
193 |
|
} |
194 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
195 |
0
|
public void setId(String id) {... |
196 |
0
|
this.id = id; |
197 |
|
} |
198 |
|
} |