org.kuali.rice.krad.datadictionary.validation.processor
Class CaseConstraintProcessor

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.processor.MandatoryElementConstraintProcessor<CaseConstraint>
      extended by org.kuali.rice.krad.datadictionary.validation.processor.CaseConstraintProcessor
All Implemented Interfaces:
ConstraintProcessor<Object,CaseConstraint>

public class CaseConstraintProcessor
extends MandatoryElementConstraintProcessor<CaseConstraint>

This object processes 'case constraints', which are constraints that are imposed only in specific cases, for example, when a value is equal to some constant, or greater than some limit.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.processor.MandatoryElementConstraintProcessor
dataDictionaryService, dateTimeService
 
Constructor Summary
CaseConstraintProcessor()
           
 
Method Summary
 Class<? extends Constraint> getConstraintType()
           
 String getName()
           
 ProcessorResult process(DictionaryValidationResult result, Object value, CaseConstraint caseConstraint, AttributeValueReader attributeValueReader)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.processor.MandatoryElementConstraintProcessor
getDataDictionaryService, getDateTimeService, isOptional, setDataDictionaryService, setDateTimeService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseConstraintProcessor

public CaseConstraintProcessor()
Method Detail

process

public ProcessorResult process(DictionaryValidationResult result,
                               Object value,
                               CaseConstraint caseConstraint,
                               AttributeValueReader attributeValueReader)
                        throws AttributeValidationException
Throws:
AttributeValidationException
See Also:
org.kuali.rice.krad.datadictionary.validation.processor.ConstraintProcessor#process(DictionaryValidationResult, Object, org.kuali.rice.krad.datadictionary.validation.capability.Constrainable, org.kuali.rice.krad.datadictionary.validation.AttributeValueReader)

getName

public String getName()

getConstraintType

public Class<? extends Constraint> getConstraintType()
See Also:
ConstraintProcessor.getConstraintType()


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