Interface BeanPropertyValidation<T>

Type Parameters:
T - value type to validate
All Superinterfaces:
PropertyValidation
All Known Subinterfaces:
PropertyBufferingValidation<T>
All Known Implementing Classes:
ObservableListBuffering, ObservableMapBuffering, ObservableSetBuffering, SimpleObjectPropertyBuffering

public interface BeanPropertyValidation<T> extends PropertyValidation
PropertyValidation extension using Bean validation.
Author:
BenoƮt Moreau (ben.12)
See Also:
  • Validation
  • Validator
  • Field Details

    • DEFAULT_VALIDATOR

      static final jakarta.validation.Validator DEFAULT_VALIDATOR
      Default Validator.
  • Method Details

    • get

      T get()
      Returns:
      value to validate
    • getBeanType

      Class<?> getBeanType()
      Returns:
      bean type containing the value to validate
    • getPropertyName

      String getPropertyName()
      Returns:
      property name in the getBeanType() to validate
    • validate

      default void validate()
      Validate property value.