org.openmrs
Class DrugIngredient
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.DrugIngredient
- All Implemented Interfaces:
- java.io.Serializable, OpenmrsObject
public class DrugIngredient
- extends BaseOpenmrsObject
- implements java.io.Serializable, OpenmrsObject
DrugIngredient
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
DrugIngredient
public DrugIngredient()
- default constructor
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getDrug
public Concept getDrug()
- Returns:
- Returns the drug.
setDrug
public void setDrug(Concept drug)
- Parameters:
drug
- The drug to set.
getIngredient
public Concept getIngredient()
- Returns:
- Returns the ingredient.
setIngredient
public void setIngredient(Concept ingredient)
- Parameters:
ingredient
- The ingredient to set.
getId
public java.lang.Integer getId()
- Specified by:
getId
in interface OpenmrsObject
- Returns:
- id - The unique Identifier for the object
- Since:
- 1.5
- See Also:
OpenmrsObject.getId()
setId
public void setId(java.lang.Integer id)
- Specified by:
setId
in interface OpenmrsObject
- Parameters:
id
- - The unique Identifier for the object- Since:
- 1.5
- See Also:
OpenmrsObject.setId(java.lang.Integer)
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change