Package com.morpheusdata.model
Class ReportResultRow
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.ReportResultRow
- All Implemented Interfaces:
Serializable
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.
- Since:
- 0.8.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected ReportResultprotected Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDataMap(Map<String, Object> dataMap) voidsetDisplayOrder(Long displayOrder) voidsetReportResult(ReportResult reportResult) voidsetSection(String section) Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
SECTION_MAIN
- See Also:
-
SECTION_HEADER
- See Also:
-
SECTION_FOOTER
- See Also:
-
reportResult
-
section
-
displayOrder
-
dataMap
-
-
Constructor Details
-
ReportResultRow
public ReportResultRow()
-
-
Method Details
-
getReportResult
-
setReportResult
-
getSection
-
setSection
-
getDisplayOrder
-
setDisplayOrder
-
getDataMap
-
setDataMap
-