Package io.jmix.reports.annotation
Annotation Interface ValueFormatDef
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(RepeatableValueFormatDef.class)
public @interface ValueFormatDef
Defines a value format - element of the report structure.
Value formats are used to fine-tune output formatting for any field produced by the report.
This annotation can be used several times on the report class if it has several value formats. Additional associated logic can be declared by creating a method annotated with
Model object is
This annotation can be used several times on the report class if it has several value formats. Additional associated logic can be declared by creating a method annotated with
ValueFormatDelegate.
Model object is
ReportValueFormat.- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
-
format
String formatField format. For number values specify the format according to theDecimalFormatrules, for dates -SimpleDateFormat. Built-in formats for inserting an image, html blocks and others are also available - check the documentation.- Default:
- ""
-