| java.lang.Object nl.knowlogy.validation.validators.BasePropertyValidator
All known Subclasses: nl.knowlogy.validation.validators.NumberValidator, nl.knowlogy.validation.validators.IsValidValidator, nl.knowlogy.validation.validators.CustomPropertyValidator, nl.knowlogy.validation.validators.IsRequiredValidator, nl.knowlogy.validation.validators.PatternValidator, nl.knowlogy.validation.validators.IsNotBlankValidator, nl.knowlogy.validation.validators.AllowedValuesValidator, nl.knowlogy.validation.validators.MinLengthValidator, nl.knowlogy.validation.validators.MaxLengthValidator,
BasePropertyValidator | abstract public class BasePropertyValidator implements PropertyValidation(Code) | |
BasePropertyValidator is a base class for property validators.
Subclass this class for building specific validators.
author: Robert |
Field Summary | |
final protected static Logger | logger |
logger | final protected static Logger logger(Code) | | |
BasePropertyValidator | public BasePropertyValidator(String propertyName)(Code) | | |
getDefaultErrorCode | abstract public String getDefaultErrorCode()(Code) | | |
getErrorCode | public String getErrorCode()(Code) | | Returns a specific errorcode, if setted, otherwise the defaulterrorcode.
Each subclass must specify the defaultErrorCode.
a specific errorcode, if setted, otherwise the defaulterrorcode. |
setPropertyName | public void setPropertyName(String value)(Code) | | |
|
|