Package io.jmix.reports.entity
Class ReportValueFormat
java.lang.Object
io.jmix.reports.entity.ReportValueFormat
- All Implemented Interfaces:
ReportFieldFormat
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
void
setFormatString
(String formatString) void
setGroovyScript
(Boolean groovyScript) void
void
void
setValueName
(String valueName)
-
Field Details
-
id
-
valueName
-
formatString
-
report
-
groovyScript
-
-
Constructor Details
-
ReportValueFormat
public ReportValueFormat()
-
-
Method Details
-
getId
-
setId
-
getReport
-
setReport
-
getValueName
-
setValueName
-
getFormatString
-
setFormatString
-
getGroovyScript
-
setGroovyScript
-
getName
- Specified by:
getName
in interfaceReportFieldFormat
- Returns:
- formatted field name. Should also contain all parent band names. Example: Band1.Band2.field1
-
getFormat
- Specified by:
getFormat
in interfaceReportFieldFormat
- Returns:
- format string Example: ##,# for decimals, dd-MM-yyyy for dates, etc.
-
isGroovyScript
- Specified by:
isGroovyScript
in interfaceReportFieldFormat
- Returns:
- boolean
true
if the groovy script, otherwisefalse
-