Module is.codion.framework.domain
Interface AttributeValidator<T>
- Type Parameters:
T- the value type
- All Superinterfaces:
Serializable
Validates the value for an
Attribute.
Note that this validator is only called for non-null values, use EntityValidator for null validation.
- See Also:
-
Method Summary
-
Method Details
-
validate
Validates the given value. This method is only called for non-null values.- Parameters:
value- the value to validate- Throws:
IllegalArgumentException- in case the value is invalid
-