1 package org.kuali.rice.kns.datadictionary.validation.constraint;
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
10
11
12
13
14
15
16
17
18 @XmlAccessorType(XmlAccessType.FIELD)
19 public class CaseConstraint extends BaseConstraint {
20 @XmlElement
21 protected List<WhenConstraint> whenConstraint;
22 @XmlElement
23 protected String fieldPath;
24 @XmlElement
25 protected String operator;
26 @XmlElement
27 protected boolean caseSensitive;
28
29 public List<WhenConstraint> getWhenConstraint() {
30 return whenConstraint;
31 }
32
33 public void setWhenConstraint(List<WhenConstraint> whenConstraint) {
34 this.whenConstraint = whenConstraint;
35 }
36
37 public String getFieldPath() {
38 return fieldPath;
39 }
40
41 public void setFieldPath(String fieldPath) {
42 this.fieldPath = fieldPath;
43 }
44
45 public String getOperator() {
46 return operator;
47 }
48
49 public void setOperator(String operator) {
50 this.operator = operator;
51 }
52
53 public boolean isCaseSensitive() {
54 return caseSensitive;
55 }
56
57 public void setCaseSensitive(boolean caseSensitive) {
58 this.caseSensitive = caseSensitive;
59 }
60 }