org.thalia.bio.entity
Class IndividualContainer
java.lang.Object
org.thalia.bio.entity.BioEntity
org.thalia.bio.entity.BioEntityContainer
org.thalia.bio.entity.IndividualContainer
- All Implemented Interfaces:
- IBioAdaptable, IBioEntity, IBioPopulation
- Direct Known Subclasses:
- Population
public abstract class IndividualContainer
- extends BioEntityContainer
- implements IBioPopulation
Class Description Here
- Author:
- Jean-Baptiste Veyrieras
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndividualContainer
public IndividualContainer()
IndividualContainer
public IndividualContainer(java.lang.String name,
IBioEntity parent)
- Parameters:
name
- parent
-
getType
public abstract int getType()
- Description copied from interface:
IBioEntity
- There are 2 main class of entities. The first one deals with population
biological entity, i.e population itself and individuals. The second class
is a representation of microscopic biological entity from genome container
to alleles.
- Specified by:
getType
in interface IBioEntity
- Specified by:
getType
in class BioEntity
getIndividual
public IBioIndividual getIndividual(java.lang.String name)
- Specified by:
getIndividual
in interface IBioPopulation
addIndividual
public void addIndividual(IBioIndividual individual)
- Specified by:
addIndividual
in interface IBioPopulation
removeIndividual
public void removeIndividual(java.lang.String name)
- Specified by:
removeIndividual
in interface IBioPopulation
individuals
public IBioIndividual[] individuals()
- Specified by:
individuals
in interface IBioPopulation
getIndividualNumber
public abstract int getIndividualNumber()
- Specified by:
getIndividualNumber
in interface IBioPopulation