public class ExistenceConstraintProcessor extends OptionalElementConstraintProcessor<ExistenceConstraint>
| Constructor and Description |
|---|
ExistenceConstraintProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Constraint> |
getConstraintType()
gets the java class type of the constraint that this contraint processor handles
|
String |
getName()
gets a descriptive name of this constraint processor
|
ProcessorResult |
process(DictionaryValidationResult result,
Object value,
ExistenceConstraint constraint,
AttributeValueReader attributeValueReader)
process the provided constraint
|
protected ConstraintValidationResult |
processSingleExistenceConstraint(DictionaryValidationResult result,
Object value,
ExistenceConstraint constraint,
AttributeValueReader attributeValueReader) |
isOptionalpublic ExistenceConstraintProcessor()
public ProcessorResult process(DictionaryValidationResult result, Object value, ExistenceConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
ConstraintProcessorresult - - holds dictionary validation resultsvalue - - the value of the attributeconstraint - - the constraint to processattributeValueReader - - - provides access to the attribute being validatedAttributeValidationException\public String getName()
ConstraintProcessore.g. @see CollectionSizeConstraintProcessor.CONSTRAINT_NAME
public Class<? extends Constraint> getConstraintType()
ConstraintProcessorConstraintConstraintProcessor.getConstraintType()protected ConstraintValidationResult processSingleExistenceConstraint(DictionaryValidationResult result, Object value, ExistenceConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
AttributeValidationExceptionCopyright © 2005–2014 The Kuali Foundation. All rights reserved.