org.openmrs.report
Class CohortDataSet

java.lang.Object
  extended by org.openmrs.report.CohortDataSet
All Implemented Interfaces:
java.lang.Iterable, DataSet, MapDataSet<Cohort>

Deprecated. see reportingcompatibility module

@Deprecated
public class CohortDataSet
extends java.lang.Object
implements MapDataSet<Cohort>

A dataset which represents a list of cohorts, each of which has a name. For example a CohortDataset might represent: "1. Total # of Patients" -> 123 "1.a. Male Adults" -> Cohort of 54 patients "1.b. Female Adults" -> Cohort of 43 patients "1.c. Male Children" -> Cohort of 12 patients "1.d. Female Children" -> Cohort of 14 patient ...

See Also:
CohortDataSetDefinition, CohortDataSetProvider

Constructor Summary
CohortDataSet()
          Deprecated.  
 
Method Summary
 java.util.Map<java.lang.String,Cohort> getCohortData()
          Deprecated.  
 java.util.Map<java.lang.String,Cohort> getData()
          Deprecated.  
 DataSetDefinition getDefinition()
          Deprecated.  
 EvaluationContext getEvaluationContext()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 java.util.Iterator<java.util.Map<java.lang.String,Cohort>> iterator()
          Deprecated. Returns this map as a single-row data set
 void setCohortData(java.util.Map<java.lang.String,Cohort> cohortData)
          Deprecated.  
 void setDefinition(CohortDataSetDefinition definition)
          Deprecated.  
 void setEvaluationContext(EvaluationContext evaluationContext)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CohortDataSet

public CohortDataSet()
Deprecated. 
Method Detail

getData

public java.util.Map<java.lang.String,Cohort> getData()
Deprecated. 
Specified by:
getData in interface MapDataSet<Cohort>
See Also:
MapDataSet.getData()

iterator

public java.util.Iterator<java.util.Map<java.lang.String,Cohort>> iterator()
Deprecated. 
Returns this map as a single-row data set

Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface DataSet
Returns:
an iterator over the rows in this dataset.
See Also:
DataSet.iterator()

getCohortData

public java.util.Map<java.lang.String,Cohort> getCohortData()
Deprecated. 

setCohortData

public void setCohortData(java.util.Map<java.lang.String,Cohort> cohortData)
Deprecated. 

getName

public java.lang.String getName()
Deprecated. 

setName

public void setName(java.lang.String name)
Deprecated. 

getDefinition

public DataSetDefinition getDefinition()
Deprecated. 
Specified by:
getDefinition in interface DataSet
Returns:
The definition that was evaluated to produce this data set.
See Also:
DataSet.getDefinition()

setDefinition

public void setDefinition(CohortDataSetDefinition definition)
Deprecated. 
Parameters:
definition - the definition to set

getEvaluationContext

public EvaluationContext getEvaluationContext()
Deprecated. 
Specified by:
getEvaluationContext in interface DataSet
Returns:
The evaluationContext where this DataSet was evaluated.
See Also:
DataSet.getEvaluationContext()

setEvaluationContext

public void setEvaluationContext(EvaluationContext evaluationContext)
Deprecated. 
Parameters:
evaluationContext - the evaluationContext to set

OpenMRS-1.7.x

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