org.kuali.rice.krad.datadictionary.validation.constraint
Class WhenConstraint
java.lang.Object
   org.kuali.rice.krad.datadictionary.validation.constraint.WhenConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.WhenConstraint
- All Implemented Interfaces: 
- Serializable, Constraint
- public class WhenConstraint 
- extends Object- implements Constraint
A when constraint is a child of a case constraint. It provides a specific additional constraint that should be processed when 
 the condition itself is true. 
 
 So a case constraint on country, might have a when constraint with value='USA', and another with value='Canada'. Each of these
 when constraints would define a constraint of their own that would only be processed when the country was USA, or when the country 
 was Canada.
- Since:
- 1.1
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
values
protected List<Object> values
valuePath
protected String valuePath
constraint
protected Constraint constraint
WhenConstraint
public WhenConstraint()
getValues
public List<Object> getValues()
- 
 
- 
 
setValues
public void setValues(List<Object> values)
- 
 
- 
 
setValue
public void setValue(Object value)
- 
 
- 
 
getValuePath
public String getValuePath()
- 
 
- 
 
setValuePath
public void setValuePath(String valuePath)
- 
 
- 
 
getConstraint
public Constraint getConstraint()
- 
 
- 
 
setConstraint
public void setConstraint(Constraint constraint)
- 
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.