org.jscience.medicine
Class Disease

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

public class Disease
extends Pathology

A class representing a disease.


Field Summary
static int AIR
          DOCUMENT ME!
static int BACTERIA
          DOCUMENT ME!
static int CONTACT
          DOCUMENT ME!
static int DNA
          DOCUMENT ME!
static int FOOD
          DOCUMENT ME!
static int GENETIC
          DOCUMENT ME!
static int PARASIT
          DOCUMENT ME!
static int PRION
          DOCUMENT ME!
static int UNKNOWN
          DOCUMENT ME!
static int VIRUS
          DOCUMENT ME!
static int WATER
          DOCUMENT ME!
 
Constructor Summary
Disease(java.lang.String name, int transmission, int origin, java.util.Set vectors, java.util.Set targets)
          Creates a new Disease object.
 
Method Summary
 void addTarget(Species target)
          DOCUMENT ME!
 void addVector(java.util.Vector vector)
          DOCUMENT ME!
 java.lang.Object getMicroorganism()
          DOCUMENT ME!
 int getOrigin()
          DOCUMENT ME!
 java.util.Set getTargets()
          DOCUMENT ME!
 int getTransmission()
          DOCUMENT ME!
 java.util.Set getVectors()
          DOCUMENT ME!
 void removeTarget(Species target)
          DOCUMENT ME!
 void removeVector(java.util.Vector vector)
          DOCUMENT ME!
 void setMicroorganism(java.lang.Object microorganism)
          DOCUMENT ME!
 void setOrigin(int origin)
          DOCUMENT ME!
 void setTargets(java.util.Set targets)
          DOCUMENT ME!
 void setTransmission(int transmission)
          DOCUMENT ME!
 void setVectors(java.util.Set vectors)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.medicine.Pathology
addTreatment, getCause, getComments, getName, getTreatments, removeTreatment, setCause, setComments, setTreatments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
DOCUMENT ME!

See Also:
Constant Field Values

GENETIC

public static final int GENETIC
DOCUMENT ME!

See Also:
Constant Field Values

WATER

public static final int WATER
DOCUMENT ME!

See Also:
Constant Field Values

FOOD

public static final int FOOD
DOCUMENT ME!

See Also:
Constant Field Values

AIR

public static final int AIR
DOCUMENT ME!

See Also:
Constant Field Values

CONTACT

public static final int CONTACT
DOCUMENT ME!

See Also:
Constant Field Values

PARASIT

public static final int PARASIT
DOCUMENT ME!

See Also:
Constant Field Values

VIRUS

public static final int VIRUS
DOCUMENT ME!

See Also:
Constant Field Values

BACTERIA

public static final int BACTERIA
DOCUMENT ME!

See Also:
Constant Field Values

PRION

public static final int PRION
DOCUMENT ME!

See Also:
Constant Field Values

DNA

public static final int DNA
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

Disease

public Disease(java.lang.String name,
               int transmission,
               int origin,
               java.util.Set vectors,
               java.util.Set targets)
Creates a new Disease object.

Parameters:
name - DOCUMENT ME!
transmission - DOCUMENT ME!
origin - DOCUMENT ME!
vectors - DOCUMENT ME!
targets - DOCUMENT ME!
Method Detail

getTransmission

public int getTransmission()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTransmission

public void setTransmission(int transmission)
DOCUMENT ME!

Parameters:
transmission - DOCUMENT ME!

getOrigin

public int getOrigin()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setOrigin

public void setOrigin(int origin)
DOCUMENT ME!

Parameters:
origin - DOCUMENT ME!

getVectors

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

Returns:
DOCUMENT ME!

addVector

public void addVector(java.util.Vector vector)
DOCUMENT ME!

Parameters:
vector - DOCUMENT ME!

removeVector

public void removeVector(java.util.Vector vector)
DOCUMENT ME!

Parameters:
vector - DOCUMENT ME!

setVectors

public void setVectors(java.util.Set vectors)
DOCUMENT ME!

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

getTargets

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

Returns:
DOCUMENT ME!

addTarget

public void addTarget(Species target)
DOCUMENT ME!

Parameters:
target - DOCUMENT ME!

removeTarget

public void removeTarget(Species target)
DOCUMENT ME!

Parameters:
target - DOCUMENT ME!

setTargets

public void setTargets(java.util.Set targets)
DOCUMENT ME!

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

getMicroorganism

public java.lang.Object getMicroorganism()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMicroorganism

public void setMicroorganism(java.lang.Object microorganism)
DOCUMENT ME!

Parameters:
microorganism - DOCUMENT ME!