1 |
|
package org.kuali.student.common.dictionary.dto; |
2 |
|
|
3 |
|
import javax.xml.bind.annotation.XmlAccessType; |
4 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
5 |
|
import javax.xml.bind.annotation.XmlElement; |
6 |
|
import javax.xml.bind.annotation.XmlIDREF; |
7 |
|
|
8 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 83.3% |
Uncovered Elements: 8 (48) |
Complexity: 24 |
Complexity Density: 1 |
|
9 |
|
public class FieldDefinition extends Constraint { |
10 |
|
|
11 |
|
@XmlElement |
12 |
|
protected String name; |
13 |
|
|
14 |
|
|
15 |
|
@XmlElement |
16 |
|
protected DataType dataType; |
17 |
|
|
18 |
|
@XmlIDREF |
19 |
|
@XmlElement |
20 |
|
protected ObjectStructureDefinition dataObjectStructure; |
21 |
|
|
22 |
|
|
23 |
|
@XmlElement |
24 |
|
protected boolean dynamic = false; |
25 |
|
|
26 |
|
|
27 |
|
@XmlElement |
28 |
|
protected Object defaultValue; |
29 |
|
|
30 |
|
@XmlElement |
31 |
|
protected String defaultValuePath; |
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
@XmlElement |
44 |
|
protected boolean readOnly = false; |
45 |
|
|
46 |
|
@XmlElement |
47 |
|
protected boolean hide = false; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
protected boolean mask = false; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
protected boolean partialMask = false; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
protected String partialMaskFormatter; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
protected String maskFormatter; |
60 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
445
|
public String getName() {... |
62 |
445
|
return name; |
63 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
156
|
public void setName(String name) {... |
65 |
156
|
this.name = name; |
66 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
325
|
public DataType getDataType() {... |
68 |
325
|
return dataType; |
69 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
156
|
public void setDataType(DataType dataType) {... |
71 |
156
|
this.dataType = dataType; |
72 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
73 |
10
|
public ObjectStructureDefinition getDataObjectStructure() {... |
74 |
10
|
return dataObjectStructure; |
75 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
13
|
public void setDataObjectStructure(ObjectStructureDefinition dataObjectStructure) {... |
77 |
13
|
this.dataObjectStructure = dataObjectStructure; |
78 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
93
|
public Object getDefaultValue() {... |
80 |
93
|
return defaultValue; |
81 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0
|
public void setDefaultValue(Object defaultValue) {... |
83 |
0
|
this.defaultValue = defaultValue; |
84 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
93
|
public String getDefaultValuePath() {... |
86 |
93
|
return defaultValuePath; |
87 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
88 |
0
|
public void setDefaultValuePath(String defaultValuePath) {... |
89 |
0
|
this.defaultValuePath = defaultValuePath; |
90 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
93
|
public boolean isReadOnly() {... |
92 |
93
|
return readOnly; |
93 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
26
|
public void setReadOnly(boolean readOnly) {... |
95 |
26
|
this.readOnly = readOnly; |
96 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
93
|
public boolean isHide() {... |
98 |
93
|
return hide; |
99 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0
|
public void setHide(boolean hide) {... |
101 |
0
|
this.hide = hide; |
102 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
186
|
public boolean isMask() {... |
104 |
186
|
return mask; |
105 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
13
|
public void setMask(boolean mask) {... |
107 |
13
|
this.mask = mask; |
108 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
93
|
public boolean isPartialMask() {... |
110 |
93
|
return partialMask; |
111 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
112 |
13
|
public void setPartialMask(boolean partialMask) {... |
113 |
13
|
this.partialMask = partialMask; |
114 |
|
} |
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
93
|
public boolean isDynamic() {... |
117 |
93
|
return dynamic; |
118 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
0
|
public void setDynamic(boolean dynamic) {... |
120 |
0
|
this.dynamic = dynamic; |
121 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
11
|
public String getPartialMaskFormatter() {... |
123 |
11
|
return partialMaskFormatter; |
124 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
13
|
public void setPartialMaskFormatter(String partialMaskFormatter) {... |
126 |
13
|
this.partialMaskFormatter = partialMaskFormatter; |
127 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
11
|
public String getMaskFormatter() {... |
129 |
11
|
return maskFormatter; |
130 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
13
|
public void setMaskFormatter(String maskFormatter) {... |
132 |
13
|
this.maskFormatter = maskFormatter; |
133 |
|
} |
134 |
|
} |