net.sourceforge.annovalidator.validation
Interface ValidationResult
public interface ValidationResult
Interface for classes that deal with validation errors for specific
frameworks, allowing for multiple ways of handling validation results.
|
Method Summary |
void |
recordValidationViolation(java.lang.String field,
java.lang.String errorCode,
java.lang.Object value)
Records a violation of a validation rule for field. |
recordValidationViolation
void recordValidationViolation(java.lang.String field,
java.lang.String errorCode,
java.lang.Object value)
- Records a violation of a validation rule for
field.
- Parameters:
field - The field that has violated the validation rule.errorCode - The message source key associated with the violated rule.value - The value for fieldName that caused the violation.
Copyright © 2008. All Rights Reserved.