public abstract class ActiveListItem extends BaseOpenmrsData
Modifier and Type | Field and Description |
---|---|
protected Integer |
activeListId |
protected ActiveListType |
activeListType |
protected String |
comments |
protected Concept |
concept |
protected Date |
endDate |
protected Person |
person |
protected Date |
startDate |
protected Obs |
startObs |
protected Obs |
stopObs |
creator
Modifier | Constructor and Description |
---|---|
protected |
ActiveListItem() |
protected |
ActiveListItem(Integer activeListId)
Construct an Active List item with a given id
|
protected |
ActiveListItem(Person person,
ActiveListType activeListType,
Concept concept,
Date startDate)
Convenience constructor to construct an active list item with a given person, active list type, concept and start date
|
Modifier and Type | Method and Description |
---|---|
Integer |
getActiveListId() |
ActiveListType |
getActiveListType() |
String |
getComments() |
protected Concept |
getConcept() |
Date |
getEndDate() |
Integer |
getId() |
Person |
getPerson() |
Date |
getStartDate() |
Obs |
getStartObs() |
Obs |
getStopObs() |
void |
setActiveListId(Integer activeListId) |
void |
setActiveListType(ActiveListType activeListType) |
void |
setComments(String comments) |
protected void |
setConcept(Concept concept) |
void |
setEndDate(Date endDate) |
void |
setId(Integer id) |
void |
setPerson(Person person) |
void |
setStartDate(Date startDate) |
void |
setStartObs(Obs startObs) |
void |
setStopObs(Obs stopObs) |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReason
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
protected Integer activeListId
protected Person person
protected ActiveListType activeListType
protected Concept concept
protected Date startDate
protected Date endDate
protected Obs startObs
protected Obs stopObs
protected String comments
protected ActiveListItem()
protected ActiveListItem(Integer activeListId)
activeListId
- the activeListId to set. This parameter is the id of the active list item.protected ActiveListItem(Person person, ActiveListType activeListType, Concept concept, Date startDate)
person
- the person to set this active list itemactiveListType
- the type of activeListconcept
- the concept to setstartDate
- the startDate to set, when the active list item occurredpublic Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public void setActiveListId(Integer activeListId)
activeListId
- the active list id to setpublic Integer getActiveListId()
public Person getPerson()
public void setPerson(Person person)
person
- the person to setpublic ActiveListType getActiveListType()
public void setActiveListType(ActiveListType activeListType)
activeListType
- the activeListType to setprotected Concept getConcept()
protected void setConcept(Concept concept)
concept
- the concept to setpublic Date getStartDate()
public void setStartDate(Date startDate)
startDate
- the startDate to setpublic Date getEndDate()
public void setEndDate(Date endDate)
endDate
- the endDate to setpublic Obs getStartObs()
public void setStartObs(Obs startObs)
startObs
- the startObs to setpublic Obs getStopObs()
public void setStopObs(Obs stopObs)
stopObs
- the stopObs to setpublic String getComments()
public void setComments(String comments)
comments
- the comments to setCopyright © 2015 OpenMRS Inc.. All rights reserved.