org.jscience.medicine
Class Pathology

java.lang.Object
  extended by org.jscience.medicine.Pathology
All Implemented Interfaces:
Commented, Named
Direct Known Subclasses:
Disease, Impairment

public class Pathology
extends java.lang.Object
implements Named, Commented

The Pathology class provides a common ancestor class for all possible medicine related troubles.


Constructor Summary
Pathology(java.lang.String name)
          Creates a new Pathology object.
 
Method Summary
 void addTreatment(Treatment treatment)
          DOCUMENT ME!
 java.lang.String getCause()
          DOCUMENT ME!
 java.lang.String getComments()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.util.Set getTreatments()
          DOCUMENT ME!
 void removeTreatment(Treatment treatment)
          DOCUMENT ME!
 void setCause(java.lang.String cause)
          DOCUMENT ME!
 void setComments(java.lang.String comments)
          DOCUMENT ME!
 void setTreatments(java.util.Set treatments)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pathology

public Pathology(java.lang.String name)
Creates a new Pathology object.

Parameters:
name - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

getCause

public java.lang.String getCause()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCause

public void setCause(java.lang.String cause)
DOCUMENT ME!

Parameters:
cause - DOCUMENT ME!

getComments

public java.lang.String getComments()
DOCUMENT ME!

Specified by:
getComments in interface Commented
Returns:
DOCUMENT ME!

setComments

public void setComments(java.lang.String comments)
DOCUMENT ME!

Parameters:
comments - DOCUMENT ME!

getTreatments

public java.util.Set getTreatments()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTreatments

public void setTreatments(java.util.Set treatments)
DOCUMENT ME!

Parameters:
treatments - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

addTreatment

public void addTreatment(Treatment treatment)
DOCUMENT ME!

Parameters:
treatment - DOCUMENT ME!

removeTreatment

public void removeTreatment(Treatment treatment)
DOCUMENT ME!

Parameters:
treatment - DOCUMENT ME!