public class ConceptProposal extends BaseOpenmrsObject implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptProposal()
default constructor
|
ConceptProposal(java.lang.Integer conceptProposalId)
constructor with id
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
java.lang.String |
getComments() |
java.lang.Integer |
getConceptProposalId() |
User |
getCreator() |
java.util.Date |
getDateChanged() |
java.util.Date |
getDateCreated() |
Encounter |
getEncounter() |
java.lang.String |
getFinalText() |
java.lang.Integer |
getId() |
Concept |
getMappedConcept() |
Obs |
getObs() |
Concept |
getObsConcept() |
java.lang.String |
getOriginalText() |
java.lang.String |
getState() |
void |
rejectConceptProposal()
Convenience method to mark this proposal as rejected.
|
void |
setChangedBy(User changedBy) |
void |
setComments(java.lang.String comments) |
void |
setConceptProposalId(java.lang.Integer conceptProposalId) |
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setEncounter(Encounter encounter) |
void |
setFinalText(java.lang.String t) |
void |
setId(java.lang.Integer id) |
void |
setMappedConcept(Concept mappedConcept) |
void |
setObs(Obs obs) |
void |
setObsConcept(Concept obsConcept) |
void |
setOriginalText(java.lang.String originalText) |
void |
setState(java.lang.String state) |
java.lang.String |
toString()
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ] . |
equals, getUuid, hashCode, setUuid
public static final long serialVersionUID
public ConceptProposal()
public ConceptProposal(java.lang.Integer conceptProposalId)
public User getChangedBy()
public void setChangedBy(User changedBy)
changedBy
- The changedBy to set.public java.lang.Integer getConceptProposalId()
public void setConceptProposalId(java.lang.Integer conceptProposalId)
conceptProposalId
- The conceptProposalId to set.public User getCreator()
public void setCreator(User creator)
creator
- The creator to set.public java.util.Date getDateChanged()
public void setDateChanged(java.util.Date dateChanged)
dateChanged
- The dateChanged to set.public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
dateCreated
- The dateCreated to set.public java.lang.String getOriginalText()
public void setOriginalText(java.lang.String originalText)
originalText
- The originalText to set.public java.lang.String getFinalText()
public void setFinalText(java.lang.String t)
t
- The final text to set.public java.lang.String getComments()
public void setComments(java.lang.String comments)
comments
- The comments to set.public java.lang.String getState()
public void setState(java.lang.String state)
state
- The state to set.public Encounter getEncounter()
public void setEncounter(Encounter encounter)
encounter
- The encounter to set.public java.lang.String toString()
BaseOpenmrsObject
uuid
field surrounded by [
and ]
. In other words,
this method returns a string equal to the value of: getClass().getName() + '[' + uuid + ']'
If the uuid
field is null
, it delegates to
Object.toString()
toString
in class BaseOpenmrsObject
Object.toString()
public Obs getObs()
public void setObs(Obs obs)
obs
- The obs to set.public Concept getObsConcept()
public void setObsConcept(Concept obsConcept)
obsConcept
- The obsConcept to set.public Concept getMappedConcept()
public void setMappedConcept(Concept mappedConcept)
mappedConcept
- The mappedConcept to set.public void rejectConceptProposal()
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.