Package com.morpheusdata.model
Class ReportResultRow
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.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.
- Since:
- 0.8.0
- See Also:
ReportResult
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>
dataMap
protected java.lang.Long
displayOrder
protected ReportResult
reportResult
protected java.lang.String
section
static java.lang.String
SECTION_FOOTER
static java.lang.String
SECTION_HEADER
static java.lang.String
SECTION_MAIN
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description ReportResultRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getDataMap()
java.lang.Long
getDisplayOrder()
ReportResult
getReportResult()
java.lang.String
getSection()
void
setDataMap(java.util.Map<java.lang.String,java.lang.Object> dataMap)
void
setDisplayOrder(java.lang.Long displayOrder)
void
setReportResult(ReportResult reportResult)
void
setSection(java.lang.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 Detail
-
SECTION_MAIN
public static final java.lang.String SECTION_MAIN
- See Also:
- Constant Field Values
-
SECTION_HEADER
public static final java.lang.String SECTION_HEADER
- See Also:
- Constant Field Values
-
SECTION_FOOTER
public static final java.lang.String SECTION_FOOTER
- See Also:
- Constant Field Values
-
reportResult
protected ReportResult reportResult
-
section
protected java.lang.String section
-
displayOrder
protected java.lang.Long displayOrder
-
dataMap
protected java.util.Map<java.lang.String,java.lang.Object> dataMap
-
-
Method Detail
-
getReportResult
public ReportResult getReportResult()
-
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)
-
-