org.kuali.rice.kns.datadictionary.validation.processor
Class ExistenceConstraintProcessor

java.lang.Object
  extended by org.kuali.rice.kns.datadictionary.validation.processor.OptionalElementConstraintProcessor<ExistenceConstraint>
      extended by org.kuali.rice.kns.datadictionary.validation.processor.ExistenceConstraintProcessor
All Implemented Interfaces:
ConstraintProcessor<Object,ExistenceConstraint>

public class ExistenceConstraintProcessor
extends OptionalElementConstraintProcessor<ExistenceConstraint>

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

Field Summary
private static String CONSTRAINT_NAME
           
 
Constructor Summary
ExistenceConstraintProcessor()
           
 
Method Summary
 Class<? extends Constraint> getConstraintType()
           
 String getName()
           
 ProcessorResult process(DictionaryValidationResult result, Object value, ExistenceConstraint constraint, AttributeValueReader attributeValueReader)
           
protected  ConstraintValidationResult processSingleExistenceConstraint(DictionaryValidationResult result, Object value, ExistenceConstraint constraint, AttributeValueReader attributeValueReader)
           
 
Methods inherited from class org.kuali.rice.kns.datadictionary.validation.processor.OptionalElementConstraintProcessor
isOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTRAINT_NAME

private static final String CONSTRAINT_NAME
See Also:
Constant Field Values
Constructor Detail

ExistenceConstraintProcessor

public ExistenceConstraintProcessor()
Method Detail

process

public ProcessorResult process(DictionaryValidationResult result,
                               Object value,
                               ExistenceConstraint constraint,
                               AttributeValueReader attributeValueReader)
                        throws AttributeValidationException
Throws:
AttributeValidationException
See Also:
org.kuali.rice.kns.datadictionary.validation.processor.ConstraintProcessor#process(DictionaryValidationResult, Object, org.kuali.rice.kns.datadictionary.validation.Validatable, org.kuali.rice.kns.datadictionary.validation.AttributeValueReader)

getName

public String getName()

getConstraintType

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

processSingleExistenceConstraint

protected ConstraintValidationResult processSingleExistenceConstraint(DictionaryValidationResult result,
                                                                      Object value,
                                                                      ExistenceConstraint constraint,
                                                                      AttributeValueReader attributeValueReader)
                                                               throws AttributeValidationException
Throws:
AttributeValidationException


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