Class ReportFieldFormatImpl

java.lang.Object
io.jmix.reports.yarg.structure.impl.ReportFieldFormatImpl
All Implemented Interfaces:
ReportFieldFormat, Serializable

public class ReportFieldFormatImpl extends Object implements ReportFieldFormat
See Also:
  • Field Details

    • name

      protected String name
    • format

      protected String format
    • groovyScript

      protected Boolean groovyScript
  • Constructor Details

    • ReportFieldFormatImpl

      public ReportFieldFormatImpl(String name, String format)
    • ReportFieldFormatImpl

      public ReportFieldFormatImpl(String name, String format, Boolean groovyScript)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface ReportFieldFormat
      Returns:
      formatted field name. Should also contain all parent band names. Example: Band1.Band2.field1
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface ReportFieldFormat
      Returns:
      format string Example: ##,# for decimals, dd-MM-yyyy for dates, etc.
    • isGroovyScript

      public Boolean isGroovyScript()
      Specified by:
      isGroovyScript in interface ReportFieldFormat
      Returns:
      boolean true if the groovy script, otherwise false