@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Currency.List.class) @ReportAsSingleViolation public @interface Currency
MonetaryAmount
has to be in the right CurrencyUnit
.Copyright © 2021 JBoss by Red Hat. All rights reserved.