Package org.openxava.annotations
Annotation Type Money
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Money
BigDecimal used to represent money.The data type is BigDecimal with 15 for size and 2 for scale. Applies to properties.
Example:
@Money private BigDecimal amount;
It's synonymous of @Stereotype("MONEY").- Since:
- 6.6
- Author:
- Javier Paniza