1 | |
package org.kuali.rice.krad.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 | 0 | 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 | 0 | return whenConstraint; |
31 | |
} |
32 | |
|
33 | |
public void setWhenConstraint(List<WhenConstraint> whenConstraint) { |
34 | 0 | this.whenConstraint = whenConstraint; |
35 | 0 | } |
36 | |
|
37 | |
public String getFieldPath() { |
38 | 0 | return fieldPath; |
39 | |
} |
40 | |
|
41 | |
public void setFieldPath(String fieldPath) { |
42 | 0 | this.fieldPath = fieldPath; |
43 | 0 | } |
44 | |
|
45 | |
public String getOperator() { |
46 | 0 | return operator; |
47 | |
} |
48 | |
|
49 | |
public void setOperator(String operator) { |
50 | 0 | this.operator = operator; |
51 | 0 | } |
52 | |
|
53 | |
public boolean isCaseSensitive() { |
54 | 0 | return caseSensitive; |
55 | |
} |
56 | |
|
57 | |
public void setCaseSensitive(boolean caseSensitive) { |
58 | 0 | this.caseSensitive = caseSensitive; |
59 | 0 | } |
60 | |
} |