|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.BaseOpenmrsMetadata org.openmrs.report.ReportSchema
@Deprecated public class ReportSchema
This class holds the different parts of a report before generation. A ReportSchema will typically
be evaluated upon a Cohort, in the context of an EvaluationContext. See
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 Summary | |
---|---|
ReportSchema()
Deprecated. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.openmrs.BaseOpenmrsMetadata |
---|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setRetired, setRetiredBy, setRetireReason |
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Constructor Detail |
---|
public ReportSchema()
Method Detail |
---|
public void addDataSetDefinition(DataSetDefinition definition)
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - 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 OpenmrsMetadata
setName
in class BaseOpenmrsMetadata
name
- String
name to setpublic java.lang.String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
public void setDescription(java.lang.String description)
setDescription
in interface OpenmrsMetadata
setDescription
in class BaseOpenmrsMetadata
description
- public java.lang.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(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 Parameterizable
Parameterizable.getParameters()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |