@Deprecated public class ReportSchema extends BaseOpenmrsMetadata implements Parameterizable
ReportService.evaluate(ReportSchema, org.openmrs.Cohort, EvaluationContext)
Evaluating a report really means evaluating all the DataSetDefinitions it contains, resulting in
a ReportData
The "filter" represents an (optional) extra filter that is applied to the input cohort before the DataSetDefinitions ever see it.
Constructor and Description |
---|
ReportSchema()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataSetDefinition(DataSetDefinition definition)
Deprecated.
|
List<DataSetDefinition> |
getDataSetDefinitions()
Deprecated.
Returns List
|
String |
getDescription()
Deprecated.
Returns the description of this ReportSchema
|
CohortDefinition |
getFilter()
Deprecated.
Returns the filter
|
Integer |
getId()
Deprecated.
|
String |
getName()
Deprecated.
Returns the name of the ReportSchema
|
List<Parameter> |
getParameters()
Deprecated.
Looks through the datasetdefinitions and cohorts to get the rquired parameters TODO
|
List<Parameter> |
getReportParameters()
Deprecated.
Get all ReportParameters defined for this schema.
|
Integer |
getReportSchemaId()
Deprecated.
Returns the ReportSchema Id
|
void |
setDataSetDefinitions(List<DataSetDefinition> definitions)
Deprecated.
Set List
|
void |
setDescription(String description)
Deprecated.
Set a description for this ReportSchema
|
void |
setFilter(CohortDefinition filter)
Deprecated.
Set the filter
|
void |
setId(Integer id)
Deprecated.
|
void |
setName(String name)
Deprecated.
Set a name for the ReportSchema
|
void |
setReportParameters(List<Parameter> reportParameters)
Deprecated.
Sets List
|
void |
setReportSchemaId(Integer reportSchemaId)
Deprecated.
Set the Report Schema Id
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setRetired, setRetiredBy, setRetireReason
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUuid, setUuid
public void addDataSetDefinition(DataSetDefinition definition)
public Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public void setReportSchemaId(Integer reportSchemaId)
reportSchemaId
- public Integer getReportSchemaId()
public void setName(String name)
setName
in interface OpenmrsMetadata
setName
in class BaseOpenmrsMetadata
name
- String
name to setpublic String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
public void setDescription(String description)
setDescription
in interface OpenmrsMetadata
setDescription
in class BaseOpenmrsMetadata
description
- public String getDescription()
getDescription
in interface OpenmrsMetadata
getDescription
in class BaseOpenmrsMetadata
String
description of the ReportSchemapublic void setFilter(CohortDefinition filter)
filter
- public CohortDefinition getFilter()
CohortDefinition
public void setReportParameters(List<Parameter> reportParameters)
reportParameters
- this schema's defined parameterspublic List<Parameter> getReportParameters()
getParameters()
for that.public void setDataSetDefinitions(List<DataSetDefinition> definitions)
definitions
- public List<DataSetDefinition> getDataSetDefinitions()
public List<Parameter> getParameters()
getParameters
in interface Parameterizable
Parameterizable.getParameters()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.