org.jscience.biology
Class Organ

java.lang.Object
  extended by org.jscience.biology.Organ
All Implemented Interfaces:
Named

public class Organ
extends java.lang.Object
implements Named

A class representing an organ.


Constructor Summary
Organ(java.lang.String name, java.lang.String function)
          Creates a new Organ object.
 
Method Summary
 void addNeighbor(Organ neighbor)
          DOCUMENT ME!
 void addTissue(Tissue tissue)
          DOCUMENT ME!
 java.util.Set getAllCells()
          DOCUMENT ME!
 java.lang.String getFunction()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.util.Set getNeighbors()
          DOCUMENT ME!
 java.util.Set getTissues()
          DOCUMENT ME!
 void removeNeighbor(Organ neighbor)
          DOCUMENT ME!
 void removeTissue(Tissue tissue)
          DOCUMENT ME!
 void setNeighbors(java.util.Set neighbors)
          DOCUMENT ME!
 void setTissues(java.util.Set tissues)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Organ

public Organ(java.lang.String name,
             java.lang.String function)
Creates a new Organ object.

Parameters:
name - DOCUMENT ME!
function - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getName

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

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

getFunction

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

Returns:
DOCUMENT ME!

getTissues

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

Returns:
DOCUMENT ME!

setTissues

public void setTissues(java.util.Set tissues)
DOCUMENT ME!

Parameters:
tissues - DOCUMENT ME!

addTissue

public void addTissue(Tissue tissue)
DOCUMENT ME!

Parameters:
tissue - DOCUMENT ME!

removeTissue

public void removeTissue(Tissue tissue)
DOCUMENT ME!

Parameters:
tissue - DOCUMENT ME!

getAllCells

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

Returns:
DOCUMENT ME!

getNeighbors

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

Returns:
DOCUMENT ME!

addNeighbor

public void addNeighbor(Organ neighbor)
DOCUMENT ME!

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

removeNeighbor

public void removeNeighbor(Organ neighbor)
DOCUMENT ME!

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

setNeighbors

public void setNeighbors(java.util.Set neighbors)
DOCUMENT ME!

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