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

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

public class SimpleConstraintProcessor
extends MandatoryElementConstraintProcessor<SimpleConstraint>

Processor for simple constraint which takes out each constraining value it contains and calls the appropriate processor


Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.processor.MandatoryElementConstraintProcessor
dataDictionaryService, dateTimeService
 
Constructor Summary
SimpleConstraintProcessor()
           
 
Method Summary
 Class<? extends Constraint> getConstraintType()
           
 String getName()
           
 ProcessorResult process(DictionaryValidationResult result, Object value, SimpleConstraint constraint, AttributeValueReader attributeValueReader)
          Processes the SimpleConstraint by calling process on the other smaller constraints it represents and putting the results together in ProcessorResult
 
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

SimpleConstraintProcessor

public SimpleConstraintProcessor()
Method Detail

process

public ProcessorResult process(DictionaryValidationResult result,
                               Object value,
                               SimpleConstraint constraint,
                               AttributeValueReader attributeValueReader)
                        throws AttributeValidationException
Processes the SimpleConstraint by calling process on the other smaller constraints it represents and putting the results together in ProcessorResult

Returns:
Throws:
AttributeValidationException
See Also:
ConstraintProcessor.process(org.kuali.rice.krad.datadictionary.validation.result.DictionaryValidationResult, Object, org.kuali.rice.krad.datadictionary.validation.constraint.Constraint, org.kuali.rice.krad.datadictionary.validation.AttributeValueReader)

getName

public String getName()

getConstraintType

public Class<? extends Constraint> getConstraintType()


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