1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.core.enumerationmanagement.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.Date; |
21 |
|
import java.util.List; |
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 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 94.4% |
Uncovered Elements: 2 (36) |
Complexity: 17 |
Complexity Density: 0.94 |
|
32 |
|
public class EnumeratedValueInfo implements Serializable { |
33 |
|
|
34 |
|
private static final long serialVersionUID = 1L; |
35 |
|
|
36 |
|
@XmlElement |
37 |
|
private String code; |
38 |
|
|
39 |
|
@XmlElement |
40 |
|
private String abbrevValue; |
41 |
|
|
42 |
|
@XmlElement |
43 |
|
private String value; |
44 |
|
|
45 |
|
@XmlElement |
46 |
|
private Date effectiveDate; |
47 |
|
|
48 |
|
@XmlElement |
49 |
|
private Date expirationDate; |
50 |
|
|
51 |
|
@XmlElement |
52 |
|
private String sortKey; |
53 |
|
|
54 |
|
@XmlElement |
55 |
|
private List<EnumContextValueInfo> contexts; |
56 |
|
|
57 |
|
@XmlAttribute |
58 |
|
private String enumerationKey; |
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
52
|
public String getCode() {... |
64 |
52
|
return code; |
65 |
|
} |
66 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
88
|
public void setCode(String code) {... |
68 |
88
|
this.code = code; |
69 |
|
} |
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
52
|
public String getAbbrevValue() {... |
75 |
52
|
return abbrevValue; |
76 |
|
} |
77 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
87
|
public void setAbbrevValue(String abbrevValue) {... |
79 |
87
|
this.abbrevValue = abbrevValue; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
72
|
public String getValue() {... |
86 |
72
|
return value; |
87 |
|
} |
88 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
89 |
88
|
public void setValue(String value) {... |
90 |
88
|
this.value = value; |
91 |
|
} |
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
52
|
public Date getEffectiveDate() {... |
97 |
52
|
return effectiveDate; |
98 |
|
} |
99 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
87
|
public void setEffectiveDate(Date effectiveDate) {... |
101 |
87
|
this.effectiveDate = effectiveDate; |
102 |
|
} |
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
52
|
public Date getExpirationDate() {... |
108 |
52
|
return expirationDate; |
109 |
|
} |
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
87
|
public void setExpirationDate(Date expirationDate) {... |
112 |
87
|
this.expirationDate = expirationDate; |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
118 |
52
|
public String getSortKey() {... |
119 |
52
|
return sortKey; |
120 |
|
} |
121 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
87
|
public void setSortKey(String sortKey) {... |
123 |
87
|
this.sortKey = sortKey; |
124 |
|
} |
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
|
|
| 60% |
Uncovered Elements: 2 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
129 |
51
|
public List<EnumContextValueInfo> getContexts() {... |
130 |
51
|
if (contexts == null) { |
131 |
0
|
contexts = new ArrayList<EnumContextValueInfo>(); |
132 |
|
} |
133 |
51
|
return contexts; |
134 |
|
} |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
87
|
public void setContexts(List<EnumContextValueInfo> contexts) {... |
137 |
87
|
this.contexts = contexts; |
138 |
|
} |
139 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
140 |
24
|
public String getEnumerationKey() {... |
141 |
24
|
return enumerationKey; |
142 |
|
} |
143 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
144 |
87
|
public void setEnumerationKey(String enumerationKey) {... |
145 |
87
|
this.enumerationKey = enumerationKey; |
146 |
|
} |
147 |
|
|
148 |
|
|
149 |
|
} |