Package io.jmix.reports.annotation
Annotation Interface DataSetDef
Defines a data set as part of the
Model object is
BandDef.
Additional associated logic can be declared by creating a method annotated with DataSetDelegate.
Model object is
DataSet.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionType that determines how band data will be obtained. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionName of data store, if the SQL or JPQL query needs to be executed in the additional data store.Additional parameters forDataSetType.SINGLEandDataSetType.MULTItypes.Additional parameters forDataSetType.JPQLtype.Name of the band field used to merge data from multiple datasets inside one band.Data set name (optional).booleanFlag activating Groovy template processing of the query text.Query text forDataSetType.SQLandDataSetType.JPQLtypes.
-
Element Details
-
type
DataSetType typeType that determines how band data will be obtained. Note: GROOVY is not supported here, use DELEGATE instead.
-
-
-
name
String nameData set name (optional).
For CrosstabOrientation.CROSS) bands, its data sets must be named strictly according to convention:- Column headers -
${band_name}_dynamic_header - Row headers -
${band_name}_master_data - Main content -
${band_name}
- Default:
- ""
- Column headers -
-
json
Additional parameters forDataSetType.JPQLtype.- Default:
- @io.jmix.reports.annotation.JsonDataSetParameters
-
entity
EntityDataSetDef entityAdditional parameters forDataSetType.SINGLEandDataSetType.MULTItypes.- Default:
- @io.jmix.reports.annotation.EntityDataSetDef
-
linkParameterName
String linkParameterNameName of the band field used to merge data from multiple datasets inside one band.- Default:
- ""
-
dataStore
String dataStoreName of data store, if the SQL or JPQL query needs to be executed in the additional data store.- Default:
- ""
-
processTemplate
boolean processTemplateFlag activating Groovy template processing of the query text.- Default:
- false
-
query
String queryQuery text forDataSetType.SQLandDataSetType.JPQLtypes.- Default:
- ""
-