@Entity public class DrugIngredient extends BaseOpenmrsObject implements Serializable, OpenmrsObject
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
DrugIngredient()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Drug |
getDrug() |
Integer |
getId() |
Concept |
getIngredient() |
Double |
getStrength() |
Concept |
getUnits() |
void |
setDrug(Drug drug) |
void |
setId(Integer id) |
void |
setIngredient(Concept ingredient) |
void |
setStrength(Double strength) |
void |
setUnits(Concept units) |
equals, getUuid, hashCode, setUuid, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic static final long serialVersionUID
public Drug getDrug()
public void setDrug(Drug drug)
drug - the drug to setpublic Concept getIngredient()
public void setIngredient(Concept ingredient)
ingredient - The ingredient to set.public Double getStrength()
public void setStrength(Double strength)
strength - The strength to set.public Concept getUnits()
public void setUnits(Concept units)
units - The units to set.public Integer getId()
getId in interface OpenmrsObjectOpenmrsObject.getId()public void setId(Integer id)
setId in interface OpenmrsObjectid - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2024 OpenMRS Inc.. All rights reserved.