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
PropertyValidation extension using Bean validation.
- Author:
- BenoƮt Moreau (ben.12)
- See Also:
-
Property Summary
Properties inherited from interface com.ben12.reta.beans.property.validation.PropertyValidation
infoValidity, validity
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final jakarta.validation.Validator
DefaultValidator
. -
Method Summary
Methods inherited from interface com.ben12.reta.beans.property.validation.PropertyValidation
bindValidation, infoValidityProperty, unbindValidation, validityProperty
-
Field Details
-
DEFAULT_VALIDATOR
static final jakarta.validation.Validator DEFAULT_VALIDATORDefaultValidator
.
-
-
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.
-