-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.math.BigDecimal.class, validatorClass=NumericConstraintValidator.class) public @interface Numeric
The annotated element must be a decimal within accepted range (scale and precision).- Since:
- 0.1
- Author:
- nedis
- See Also:
MinNumber,MaxNumber,NumericConstraintValidator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intscaleReturns the expected scale.
-