Annotations
Beans can be annotated to indicate validations. They are set to fields. and these are some of the most common ones:
AssertTrue
Max
Min
NotNull
Usage
Applying validation groups:
The groups can be any class or interface.
Last updated
Was this helpful?