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 |
---|---|
boolean |
equals(Object obj) |
Concept |
getDrug() |
Integer |
getId() |
Concept |
getIngredient() |
int |
hashCode() |
void |
setDrug(Concept drug) |
void |
setId(Integer id) |
void |
setIngredient(Concept ingredient) |
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public Concept getDrug()
public void setDrug(Concept drug)
drug
- The drug to set.public Concept getIngredient()
public void setIngredient(Concept ingredient)
ingredient
- The ingredient 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 © 2018 OpenMRS LLC.. All Rights Reserved.