1 |
|
package org.kuali.student.core.enumerationmanagement.bo; |
2 |
|
|
3 |
|
import java.util.ArrayList; |
4 |
|
import java.util.LinkedHashMap; |
5 |
|
import java.util.List; |
6 |
|
|
7 |
|
import org.kuali.student.core.bo.KsInactivatableFromToBase; |
8 |
|
|
|
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 8 |
Complexity Density: 0.62 |
|
9 |
|
public class Enumeration extends KsInactivatableFromToBase { |
10 |
|
|
11 |
|
private static final long serialVersionUID = 1L; |
12 |
|
|
13 |
|
|
14 |
|
private String name; |
15 |
|
private String description; |
16 |
|
|
17 |
|
List<EnumeratedValue> enumeratedValueList; |
18 |
|
|
19 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
20 |
0
|
public Enumeration() {... |
21 |
0
|
enumeratedValueList = new ArrayList<EnumeratedValue>(); |
22 |
|
} |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 1 |
Complexity Density: 0.17 |
|
24 |
0
|
@Override... |
25 |
|
protected LinkedHashMap<String,Object> toStringMapper() { |
26 |
0
|
LinkedHashMap<String, Object> map = super.toStringMapper(); |
27 |
|
|
28 |
0
|
map.put("name", name); |
29 |
0
|
map.put("description", description); |
30 |
0
|
map.put("activeFromDate", activeFromDate); |
31 |
0
|
map.put("activeToDate", activeToDate); |
32 |
|
|
33 |
0
|
return map; |
34 |
|
} |
35 |
|
|
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
public String getName() {... |
38 |
0
|
return name; |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0
|
public void setName(String name) {... |
42 |
0
|
this.name = name; |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0
|
public String getDescription() {... |
46 |
0
|
return description; |
47 |
|
} |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public void setDescription(String description) {... |
50 |
0
|
this.description = description; |
51 |
|
} |
52 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
53 |
0
|
public List<EnumeratedValue> getEnumeratedValueList() {... |
54 |
0
|
return enumeratedValueList; |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
public void setEnumeratedValueList(List<EnumeratedValue> enumerationValueList) {... |
58 |
0
|
this.enumeratedValueList = enumerationValueList; |
59 |
|
} |
60 |
|
|
61 |
|
} |