1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.validator; |
17 |
|
|
18 |
|
import java.util.List; |
19 |
|
import java.util.Stack; |
20 |
|
|
21 |
|
import org.kuali.student.core.dictionary.dto.FieldDefinition; |
22 |
|
import org.kuali.student.core.dictionary.dto.ObjectStructureDefinition; |
23 |
|
import org.kuali.student.core.validation.dto.ValidationResultInfo; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
@author |
30 |
|
|
31 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
32 |
|
public abstract class BaseAbstractValidator implements Validator { |
33 |
|
|
34 |
|
protected ValidatorFactory validatorFactory; |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
public ValidatorFactory getValidatorFactory() {... |
37 |
0
|
return validatorFactory; |
38 |
|
} |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public void setValidatorFactory(ValidatorFactory validatorFactory) {... |
41 |
0
|
this.validatorFactory = validatorFactory; |
42 |
|
} |
43 |
|
|
44 |
|
|
45 |
|
@see |
46 |
|
|
47 |
|
@Override |
48 |
|
public abstract List<ValidationResultInfo> validateObject(Object o, ObjectStructureDefinition objStructure); |
49 |
|
|
50 |
|
|
51 |
|
@see |
52 |
|
|
53 |
|
@Override |
54 |
|
public abstract List<ValidationResultInfo> validateObject(FieldDefinition field, Object o, ObjectStructureDefinition objStructure, Stack<String> elementStack); |
55 |
|
} |