@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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.