Package jakarta.validation.constraints
Annotation Type Digits
- 
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @Documented @Constraint(validatedBy={}) public @interface DigitsThe annotated element must be a number within accepted range.Supported types are:
BigDecimalBigIntegerCharSequencebyte,short,int,long, and their respective wrapper types
nullelements are considered valid.- Author:
 - Emmanuel Bernard
 
 
- 
- 
- 
payload
java.lang.Class<? extends Payload>[] payload
- Default:
 - {}
 
 
 - 
 
 -