org.openmrs
Class DrugIngredient

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by 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

Field Summary
static long serialVersionUID
           
 
Constructor Summary
DrugIngredient()
          default constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Concept getDrug()
           
 java.lang.Integer getId()
           
 Concept getIngredient()
           
 int hashCode()
           
 void setDrug(Concept drug)
           
 void setId(java.lang.Integer id)
           
 void setIngredient(Concept ingredient)
           
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DrugIngredient

public DrugIngredient()
default constructor

Method Detail

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)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change