@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Digits.List.class) @Documented @Constraint(validatedBy={}) public @interface Digits
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 String message
public abstract Class<?>[] groups
Copyright © 2019 JBoss by Red Hat. All rights reserved.