Package | Description |
---|---|
cn.hutool.extra.validation |
基于JSR-380标准的校验工具类,封装了javax.validation的API
|
Modifier and Type | Method and Description |
---|---|
List<BeanValidationResult.ErrorMessage> |
BeanValidationResult.getErrorMessages()
获取错误信息列表
|
Modifier and Type | Method and Description |
---|---|
BeanValidationResult |
BeanValidationResult.addErrorMessage(BeanValidationResult.ErrorMessage errorMessage)
增加错误信息
|
Modifier and Type | Method and Description |
---|---|
BeanValidationResult |
BeanValidationResult.setErrorMessages(List<BeanValidationResult.ErrorMessage> errorMessages)
设置错误信息列表
|
Copyright © 2024. All rights reserved.