public class LengthConstraintProcessor extends MandatoryElementConstraintProcessor<LengthConstraint>
dataDictionaryService, dateTimeService
Constructor and Description |
---|
LengthConstraintProcessor() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Constraint> |
getConstraintType() |
String |
getName() |
ProcessorResult |
process(DictionaryValidationResult result,
Object value,
LengthConstraint constraint,
AttributeValueReader attributeValueReader) |
protected ConstraintValidationResult |
processSingleLengthConstraint(DictionaryValidationResult result,
Object value,
LengthConstraint constraint,
AttributeValueReader attributeValueReader) |
protected ConstraintValidationResult |
validateLength(DictionaryValidationResult result,
String value,
LengthConstraint constraint,
AttributeValueReader attributeValueReader) |
getDataDictionaryService, getDateTimeService, isOptional, setDataDictionaryService, setDateTimeService
public LengthConstraintProcessor()
public ProcessorResult process(DictionaryValidationResult result, Object value, LengthConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
AttributeValidationException
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 Class<? extends Constraint> getConstraintType()
protected ConstraintValidationResult processSingleLengthConstraint(DictionaryValidationResult result, Object value, LengthConstraint constraint, AttributeValueReader attributeValueReader) throws AttributeValidationException
AttributeValidationException
protected ConstraintValidationResult validateLength(DictionaryValidationResult result, String value, LengthConstraint constraint, AttributeValueReader attributeValueReader) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.