Annotation Type Currency
@Documented
@Constraint(validatedBy={})
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
@ReportAsSingleViolation
public @interface Currency
The
MonetaryAmount
has to be in the right CurrencyUnit
.- Since:
- 5.4
- Author:
- Guillaume Smet
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Defines several@Currency
annotations on the same element. -
Required Element Summary
-
Optional Element Summary