public class DrugReferenceMap extends BaseOpenmrsObject implements Auditable, 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() |
Date |
getDateChanged() |
Date |
getDateCreated() |
Drug |
getDrug() |
Integer |
getDrugReferenceMapId() |
Integer |
getId() |
void |
setChangedBy(User changedBy) |
void |
setConceptMapType(ConceptMapType conceptMapType) |
void |
setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged) |
void |
setDateCreated(Date dateCreated) |
void |
setDrug(Drug drug) |
void |
setDrugReferenceMapId(Integer drugReferenceMapId) |
void |
setId(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 Integer getDrugReferenceMapId()
public void setDrugReferenceMapId(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 Integer getId()
getId
in interface OpenmrsObject
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectpublic User getCreator()
getCreator
in interface Creatable
public void setCreator(User creator)
setCreator
in interface Creatable
creator
- - the user who created the objectpublic Date getDateCreated()
getDateCreated
in interface Creatable
public void setDateCreated(Date dateCreated)
setDateCreated
in interface Creatable
dateCreated
- - the date the object was createdpublic User getChangedBy()
getChangedBy
in interface Changeable
public void setChangedBy(User changedBy)
setChangedBy
in interface Changeable
changedBy
- - the user who last changed the objectpublic Date getDateChanged()
getDateChanged
in interface Changeable
public void setDateChanged(Date dateChanged)
setDateChanged
in interface Changeable
dateChanged
- - the date the object was last changedCopyright © 2024 OpenMRS Inc.. All rights reserved.