public class ValidCharactersConstraintProcessor extends MandatoryElementConstraintProcessor<ValidCharactersConstraint>
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATE_METHOD |
dataDictionaryService, dateTimeService
Constructor and Description |
---|
ValidCharactersConstraintProcessor() |
getDataDictionaryService, getDateTimeService, isOptional, setDataDictionaryService, setDateTimeService
public static final String VALIDATE_METHOD
public ValidCharactersConstraintProcessor()
public ProcessorResult process(DictionaryValidationResult result, Object value, ValidCharactersConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
ConstraintProcessor
result
- - holds dictionary validation resultsvalue
- - the value of the attributeconstraint
- - the constraint to processattributeValueReader
- - - provides access to the attribute being validatedAttributeValidationException
org.kuali.rice.krad.datadictionary.validation.processor.ConstraintProcessor#process(DictionaryValidationResult,
Object, org.kuali.rice.krad.datadictionary.validation.capability.Validatable,
org.kuali.rice.krad.datadictionary.validation.AttributeValueReader)
public String getName()
ConstraintProcessor
e.g. @see CollectionSizeConstraintProcessor.CONSTRAINT_NAME
public Class<? extends Constraint> getConstraintType()
ConstraintProcessor
Constraint
ConstraintProcessor.getConstraintType()
protected ConstraintValidationResult processSingleValidCharacterConstraint(DictionaryValidationResult result, Object value, ValidCharactersConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
AttributeValidationException
protected ConstraintValidationResult doProcessFormattableValidCharConstraint(DictionaryValidationResult result, ValidCharactersConstraint validCharsConstraint, Formatable definition, Object value, AttributeValueReader attributeValueReader) throws AttributeValidationException
AttributeValidationException
protected ConstraintValidationResult doProcessValidCharConstraint(ValidCharactersConstraint validCharsConstraint, Object value)
protected ConstraintValidationResult processFormatterValidation(DictionaryValidationResult result, Class<?> formatterClass, String entryName, String attributeName, String parsedAttributeValue, String errorKeyPrefix)
protected ConstraintValidationResult validateDateOrder(String firstDateTime, String secondDateTime, String entryName, String attributeName)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.