Annotation Type Currency
-
@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @ReportAsSingleViolation public @interface Currency
TheMonetaryAmounthas to be in the rightCurrencyUnit.- Since:
- 5.4
- Author:
- Guillaume Smet