@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.
|
java.util.List<DataSetDefinition> |
getDataSetDefinitions()
Deprecated.
Returns List
|
java.lang.String |
getDescription()
Deprecated.
Returns the description of this ReportSchema
|
CohortDefinition |
getFilter()
Deprecated.
Returns the filter
|
java.lang.Integer |
getId()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
Returns the name of the ReportSchema
|
java.util.List<Parameter> |
getParameters()
Deprecated.
Looks through the datasetdefinitions and cohorts to get the rquired parameters TODO
|
java.util.List<Parameter> |
getReportParameters()
Deprecated.
Get all ReportParameters defined for this schema.
|
java.lang.Integer |
getReportSchemaId()
Deprecated.
Returns the ReportSchema Id
|
void |
setDataSetDefinitions(java.util.List<DataSetDefinition> definitions)
Deprecated.
Set List
|
void |
setDescription(java.lang.String description)
Deprecated.
Set a description for this ReportSchema
|
void |
setFilter(CohortDefinition filter)
Deprecated.
Set the filter
|
void |
setId(java.lang.Integer id)
Deprecated.
|
void |
setName(java.lang.String name)
Deprecated.
Set a name for the ReportSchema
|
void |
setReportParameters(java.util.List<Parameter> reportParameters)
Deprecated.
Sets List
|
void |
setReportSchemaId(java.lang.Integer reportSchemaId)
Deprecated.
Set the Report Schema Id
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setRetired, setRetiredBy, setRetireReasonequals, getUuid, hashCode, setUuid, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic void addDataSetDefinition(DataSetDefinition definition)
public java.lang.Integer getId()
getId in interface OpenmrsObjectOpenmrsObject.getId()public void setId(java.lang.Integer id)
setId in interface OpenmrsObjectid - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)public void setReportSchemaId(java.lang.Integer reportSchemaId)
reportSchemaId - public java.lang.Integer getReportSchemaId()
public void setName(java.lang.String name)
setName in interface OpenmrsMetadatasetName in class BaseOpenmrsMetadataname - String name to setpublic java.lang.String getName()
getName in interface OpenmrsMetadatagetName in class BaseOpenmrsMetadatapublic void setDescription(java.lang.String description)
setDescription in interface OpenmrsMetadatasetDescription in class BaseOpenmrsMetadatadescription - public java.lang.String getDescription()
getDescription in interface OpenmrsMetadatagetDescription in class BaseOpenmrsMetadataString description of the ReportSchemapublic void setFilter(CohortDefinition filter)
filter - public CohortDefinition getFilter()
CohortDefinitionpublic void setReportParameters(java.util.List<Parameter> reportParameters)
reportParameters - this schema's defined parameterspublic java.util.List<Parameter> getReportParameters()
getParameters() for that.public void setDataSetDefinitions(java.util.List<DataSetDefinition> definitions)
definitions - public java.util.List<DataSetDefinition> getDataSetDefinitions()
public java.util.List<Parameter> getParameters()
getParameters in interface ParameterizableParameterizable.getParameters()Copyright © 2018 OpenMRS Inc.. All Rights Reserved.