@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 © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.