com.holonplatform.vaadin.components

## Interface Validatable

- All Known Subinterfaces:
    PropertyInputForm, PropertyInputGroup, ValidatableInput<V>

      public interface Validatable

  Interface to provide value validation support for a component, using the current component value as the value to validate.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    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.

- - ### Method Detail

    - #### validate

          void validate()
                 throws com.holonplatform.core.Validator.ValidationException

      Checks the validity of the current component value against every registered validator, if any. If the value is not valid, an `Validator.ValidationException` is thrown.

      The `Validator.ValidationException` is `Localizable`, providing optional message code and arguments for validation message localization.

      Throws:
        `com.holonplatform.core.Validator.ValidationException` - If the value is not valid

    - #### isValid

          default boolean isValid()

      Check if the current value is valid, swallowing any validation exception.
      Returns:
        `true` if the current value is valid, `false` otherwise
      See Also:
        `validate()`

Copyright © 2019 The Holon Platform. All rights reserved.