@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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public 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 OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2024 OpenMRS Inc.. All rights reserved.