|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.cohort.CohortDefinitionItemHolder
@Deprecated public class CohortDefinitionItemHolder
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 |
---|
public CohortDefinitionItemHolder()
public CohortDefinitionItemHolder(java.lang.String key, java.lang.String name, CohortDefinition cohortDefinition)
key
- name
- cohortDefinition
- Method Detail |
---|
public java.lang.String getKey()
public java.lang.String getName()
public CohortDefinition getCohortDefinition()
public void setKey(java.lang.String key)
key
- the key to setpublic void setName(java.lang.String name)
name
- the name to setpublic void setCohortDefinition(CohortDefinition cohortDefinition)
cohortDefinition
- the cohortDefinition to setpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |