1 |
|
package org.kuali.student.core.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) |
|
|
| 79.2% |
Uncovered Elements: 10 (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 |
281
|
public String getName() {... |
62 |
281
|
return name; |
63 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
132
|
public void setName(String name) {... |
65 |
132
|
this.name = name; |
66 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
236
|
public DataType getDataType() {... |
68 |
236
|
return dataType; |
69 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
132
|
public void setDataType(DataType dataType) {... |
71 |
132
|
this.dataType = dataType; |
72 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
73 |
6
|
public ObjectStructureDefinition getDataObjectStructure() {... |
74 |
6
|
return dataObjectStructure; |
75 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
12
|
public void setDataObjectStructure(ObjectStructureDefinition dataObjectStructure) {... |
77 |
12
|
this.dataObjectStructure = dataObjectStructure; |
78 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
74
|
public Object getDefaultValue() {... |
80 |
74
|
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 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public String getDefaultValuePath() {... |
86 |
0
|
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 |
74
|
public boolean isReadOnly() {... |
92 |
74
|
return readOnly; |
93 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
24
|
public void setReadOnly(boolean readOnly) {... |
95 |
24
|
this.readOnly = readOnly; |
96 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
74
|
public boolean isHide() {... |
98 |
74
|
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 |
148
|
public boolean isMask() {... |
104 |
148
|
return mask; |
105 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
12
|
public void setMask(boolean mask) {... |
107 |
12
|
this.mask = mask; |
108 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
74
|
public boolean isPartialMask() {... |
110 |
74
|
return partialMask; |
111 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
112 |
12
|
public void setPartialMask(boolean partialMask) {... |
113 |
12
|
this.partialMask = partialMask; |
114 |
|
} |
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
74
|
public boolean isDynamic() {... |
117 |
74
|
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 |
8
|
public String getPartialMaskFormatter() {... |
123 |
8
|
return partialMaskFormatter; |
124 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
12
|
public void setPartialMaskFormatter(String partialMaskFormatter) {... |
126 |
12
|
this.partialMaskFormatter = partialMaskFormatter; |
127 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
8
|
public String getMaskFormatter() {... |
129 |
8
|
return maskFormatter; |
130 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
12
|
public void setMaskFormatter(String maskFormatter) {... |
132 |
12
|
this.maskFormatter = maskFormatter; |
133 |
|
} |
134 |
|
} |