1 |
|
package org.kuali.student.common.dictionary.dto; |
2 |
|
|
3 |
|
import java.util.List; |
4 |
|
|
5 |
|
import javax.xml.bind.annotation.XmlAccessType; |
6 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
7 |
|
import javax.xml.bind.annotation.XmlElement; |
8 |
|
|
9 |
|
import org.kuali.student.common.validation.dto.ValidationResultInfo.ErrorLevel; |
10 |
|
|
11 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
12 |
|
public class MustOccurConstraint { |
13 |
|
@XmlElement |
14 |
|
private List<RequiredConstraint> requiredFields; |
15 |
|
@XmlElement |
16 |
|
private List<MustOccurConstraint> occurs; |
17 |
|
@XmlElement |
18 |
|
private Integer min; |
19 |
|
@XmlElement |
20 |
|
private Integer max; |
21 |
|
@XmlElement |
22 |
|
private ErrorLevel errorLevel = ErrorLevel.ERROR; |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
24 |
0
|
public List<RequiredConstraint> getRequiredFields() {... |
25 |
0
|
return requiredFields; |
26 |
|
} |
27 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
28 |
0
|
public void setRequiredFields(List<RequiredConstraint> requiredFields) {... |
29 |
0
|
this.requiredFields = requiredFields; |
30 |
|
} |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
public List<MustOccurConstraint> getOccurs() {... |
33 |
0
|
return occurs; |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
public void setOccurs(List<MustOccurConstraint> occurs) {... |
37 |
0
|
this.occurs = occurs; |
38 |
|
} |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public Integer getMin() {... |
41 |
0
|
return min; |
42 |
|
} |
43 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
0
|
public void setMin(Integer min) {... |
45 |
0
|
this.min = min; |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
0
|
public Integer getMax() {... |
49 |
0
|
return max; |
50 |
|
} |
51 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
public void setMax(Integer max) {... |
53 |
0
|
this.max = max; |
54 |
|
} |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0
|
public ErrorLevel getErrorLevel() {... |
57 |
0
|
return errorLevel; |
58 |
|
} |
59 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0
|
public void setErrorLevel(ErrorLevel errorLevel) {... |
61 |
0
|
this.errorLevel = errorLevel; |
62 |
|
} |
63 |
|
} |