org.openmrs.cohort
Class CohortDefinitionItemHolder

java.lang.Object
  extended by org.openmrs.cohort.CohortDefinitionItemHolder

Deprecated. see reportingcompatibility module

@Deprecated
public class CohortDefinitionItemHolder
extends java.lang.Object

This class maintains a key-name pair for a cohort definition, so that cohort definitions can be "selected" within a client application. For example, the webapp needs to be able to display cohorts as a drop down list.


Constructor Summary
CohortDefinitionItemHolder()
          Deprecated. Public constructor.
CohortDefinitionItemHolder(java.lang.String key, java.lang.String name, CohortDefinition cohortDefinition)
          Deprecated. Public constructor.
 
Method Summary
 CohortDefinition getCohortDefinition()
          Deprecated.  
 java.lang.String getKey()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 void setCohortDefinition(CohortDefinition cohortDefinition)
          Deprecated.  
 void setKey(java.lang.String key)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CohortDefinitionItemHolder

public CohortDefinitionItemHolder()
Deprecated. 
Public constructor.


CohortDefinitionItemHolder

public CohortDefinitionItemHolder(java.lang.String key,
                                  java.lang.String name,
                                  CohortDefinition cohortDefinition)
Deprecated. 
Public constructor.

Parameters:
key -
name -
cohortDefinition -
Method Detail

getKey

public java.lang.String getKey()
Deprecated. 
Returns:
the key

getName

public java.lang.String getName()
Deprecated. 
Returns:
the name

getCohortDefinition

public CohortDefinition getCohortDefinition()
Deprecated. 
Returns:
the cohortDefinition

setKey

public void setKey(java.lang.String key)
Deprecated. 
Parameters:
key - the key to set

setName

public void setName(java.lang.String name)
Deprecated. 
Parameters:
name - the name to set

setCohortDefinition

public void setCohortDefinition(CohortDefinition cohortDefinition)
Deprecated. 
Parameters:
cohortDefinition - the cohortDefinition to set

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

OpenMRS-1.7.x

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