1 package org.kuali.rice.krad.datadictionary.validation.constraint;
2
3 import javax.xml.bind.annotation.XmlAccessType;
4 import javax.xml.bind.annotation.XmlAccessorType;
5 import javax.xml.bind.annotation.XmlElement;
6 import java.util.List;
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 @XmlAccessorType(XmlAccessType.FIELD)
32 public class MustOccurConstraint extends BaseConstraint {
33
34 @XmlElement
35 private List<PrerequisiteConstraint> prerequisiteConstraints;
36 @XmlElement
37 private List<MustOccurConstraint> mustOccurConstraints;
38 @XmlElement
39 private Integer min;
40 @XmlElement
41 private Integer max;
42
43 public List<PrerequisiteConstraint> getPrerequisiteConstraints() {
44 return prerequisiteConstraints;
45 }
46
47 public void setPrerequisiteConstraints(List<PrerequisiteConstraint> prerequisiteConstraints) {
48 this.prerequisiteConstraints = prerequisiteConstraints;
49 }
50
51 public List<MustOccurConstraint> getMustOccurConstraints() {
52 return mustOccurConstraints;
53 }
54
55 public void setMustOccurConstraints(List<MustOccurConstraint> occurs) {
56 this.mustOccurConstraints = occurs;
57 }
58
59 public Integer getMin() {
60 return min;
61 }
62
63 public void setMin(Integer min) {
64 this.min = min;
65 }
66
67 public Integer getMax() {
68 return max;
69 }
70
71 public void setMax(Integer max) {
72 this.max = max;
73 }
74 }