org.thalia.bio.entity
Class LocusContainer
java.lang.Object
org.thalia.bio.entity.BioEntity
org.thalia.bio.entity.BioEntityContainer
org.thalia.bio.entity.LocusContainer
- All Implemented Interfaces:
- IBioAdaptable, IBioEntity, IBioLGroup
- Direct Known Subclasses:
- LGroup
public abstract class LocusContainer
- extends BioEntityContainer
- implements IBioLGroup
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 |
LocusContainer
public LocusContainer()
LocusContainer
public LocusContainer(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
getGenome
public IBioGenome getGenome()
- Specified by:
getGenome
in interface IBioLGroup
setGenome
public void setGenome(IBioGenome genome)
- Specified by:
setGenome
in interface IBioLGroup
loci
public IBioLocus[] loci()
- Specified by:
loci
in interface IBioLGroup
addLocus
public void addLocus(IBioLocus locus)
- Specified by:
addLocus
in interface IBioLGroup
getLocus
public IBioLocus getLocus(java.lang.String name)
- Specified by:
getLocus
in interface IBioLGroup
removeLocus
public void removeLocus(java.lang.String name)
- Specified by:
removeLocus
in interface IBioLGroup
getLocusNumber
public int getLocusNumber()
- Specified by:
getLocusNumber
in interface IBioLGroup
setLoci
public void setLoci(IBioLocus[] loci)
- Specified by:
setLoci
in interface IBioLGroup