1 | |
package org.kuali.student.common.dictionary.dto; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import javax.xml.bind.annotation.XmlAccessType; |
7 | |
import javax.xml.bind.annotation.XmlAccessorType; |
8 | |
|
9 | |
@XmlAccessorType(XmlAccessType.FIELD) |
10 | 0 | public class WhenConstraint { |
11 | |
protected List<Object> values; |
12 | |
protected String valuePath; |
13 | |
protected Constraint constraint; |
14 | |
|
15 | |
public List<Object> getValues() { |
16 | 0 | return values; |
17 | |
} |
18 | |
|
19 | |
public void setValues(List<Object> values) { |
20 | 0 | this.values = values; |
21 | 0 | } |
22 | |
|
23 | |
public void setValue(Object value) { |
24 | 0 | values = new ArrayList<Object>(); |
25 | 0 | values.add(value); |
26 | 0 | } |
27 | |
|
28 | |
public String getValuePath() { |
29 | 0 | return valuePath; |
30 | |
} |
31 | |
|
32 | |
public void setValuePath(String valuePath) { |
33 | 0 | this.valuePath = valuePath; |
34 | 0 | } |
35 | |
|
36 | |
public Constraint getConstraint() { |
37 | 0 | return constraint; |
38 | |
} |
39 | |
|
40 | |
public void setConstraint(Constraint constraint) { |
41 | 0 | this.constraint = constraint; |
42 | 0 | } |
43 | |
} |