org.openmrs.cohort
Class StaticCohortDefinition

java.lang.Object
  extended by org.openmrs.cohort.StaticCohortDefinition
All Implemented Interfaces:
java.io.Serializable, CohortDefinition, Parameterizable

Deprecated. see reportingcompatibility module

@Deprecated
public class StaticCohortDefinition
extends java.lang.Object
implements CohortDefinition

This class provides access to org.openmrs.Cohort objects that are saved in the cohort table.

See Also:
Serialized Form

Constructor Summary
StaticCohortDefinition()
          Deprecated.  
StaticCohortDefinition(Cohort cohort)
          Deprecated.  
 
Method Summary
 Cohort getCohort()
          Deprecated.  
 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.
 void setCohort(Cohort cohort)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticCohortDefinition

public StaticCohortDefinition()
Deprecated. 

StaticCohortDefinition

public StaticCohortDefinition(Cohort cohort)
Deprecated. 
Method Detail

getParameters

public java.util.List<Parameter> getParameters()
Deprecated. 
Description copied from interface: Parameterizable
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

Specified by:
getParameters in interface Parameterizable
Returns:
list of parameters that will satisfy this object
See Also:
Parameterizable.getParameters()

getCohort

public Cohort getCohort()
Deprecated. 
Returns:
the cohort

setCohort

public void setCohort(Cohort cohort)
Deprecated. 
Parameters:
cohort - the cohort to set

OpenMRS-1.7.x

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