org.openmrs.activelist
Class ActiveListItem
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.BaseOpenmrsData
org.openmrs.activelist.ActiveListItem
- All Implemented Interfaces:
- Auditable, OpenmrsData, OpenmrsObject, Voidable
- Direct Known Subclasses:
- Allergy, Problem
public abstract class ActiveListItem
- extends BaseOpenmrsData
TODO
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ActiveListItem
protected ActiveListItem()
ActiveListItem
protected ActiveListItem(java.lang.Integer activeListId)
ActiveListItem
protected ActiveListItem(Person person,
ActiveListType activeListType,
Concept concept,
java.util.Date startDate)
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
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change