Class ReportResultRow

  • public class ReportResultRow
    extends MorpheusModel
    Represents a single data entry in a generated report result. This contains a JSON DataMap that should be consistent by section for exporting and display. A section could be something like 'main' or 'header' to represent the category of data. This can be used in the output render template to designate where it is displayed. Display Order is also very important as this sets the order in which the record is output to the final report file.

    NOTE: the SECTION_MAIN section is the primary section for data export. it should be your primary section and is therefore the default section.

    See Also:
    • Field Detail

      • section

        protected java.lang.String section
      • displayOrder

        protected java.lang.Long displayOrder
      • dataMap

        protected java.util.Map<java.lang.String,​java.lang.Object> dataMap
    • Constructor Detail

      • ReportResultRow

        public ReportResultRow()
    • Method Detail

      • setReportResult

        public void setReportResult​(ReportResult reportResult)
      • getSection

        public java.lang.String getSection()
      • setSection

        public void setSection​(java.lang.String section)
      • getDisplayOrder

        public java.lang.Long getDisplayOrder()
      • setDisplayOrder

        public void setDisplayOrder​(java.lang.Long displayOrder)
      • getDataMap

        public java.util.Map<java.lang.String,​java.lang.Object> getDataMap()
      • setDataMap

        public void setDataMap​(java.util.Map<java.lang.String,​java.lang.Object> dataMap)