1 package org.kuali.student.r1.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.r2.common.infc.ValidationResult.ErrorLevel;
10
11
12 @Deprecated
13 @XmlAccessorType(XmlAccessType.FIELD)
14 public class MustOccurConstraint {
15 @XmlElement
16 private List<RequiredConstraint> requiredFields;
17 @XmlElement
18 private List<MustOccurConstraint> occurs;
19 @XmlElement
20 private Integer min;
21 @XmlElement
22 private Integer max;
23 @XmlElement
24 private ErrorLevel errorLevel = ErrorLevel.ERROR;
25
26 public List<RequiredConstraint> getRequiredFields() {
27 return requiredFields;
28 }
29
30 public void setRequiredFields(List<RequiredConstraint> requiredFields) {
31 this.requiredFields = requiredFields;
32 }
33
34 public List<MustOccurConstraint> getOccurs() {
35 return occurs;
36 }
37
38 public void setOccurs(List<MustOccurConstraint> occurs) {
39 this.occurs = occurs;
40 }
41
42 public Integer getMin() {
43 return min;
44 }
45
46 public void setMin(Integer min) {
47 this.min = min;
48 }
49
50 public Integer getMax() {
51 return max;
52 }
53
54 public void setMax(Integer max) {
55 this.max = max;
56 }
57
58 public ErrorLevel getErrorLevel() {
59 return errorLevel;
60 }
61
62 public void setErrorLevel(ErrorLevel errorLevel) {
63 this.errorLevel = errorLevel;
64 }
65 }