super.handleAnnotation(annotation);
if (!(annotation instanceof CharFieldProperties)) return;
CharFieldProperties props = (CharFieldProperties)annotation;
if (props.maxLength() != 0) {
this.setMaxLength(props.maxLength());
}
}
@Override
public String clean(String value, Map<String, String> errors) throws ValidationException {