public interface ValidateResult extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addError(ErrorDescription errorDescription)
添加错误描述
|
void |
addError(String name,
String errorInfo)
添加错误
|
List<ErrorDescription> |
getErrorList()
返回所有的错误信息
|
boolean |
hasError()
返回是否有错误
|
void addError(String name, String errorInfo)
field
- errorField
- errorInfo
- void addError(ErrorDescription errorDescription)
errorDescription
- List<ErrorDescription> getErrorList()
boolean hasError()
Copyright © 2006–2018 TinyGroup. All rights reserved.