public class PrerequisiteConstraintProcessor extends BasePrerequisiteConstraintProcessor<PrerequisiteConstraint>
dataDictionaryService, dateTimeService
Constructor and Description |
---|
PrerequisiteConstraintProcessor() |
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,
PrerequisiteConstraint constraint,
AttributeValueReader attributeValueReader)
process the provided constraint
|
processPrerequisiteConstraint
getDataDictionaryService, getDateTimeService, isOptional, setDataDictionaryService, setDateTimeService
public PrerequisiteConstraintProcessor()
public ProcessorResult process(DictionaryValidationResult result, Object value, PrerequisiteConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
result
- - holds dictionary validation resultsvalue
- - the value of the attributeconstraint
- - the constraint to processattributeValueReader
- - - provides access to the attribute being validatedAttributeValidationException
public String getName()
ConstraintProcessor
e.g. @see CollectionSizeConstraintProcessor.CONSTRAINT_NAME
public Class<? extends Constraint> getConstraintType()
ConstraintProcessor
Constraint
ConstraintProcessor.getConstraintType()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.