public class ComplexValidatorManager extends Object implements ValidatorManager
FIELD_TITLE_KEY, VALIDATOR_MANAGER_BEAN_NAME, XSTEAM_PACKAGE_NAME
Constructor and Description |
---|
ComplexValidatorManager() |
Modifier and Type | Method and Description |
---|---|
List<ValidatorManager> |
getValidatorManagers() |
void |
setValidatorManagers(List<ValidatorManager> validatorManagers) |
void |
setValidatorMapStorage(ValidatorMapStorage storage)
设置存储校验映射存储对象
|
void |
validate(Object object,
ValidateResult result)
校验接口
|
void |
validate(String scene,
Object object,
ValidateResult result)
校验接口
|
public void validate(String scene, Object object, ValidateResult result)
ValidatorManager
validate
in interface ValidatorManager
object
- 校验场景result
- 校验的结果public List<ValidatorManager> getValidatorManagers()
public void setValidatorManagers(List<ValidatorManager> validatorManagers)
public void setValidatorMapStorage(ValidatorMapStorage storage)
ValidatorManager
setValidatorMapStorage
in interface ValidatorManager
public void validate(Object object, ValidateResult result)
ValidatorManager
validate
in interface ValidatorManager
object
- 需要校验的对象result
- 校验的结果Copyright © 2006–2018 TinyGroup. All rights reserved.