org.openmrs.activelist
Class ActiveListItem

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.BaseOpenmrsData
          extended by org.openmrs.activelist.ActiveListItem
All Implemented Interfaces:
Auditable, OpenmrsData, OpenmrsObject, Voidable
Direct Known Subclasses:
Allergy, Problem

public abstract class ActiveListItem
extends BaseOpenmrsData

TODO


Field Summary
protected  java.lang.Integer activeListId
           
protected  ActiveListType activeListType
           
protected  java.lang.String comments
           
protected  Concept concept
           
protected  java.util.Date endDate
           
protected  Person person
           
protected  java.util.Date startDate
           
protected  Obs startObs
           
protected  Obs stopObs
           
 
Fields inherited from class org.openmrs.BaseOpenmrsData
creator
 
Constructor Summary
protected ActiveListItem()
           
protected ActiveListItem(java.lang.Integer activeListId)
           
protected ActiveListItem(Person person, ActiveListType activeListType, Concept concept, java.util.Date startDate)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getActiveListId()
           
 ActiveListType getActiveListType()
           
 java.lang.String getComments()
           
protected  Concept getConcept()
           
 java.util.Date getEndDate()
           
 java.lang.Integer getId()
           
 Person getPerson()
           
 java.util.Date getStartDate()
           
 Obs getStartObs()
           
 Obs getStopObs()
           
 void setActiveListId(java.lang.Integer activeListId)
           
 void setActiveListType(ActiveListType activeListType)
           
 void setComments(java.lang.String comments)
           
protected  void setConcept(Concept concept)
           
 void setEndDate(java.util.Date endDate)
           
 void setId(java.lang.Integer id)
           
 void setPerson(Person person)
           
 void setStartDate(java.util.Date startDate)
           
 void setStartObs(Obs startObs)
           
 void setStopObs(Obs stopObs)
           
 
Methods inherited from class org.openmrs.BaseOpenmrsData
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReason
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

activeListId

protected java.lang.Integer activeListId

person

protected Person person

activeListType

protected ActiveListType activeListType

concept

protected Concept concept

startDate

protected java.util.Date startDate

endDate

protected java.util.Date endDate

startObs

protected Obs startObs

stopObs

protected Obs stopObs

comments

protected java.lang.String comments
Constructor Detail

ActiveListItem

protected ActiveListItem()

ActiveListItem

protected ActiveListItem(java.lang.Integer activeListId)

ActiveListItem

protected ActiveListItem(Person person,
                         ActiveListType activeListType,
                         Concept concept,
                         java.util.Date startDate)
Method Detail

getId

public java.lang.Integer getId()
Returns:
id - The unique Identifier for the object
See Also:
OpenmrsObject.getId()

setId

public void setId(java.lang.Integer id)
Parameters:
id - - The unique Identifier for the object
See Also:
OpenmrsObject.setId(java.lang.Integer)

setActiveListId

public void setActiveListId(java.lang.Integer activeListId)

getActiveListId

public java.lang.Integer getActiveListId()

getPerson

public Person getPerson()
Returns:
the person

setPerson

public void setPerson(Person person)
Parameters:
person - the person to set

getActiveListType

public ActiveListType getActiveListType()
Returns:
the activeListType

setActiveListType

public void setActiveListType(ActiveListType activeListType)
Parameters:
activeListType - the activeListType to set

getConcept

protected Concept getConcept()
Returns:
the concept

setConcept

protected void setConcept(Concept concept)
Parameters:
concept - the concept to set

getStartDate

public java.util.Date getStartDate()
Returns:
the startDate

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - the startDate to set

getEndDate

public java.util.Date getEndDate()
Returns:
the endDate

setEndDate

public void setEndDate(java.util.Date endDate)
Parameters:
endDate - the endDate to set

getStartObs

public Obs getStartObs()
Returns:
the startObs

setStartObs

public void setStartObs(Obs startObs)
Parameters:
startObs - the startObs to set

getStopObs

public Obs getStopObs()
Returns:
the stopObs

setStopObs

public void setStopObs(Obs stopObs)
Parameters:
stopObs - the stopObs to set

getComments

public java.lang.String getComments()
Returns:
the comments

setComments

public void setComments(java.lang.String comments)
Parameters:
comments - the comments to set

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

OpenMRS-1.7.x

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