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 public class WhenConstraint { 11 protected List<Object> values; 12 protected String valuePath; 13 protected Constraint constraint; 14 15 public List<Object> getValues() { 16 return values; 17 } 18 19 public void setValues(List<Object> values) { 20 this.values = values; 21 } 22 23 public void setValue(Object value) { 24 values = new ArrayList<Object>(); 25 values.add(value); 26 } 27 28 public String getValuePath() { 29 return valuePath; 30 } 31 32 public void setValuePath(String valuePath) { 33 this.valuePath = valuePath; 34 } 35 36 public Constraint getConstraint() { 37 return constraint; 38 } 39 40 public void setConstraint(Constraint constraint) { 41 this.constraint = constraint; 42 } 43 }