Package com.morpheusdata.model
Class ReportResultRow
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.ReportResultRow
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
Modifier and TypeFieldDescriptionprotected Long
protected ReportResult
protected String
static final String
static final String
static final String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDataMap
(Map<String, Object> dataMap) void
setDisplayOrder
(Long displayOrder) void
setReportResult
(ReportResult reportResult) void
setSection
(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
-