public interface Validatable
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isValid()
Check if the current value is valid, swallowing any validation exception.
|
void |
validate()
Checks the validity of the current component value against every registered validator, if any.
|
void validate()
throws com.holonplatform.core.Validator.ValidationException
Validator.ValidationException is thrown.
The Validator.ValidationException is Localizable, providing optional message code and arguments for
validation message localization.
com.holonplatform.core.Validator.ValidationException - If the value is not validdefault boolean isValid()
true if the current value is valid, false otherwisevalidate()Copyright © 2019 The Holon Platform. All rights reserved.