| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.common.entity; |
| 17 |
|
|
| 18 |
|
import javax.persistence.Column; |
| 19 |
|
import javax.persistence.Embeddable; |
| 20 |
|
|
| 21 |
|
@Embeddable |
|
|
|
| 0% |
Uncovered Elements: 48 (48) |
Complexity: 24 |
Complexity Density: 1 |
|
| 22 |
|
public class FieldDescriptorEntity { |
| 23 |
|
|
| 24 |
|
@Column(name = "NAME", nullable = false) |
| 25 |
|
protected String name; |
| 26 |
|
@Column(name = "DESCR", nullable = false) |
| 27 |
|
protected String descr; |
| 28 |
|
@Column(name = "DATA_TYPE", nullable = false) |
| 29 |
|
protected String dataType; |
| 30 |
|
@Column(name="MIN_VALUE") |
| 31 |
|
protected String minValue; |
| 32 |
|
@Column(name="MAX_VALUE") |
| 33 |
|
protected String maxValue; |
| 34 |
|
@Column(name="MIN_LENGTH") |
| 35 |
|
protected Integer minLength; |
| 36 |
|
@Column(name="MAX_LENGTH") |
| 37 |
|
protected Integer maxLength; |
| 38 |
|
@Column(name="VALID_CHARS") |
| 39 |
|
protected String validChars; |
| 40 |
|
@Column(name="INVALID_CHARS") |
| 41 |
|
protected String invalidChars; |
| 42 |
|
@Column(name="MIN_OCCURS") |
| 43 |
|
protected Integer minOccurs; |
| 44 |
|
@Column(name="MAX_OCCURS") |
| 45 |
|
protected Integer maxOccurs; |
| 46 |
|
@Column(name="READ_ONLY", nullable = false) |
| 47 |
|
protected boolean readOnly = false; |
| 48 |
|
|
| 49 |
|
@return |
| 50 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 51 |
0
|
public String getName() {... |
| 52 |
0
|
return name; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
@param |
| 56 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 57 |
0
|
public void setName(String name) {... |
| 58 |
0
|
this.name = name; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
@return |
| 62 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 63 |
0
|
public String getDescr() {... |
| 64 |
0
|
return descr; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
@param |
| 68 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 69 |
0
|
public void setDescr(String descr) {... |
| 70 |
0
|
this.descr = descr; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
@return |
| 74 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 75 |
0
|
public String getDataType() {... |
| 76 |
0
|
return dataType; |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
@param |
| 80 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 81 |
0
|
public void setDataType(String dataType) {... |
| 82 |
0
|
this.dataType = dataType; |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
@return |
| 86 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 87 |
0
|
public String getMinValue() {... |
| 88 |
0
|
return minValue; |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
@param |
| 92 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 93 |
0
|
public void setMinValue(String minValue) {... |
| 94 |
0
|
this.minValue = minValue; |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
@return |
| 98 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 99 |
0
|
public String getMaxValue() {... |
| 100 |
0
|
return maxValue; |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
@param |
| 104 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 105 |
0
|
public void setMaxValue(String maxValue) {... |
| 106 |
0
|
this.maxValue = maxValue; |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
@return |
| 110 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 111 |
0
|
public Integer getMinLength() {... |
| 112 |
0
|
return minLength; |
| 113 |
|
} |
| 114 |
|
|
| 115 |
|
@param |
| 116 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 117 |
0
|
public void setMinLength(Integer minLength) {... |
| 118 |
0
|
this.minLength = minLength; |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
@return |
| 122 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 123 |
0
|
public Integer getMaxLength() {... |
| 124 |
0
|
return maxLength; |
| 125 |
|
} |
| 126 |
|
|
| 127 |
|
@param |
| 128 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 129 |
0
|
public void setMaxLength(Integer maxLength) {... |
| 130 |
0
|
this.maxLength = maxLength; |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
@return |
| 134 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 135 |
0
|
public String getValidChars() {... |
| 136 |
0
|
return validChars; |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
@param |
| 140 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 141 |
0
|
public void setValidChars(String validChars) {... |
| 142 |
0
|
this.validChars = validChars; |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
@return |
| 146 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 147 |
0
|
public String getInvalidChars() {... |
| 148 |
0
|
return invalidChars; |
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
@param |
| 152 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 153 |
0
|
public void setInvalidChars(String invalidChars) {... |
| 154 |
0
|
this.invalidChars = invalidChars; |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
@return |
| 158 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 159 |
0
|
public Integer getMinOccurs() {... |
| 160 |
0
|
return minOccurs; |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
@param |
| 164 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 165 |
0
|
public void setMinOccurs(Integer minOccurs) {... |
| 166 |
0
|
this.minOccurs = minOccurs; |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
@return |
| 170 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 171 |
0
|
public Integer getMaxOccurs() {... |
| 172 |
0
|
return maxOccurs; |
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
@param |
| 176 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 177 |
0
|
public void setMaxOccurs(Integer maxOccurs) {... |
| 178 |
0
|
this.maxOccurs = maxOccurs; |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
@return |
| 182 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 183 |
0
|
public boolean isReadOnly() {... |
| 184 |
0
|
return readOnly; |
| 185 |
|
} |
| 186 |
|
|
| 187 |
|
@param |
| 188 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 189 |
0
|
public void setReadOnly(boolean readOnly) {... |
| 190 |
0
|
this.readOnly = readOnly; |
| 191 |
|
} |
| 192 |
|
} |