org.openmrs.reporting.data
Class CohortDefinition

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.reporting.data.CohortDefinition
All Implemented Interfaces:
java.io.Serializable, OpenmrsObject, ReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class CohortDefinition
extends AbstractReportObject
implements java.io.Serializable

This class allows us to define a Cohort based on a patient filter or a cohort instance.

See Also:
Serialized Form

Field Summary
static java.lang.String SUB_TYPE_NAME
          Deprecated.  
static java.lang.String TYPE_NAME
          Deprecated.  
 
Constructor Summary
CohortDefinition()
          Deprecated. Default public constructor
 
Method Summary
 Cohort getCohort()
          Deprecated. Get the cohort instance assigned to this cohort definition
 PatientFilter getPatientFilter()
          Deprecated. Get the patient filter assigned to the cohort definition.
 void setCohort(Cohort cohort)
          Deprecated. Set the cohort instance for this cohort definition.
 void setPatientFilter(PatientFilter filter)
          Deprecated. Set the patient filter.
 
Methods inherited from class org.openmrs.reporting.AbstractReportObject
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

TYPE_NAME

public static final java.lang.String TYPE_NAME
Deprecated. 
See Also:
Constant Field Values

SUB_TYPE_NAME

public static final java.lang.String SUB_TYPE_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

CohortDefinition

public CohortDefinition()
Deprecated. 
Default public constructor

Method Detail

getCohort

public Cohort getCohort()
Deprecated. 
Get the cohort instance assigned to this cohort definition


setCohort

public void setCohort(Cohort cohort)
Deprecated. 
Set the cohort instance for this cohort definition.

Parameters:
cohort -

getPatientFilter

public PatientFilter getPatientFilter()
Deprecated. 
Get the patient filter assigned to the cohort definition.


setPatientFilter

public void setPatientFilter(PatientFilter filter)
Deprecated. 
Set the patient filter.

Parameters:
filter -

OpenMRS-1.7.x

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