org.kuali.rice.krad.datadictionary.validation.constraint
Class CaseConstraint
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.CaseConstraint
- All Implemented Interfaces:
- Serializable, Constraint
public class CaseConstraint
- extends BaseConstraint
A case constraint is a constraint that is imposed only when a certain condition is met, for example, if the country attribute value is "USA",
then a prerequisite constraint may be imposed that the 'State' attribute is non-null.
This class is a direct copy of one that was in Kuali Student.
- 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 |
whenConstraint
protected List<WhenConstraint> whenConstraint
propertyName
protected String propertyName
operator
protected String operator
caseSensitive
protected boolean caseSensitive
CaseConstraint
public CaseConstraint()
getWhenConstraint
public List<WhenConstraint> getWhenConstraint()
setWhenConstraint
public void setWhenConstraint(List<WhenConstraint> whenConstraint)
getPropertyName
public String getPropertyName()
setPropertyName
public void setPropertyName(String propertyName)
getOperator
public String getOperator()
setOperator
public void setOperator(String operator)
isCaseSensitive
public boolean isCaseSensitive()
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.