Annotation Interface ZerosFilled
×News: OpenXava 7.7 released - March 9 · Read more
Used to fill the field with zeros, the amount of zero is what remains to complete the field (Leading zero).
Applies to properties.
Example:
@ZerosFilled @Column(length = 4) private int number;It's synonymous of @Stereotype("ZEROS_FILLED") and @Stereotype("RELLENADO_CON_CEROS").
- Since:
- 7.1
- Author:
- Chungyen Tsai