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