org.kuali.rice.krad.datadictionary.validation.constraint
Class PrerequisiteConstraint

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
      extended by org.kuali.rice.krad.datadictionary.validation.constraint.PrerequisiteConstraint
All Implemented Interfaces:
Serializable, Constraint

public class PrerequisiteConstraint
extends BaseConstraint

Prerequisite constraints require that some other attribute be non-empty in order for the constraint to be valid. So, a 7-digit US phone number might have a prerequisite of an area code, or an address street2 might have a prerequisite that street1 is non-empty.

Since:
1.1
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  String propertyName
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
applyClientSide, labelKey
 
Constructor Summary
PrerequisiteConstraint()
           
 
Method Summary
 String getPropertyName()
           
 void setPropertyName(String propertyName)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
getApplyClientSide, getLabelKey, getValidationMessageParams, setApplyClientSide, setLabelKey, setValidationMessageParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

protected String propertyName
Constructor Detail

PrerequisiteConstraint

public PrerequisiteConstraint()
Method Detail

getPropertyName

public String getPropertyName()

setPropertyName

public void setPropertyName(String propertyName)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.