Hibernate Validator specific constraints.
This package is part of the public Hibernate Validator API.
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | CodePointLength
Validate that the code point length of a character sequence is between min and max included. |
| public @interface | ConstraintComposition
Boolean operator that is applied to all constraints of a composing constraint annotation. |
| public @interface | CreditCardNumber
The annotated element has to represent a valid credit card number. |
| public @interface | Currency
The |
| public @interface | |
| public @interface | Email
Deprecated
use the standard The string has to be a well-formed email address.
jakarta. constraint instead
|
| public @interface | |
| public @interface | Length
Validate that the string is between min and max included. |
| public @interface | LuhnCheck
Luhn algorithm check constraint. |
| public @interface | Mod10Check
@Modulo 10 check constraint. |
| public @interface | Mod11Check
Modulo 11 check constraint. |
| public @interface | ModCheck
Deprecated
As of release 5.1.0, replaced by Modulo check constraint.
Mod10Check and Mod11Check
|
| public @interface | Normalized
Validate that a character sequence is of normalization form. |
| public @interface | NotBlank
Deprecated
use the standard Validate that the annotated string is not jakarta. constraint instead
null or empty.
|
| public @interface | NotEmpty
Deprecated
use the standard Asserts that the annotated string, collection, map or array is not jakarta. constraint instead
null or empty.
|
| public @interface | ParameterScriptAssert
A method-level constraint, that evaluates a script expression against the annotated method or constructor. |
| public @interface | Range
The annotated element has to be in the appropriate range. |
| public @interface | ScriptAssert
A class-level constraint, that evaluates a script expression against the annotated element. |
| public @interface | UniqueElements
Validates that every object in the provided |
| public @interface | URL
Validates the annotated string is an URL. |
| public @interface |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | CompositionType
The Enum |