类 ValidationErrors
java.lang.Object
cn.taketoday.context.properties.bind.validation.ValidationErrors
- 所有已实现的接口:
Iterable<ObjectError>
A collection of
ObjectErrors caused by bind validation failures.
Where possible, included FieldErrors will be OriginProvider.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Madhura Bhave, Harry Yang
-
方法详细资料
-
getName
Return the name of the item that was being validated.- 返回:
- the name of the item
-
getBoundProperties
Return the properties that were bound before validation failed.- 返回:
- the boundProperties
-
hasErrors
public boolean hasErrors() -
getAllErrors
Return the list of all validation errors.- 返回:
- the errors
-
iterator
- 指定者:
iterator在接口中Iterable<ObjectError>
-