Interface ReportField

All Superinterfaces:
ReportOutput

public interface ReportField extends ReportOutput
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Disposes of any resources held by the field.
    A unique id for the field type.
    Generates context-less report output.
    Generates report output from a rest entity.
  • Method Details

    • getId

      String getId()
      A unique id for the field type.
      Returns:
      The field type id.
    • getOutput

      default List<ReportOutput> getOutput(RestData data)
      Generates report output from a rest entity. This will be called when the field is added within the "mainContent" part of the report profile.
      Parameters:
      data - The data to generate output for.
      Returns:
      Report output.
    • getOutput

      default List<ReportOutput> getOutput()
      Generates context-less report output. This will be called when the field is added directly to the "reportContent" part of the report profile and can be used for example to generate custom title pages.
      Returns:
      Report output.
    • dispose

      default void dispose()
      Disposes of any resources held by the field.