@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Digits.List.class) @Documented @Constraint(validatedBy={}) public @interface Digits
Supported types are:
BigDecimal
BigInteger
CharSequence
byte
, short
, int
, long
, and their respective
wrapper types
null
elements are considered valid.
public abstract int integer
public abstract int fraction
public abstract java.lang.String message
public abstract java.lang.Class<? extends Payload>[] payload