org.openmrs.report
Interface Parameterizable

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
CohortDefinition, DataSetDefinition
All Known Implementing Classes:
CohortDataSetDefinition, InversePatientFilter, LogicPatientFilter, PatientSearch, ReportSchema, RowPerObsDataSetDefinition, RowPerProgramEnrollmentDataSetDefinition, StaticCohortDefinition

Deprecated. see reportingcompatibility module

@Deprecated
public interface Parameterizable
extends java.io.Serializable

A Cohort, ReportSchema, and Logic rules can be parameterizable. If a class extends this, it means that it can use Parameters and possible have those filled out by its parent. (Meaning a parameter in a cohort that is in a reportschema can give it that value) The object should assume that when its being run (getPatientIds() for cohorts, getColumns for DataSetDefinition(), etc) it will receive an EvaluationContext which will give values to all of its parameters


Method Summary
 java.util.List<Parameter> getParameters()
          Deprecated. A object that can take parameters should examine itself and its child objects to find out all of its required parameters.
 

Method Detail

getParameters

java.util.List<Parameter> getParameters()
Deprecated. 
A object that can take parameters should examine itself and its child objects to find out all of its required parameters. This method should not return null, but should return an empty list if no parameters exist

Returns:
list of parameters that will satisfy this object

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change