1 |
|
package org.kuali.student.lum.common.client.lo; |
2 |
|
|
3 |
|
import org.kuali.student.common.assembly.data.Data; |
4 |
|
import org.kuali.student.common.assembly.helper.PropertyEnum; |
5 |
|
|
6 |
|
|
7 |
|
@author |
8 |
|
|
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
9 |
|
public class LoDisplayInfoHelper { |
10 |
|
private Data data; |
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
11 |
|
public enum Properties implements PropertyEnum |
12 |
|
{ |
13 |
|
LO_INFO ("loInfo"), |
14 |
|
LO_DISPLAY_INFO_LIST ("loDisplayInfoList"), |
15 |
|
LO_CATEGORY_INFO_LIST ("loCategoryInfoList"); |
16 |
|
|
17 |
|
private final String key; |
18 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
19 |
0
|
private Properties (final String key)... |
20 |
|
{ |
21 |
0
|
this.key = key; |
22 |
|
} |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
24 |
0
|
@Override... |
25 |
|
public String getKey () |
26 |
|
{ |
27 |
0
|
return this.key; |
28 |
|
} |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
public LoDisplayInfoHelper() {... |
32 |
0
|
data = new Data(); |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public LoDisplayInfoHelper(Data data) {... |
36 |
0
|
this.data = data; |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public Data getData() {... |
40 |
0
|
return data; |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public void setData(Data data) {... |
44 |
0
|
this.data = data; |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
public void setLoInfo(Data loInfoData) {... |
48 |
0
|
HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_INFO, data, loInfoData); |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
public Data getLoInfo() {... |
52 |
0
|
return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_INFO, data); |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void setDisplayInfoList(Data displayInfoListData) {... |
56 |
0
|
HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_DISPLAY_INFO_LIST, data, displayInfoListData); |
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
public Data getDisplayInfoList() {... |
60 |
0
|
return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_DISPLAY_INFO_LIST, data); |
61 |
|
} |
62 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public void setCategoryInfoList(Data categoryInfoListData) {... |
64 |
0
|
HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_CATEGORY_INFO_LIST, data, categoryInfoListData); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public Data getCategoryInfoList() {... |
68 |
0
|
return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_CATEGORY_INFO_LIST, data); |
69 |
|
} |
70 |
|
} |