1 |
|
package org.kuali.student.common.dictionary.dto; |
2 |
|
|
3 |
|
import java.io.Serializable; |
4 |
|
import java.util.ArrayList; |
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
|
|
| 89.3% |
Uncovered Elements: 6 (56) |
Complexity: 28 |
Complexity Density: 1 |
|
9 |
|
public class CommonLookupParam implements Serializable { |
10 |
|
|
11 |
|
|
12 |
|
private static final long serialVersionUID = 1L; |
13 |
|
private String key; |
14 |
|
private CommonLookup childLookup; |
15 |
|
private WriteAccess writeAccess; |
16 |
|
private DataType dataType; |
17 |
|
private boolean optional; |
18 |
|
|
19 |
|
private ArrayList<String> defaultValueList; |
20 |
|
private String defaultValueString; |
21 |
|
|
22 |
|
private String name; |
23 |
|
private String desc; |
24 |
|
private boolean caseSensitive; |
25 |
|
private Usage usage; |
26 |
|
protected String fieldPath; |
27 |
|
protected String fieldPathMessageId; |
28 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
29 |
|
public enum Widget { |
30 |
|
SUGGEST_BOX, DROPDOWN_LIST, RADIO_BUTTONS, CHECK_BOXES, TEXT_BOX, CALENDAR, PICKER |
31 |
|
} |
32 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
33 |
|
public enum WriteAccess { |
34 |
|
ON_CREATE, |
35 |
|
ALWAYS, NEVER, WHEN_NULL, REQUIRED |
36 |
|
} |
37 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
38 |
|
public enum Usage { |
39 |
|
DEFAULT, ADVANCED, CUSTOM, ADVANCED_CUSTOM |
40 |
|
} |
41 |
|
private Widget widget; |
42 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
54
|
public String getKey() {... |
44 |
54
|
return key; |
45 |
|
} |
46 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
364
|
public void setKey(String key) {... |
48 |
364
|
this.key = key; |
49 |
|
} |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
50
|
public CommonLookup getChildLookup() {... |
52 |
50
|
return childLookup; |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void setChildLookup(CommonLookup childLookup) {... |
56 |
0
|
this.childLookup = childLookup; |
57 |
|
} |
58 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
90
|
public WriteAccess getWriteAccess() {... |
60 |
90
|
return writeAccess; |
61 |
|
} |
62 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
320
|
public void setWriteAccess(WriteAccess writeAccess) {... |
64 |
320
|
this.writeAccess = writeAccess; |
65 |
|
} |
66 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
100
|
public DataType getDataType() {... |
68 |
100
|
return dataType; |
69 |
|
} |
70 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
290
|
public void setDataType(DataType dataType) {... |
72 |
290
|
this.dataType = dataType; |
73 |
|
} |
74 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
50
|
public boolean isOptional() {... |
76 |
50
|
return optional; |
77 |
|
} |
78 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
154
|
public void setOptional(boolean optional) {... |
80 |
154
|
this.optional = optional; |
81 |
|
} |
82 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
50
|
public ArrayList<String> getDefaultValueList() {... |
84 |
50
|
return defaultValueList; |
85 |
|
} |
86 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
44
|
public void setDefaultValueList(ArrayList<String> defaultValueList) {... |
88 |
44
|
this.defaultValueList = defaultValueList; |
89 |
|
} |
90 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
54
|
public String getDefaultValueString() {... |
92 |
54
|
return defaultValueString; |
93 |
|
} |
94 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
72
|
public void setDefaultValueString(String defaultValueString) {... |
96 |
72
|
this.defaultValueString = defaultValueString; |
97 |
|
} |
98 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
50
|
public String getName() {... |
100 |
50
|
return name; |
101 |
|
} |
102 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
340
|
public void setName(String name) {... |
104 |
340
|
this.name = name; |
105 |
|
} |
106 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
50
|
public String getDesc() {... |
108 |
50
|
return desc; |
109 |
|
} |
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
340
|
public void setDesc(String desc) {... |
112 |
340
|
this.desc = desc; |
113 |
|
} |
114 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
50
|
public boolean isCaseSensitive() {... |
116 |
50
|
return caseSensitive; |
117 |
|
} |
118 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
302
|
public void setCaseSensitive(boolean caseSensitive) {... |
120 |
302
|
this.caseSensitive = caseSensitive; |
121 |
|
} |
122 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
123 |
50
|
public Usage getUsage() {... |
124 |
50
|
return usage; |
125 |
|
} |
126 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
162
|
public void setUsage(Usage usage) {... |
128 |
162
|
this.usage = usage; |
129 |
|
} |
130 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
62
|
public String getFieldPath() {... |
132 |
62
|
return fieldPath; |
133 |
|
} |
134 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
135 |
26
|
public void setFieldPath(String fieldPath) {... |
136 |
26
|
this.fieldPath = fieldPath; |
137 |
|
} |
138 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
139 |
50
|
public Widget getWidget() {... |
140 |
50
|
return widget; |
141 |
|
} |
142 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
143 |
74
|
public void setWidget(Widget widget) {... |
144 |
74
|
this.widget = widget; |
145 |
|
} |
146 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
147 |
0
|
public String getFieldPathMessageId() {... |
148 |
0
|
return fieldPathMessageId; |
149 |
|
} |
150 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
0
|
public void setFieldPathMessageId(String fieldPathMessageId) {... |
152 |
0
|
this.fieldPathMessageId = fieldPathMessageId; |
153 |
|
} |
154 |
|
} |