@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface Digits
BigDecimal
BigInteger
CharSequence
byte
, short
, int
, long
, and their respective
wrapper typesnull
elements are considered valid.public abstract int integer
public abstract int fraction
public abstract String message
public abstract Class<?>[] groups
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.