In the following table, we are going to list all available built-in constraints in the bean validation 2.0 APIs, with explanations and examples. For more detailed information, you can check the complete bean validation 2.0 API docs:
|
Constraint |
Explanation |
|
@AssertFalse/AssertTrue |
|
|
@DecimalMax/DecimalMin |
|