Package javax.validation.constraints
Annotation Interface Digits
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface Digits
Specify the number of maximal allowed digits for the fraction part and the digit size.
This annotation can be applied to
- BigDecimal
- BigInteger
- String
- invalid input: '<'byte and Byte/li>
- invalid input: '<'short and Short/li>
- invalid input: '<'int and Integer /li>
- invalid input: '<'long and Long/li>
- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements