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.util.ArrayList; |
19 |
|
import java.util.List; |
20 |
|
|
21 |
|
import javax.xml.bind.annotation.XmlElement; |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
|
|
| 50% |
Uncovered Elements: 10 (20) |
Complexity: 8 |
Complexity Density: 0.89 |
|
26 |
|
public class StatementInfo extends AbstractStatementInfo { |
27 |
|
|
28 |
|
private static final long serialVersionUID = 1L; |
29 |
|
|
30 |
|
@XmlElement |
31 |
|
private List<String> statementIds; |
32 |
|
|
33 |
|
@XmlElement |
34 |
|
private List<String> reqComponentIds; |
35 |
|
|
36 |
|
|
37 |
|
|
|
|
| 80% |
Uncovered Elements: 1 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
38 |
1
|
public List<String> getStatementIds() {... |
39 |
1
|
if (statementIds == null) { |
40 |
1
|
statementIds = new ArrayList<String>(0); |
41 |
|
} |
42 |
1
|
return statementIds; |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0
|
public void setStatementIds(List<String> statementIds) {... |
46 |
0
|
this.statementIds = statementIds; |
47 |
|
} |
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
|
|
| 80% |
Uncovered Elements: 1 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
52 |
1
|
public List<String> getReqComponentIds() {... |
53 |
1
|
if (reqComponentIds == null) { |
54 |
1
|
reqComponentIds = new ArrayList<String>(0); |
55 |
|
} |
56 |
1
|
return reqComponentIds; |
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
public void setReqComponentIds(List<String> reqComponentIds) {... |
60 |
0
|
this.reqComponentIds = reqComponentIds; |
61 |
|
} |
62 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
63 |
0
|
@Override... |
64 |
|
public String toString() { |
65 |
0
|
return "StatementInfo[id=" + getId() + (getDesc() == null ? "" : ", desc=" + getDesc().getPlain()) + ", operator=" + getOperator() + ", type=" |
66 |
|
+ getType() + ", state=" + getState() + "]"; |
67 |
|
} |
68 |
|
} |