Example usage for Java org.springframework.validation BeanPropertyBindingResult fields, constructors, methods, implement or subclass
The text is from its open source code.
BeanPropertyBindingResult(@Nullable Object target, String objectName) Creates a new instance of the BeanPropertyBindingResult class. | |
BeanPropertyBindingResult(@Nullable Object target, String objectName, boolean autoGrowNestedPaths, int autoGrowCollectionLimit) Creates a new instance of the BeanPropertyBindingResult class. |
void | addError(ObjectError error) |
List | getAllErrors() |
int | getErrorCount() |
List | getFieldErrors() |
ConfigurablePropertyAccessor | getPropertyAccessor() Returns the BeanWrapper that this instance uses. |
PropertyEditorRegistry | getPropertyEditorRegistry() Returns the underlying PropertyAccessor. |
boolean | hasErrors() |
boolean | hasFieldErrors(String field) |
void | initConversion(ConversionService conversionService) |
void | reject(String errorCode, String defaultMessage) |
void | rejectValue(@Nullable String field, String errorCode, String defaultMessage) |
void | setMessageCodesResolver(MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes. |
String | toString() |