public class DrugReferenceMap extends BaseOpenmrsObject implements Auditable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DrugReferenceMap()
default constructor
|
DrugReferenceMap(ConceptReferenceTerm term,
ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
ConceptMapType |
getConceptMapType() |
ConceptReferenceTerm |
getConceptReferenceTerm() |
User |
getCreator() |
java.util.Date |
getDateChanged() |
java.util.Date |
getDateCreated() |
Drug |
getDrug() |
java.lang.Integer |
getDrugReferenceMapId() |
java.lang.Integer |
getId() |
void |
setChangedBy(User changedBy) |
void |
setConceptMapType(ConceptMapType conceptMapType) |
void |
setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDrug(Drug drug) |
void |
setDrugReferenceMapId(java.lang.Integer drugReferenceMapId) |
void |
setId(java.lang.Integer id) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public DrugReferenceMap()
public DrugReferenceMap(ConceptReferenceTerm term, ConceptMapType conceptMapType)
term
- conceptMapType
- public java.lang.Integer getDrugReferenceMapId()
public void setDrugReferenceMapId(java.lang.Integer drugReferenceMapId)
drugReferenceMapId
- The drugReferenceMapId to set.public Drug getDrug()
public void setDrug(Drug drug)
drug
- The drug to set.public ConceptReferenceTerm getConceptReferenceTerm()
public void setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
conceptReferenceTerm
- The conceptReferenceTerm to set.public ConceptMapType getConceptMapType()
public void setConceptMapType(ConceptMapType conceptMapType)
conceptMapType
- The conceptMapType to set.public java.lang.Integer getId()
getId
in interface OpenmrsObject
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectpublic User getCreator()
getCreator
in interface Auditable
public void setCreator(User creator)
setCreator
in interface Auditable
creator
- - the user who created the objectpublic java.util.Date getDateCreated()
getDateCreated
in interface Auditable
public void setDateCreated(java.util.Date dateCreated)
setDateCreated
in interface Auditable
dateCreated
- - the date the object was createdpublic User getChangedBy()
getChangedBy
in interface Auditable
public void setChangedBy(User changedBy)
setChangedBy
in interface Auditable
changedBy
- - the user who last changed the objectpublic java.util.Date getDateChanged()
getDateChanged
in interface Auditable
public void setDateChanged(java.util.Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- - the date the object was last changedCopyright © 2018 OpenMRS Inc.. All Rights Reserved.