@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
.Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
The
CurrencyUnit codes (e.g. |
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved