1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary.validation.constraint;
17
18 import javax.xml.bind.annotation.XmlAccessType;
19 import javax.xml.bind.annotation.XmlAccessorType;
20 import javax.xml.bind.annotation.XmlElement;
21 import java.util.List;
22
23
24
25
26
27
28
29
30
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 public class CaseConstraint extends BaseConstraint {
34 @XmlElement
35 protected List<WhenConstraint> whenConstraint;
36 @XmlElement
37 protected String propertyName;
38 @XmlElement
39 protected String operator;
40 @XmlElement
41 protected boolean caseSensitive;
42
43 public List<WhenConstraint> getWhenConstraint() {
44 return whenConstraint;
45 }
46
47 public void setWhenConstraint(List<WhenConstraint> whenConstraint) {
48 this.whenConstraint = whenConstraint;
49 }
50
51 public String getPropertyName() {
52 return propertyName;
53 }
54
55 public void setPropertyName(String propertyName) {
56 this.propertyName = propertyName;
57 }
58
59 public String getOperator() {
60 return operator;
61 }
62
63 public void setOperator(String operator) {
64 this.operator = operator;
65 }
66
67 public boolean isCaseSensitive() {
68 return caseSensitive;
69 }
70
71 public void setCaseSensitive(boolean caseSensitive) {
72 this.caseSensitive = caseSensitive;
73 }
74 }