Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.thalia.bio.entity
Class CrossPopulation

    java.lang.Object
      org.thalia.bio.entity.BioEntity
          org.thalia.bio.entity.BioEntityContainer
              org.thalia.bio.entity.IndividualContainer
                  org.thalia.bio.entity.Population
                      org.thalia.bio.entity.CrossPopulation

All Implemented Interfaces:
  IBioAdaptable, IBioCross, IBioEntity, IBioPopulation

    public class CrossPopulation

extends Population
implements IBioCross

Class Description Here

Author:
  Jean-Baptiste Veyrieras

Field Summary

Fields inherited from class org.thalia.bio.entity.Population
`generation, parents, size`

Fields inherited from class org.thalia.bio.entity.BioEntityContainer
`entities`

Fields inherited from class org.thalia.bio.entity.BioEntity
`name, parent, properties`

Constructor Summary
`CrossPopulation()`
`CrossPopulation(java.lang.String name, IBioEntity parent)`
`CrossPopulation(java.lang.String name, IBioEntity parent, int type)`

Method Summary
`int` | `getCrossType()`
`IBioIndividual[]` | `getParents()`
`int` | `getType()` There are 2 main class of entities.
`void` | `setCrossType(int type)`

Methods inherited from class org.thalia.bio.entity.Population
`getBioAdapter, getGeneration, getIndividualNumber, getSize, newCrossPopulation, setGeneration, setSize`

Methods inherited from class org.thalia.bio.entity.IndividualContainer
`addIndividual, getIndividual, individuals, removeIndividual`

Methods inherited from class org.thalia.bio.entity.BioEntityContainer
`addEntity, entities, entityNumber, getEntity, removeEntity`

Methods inherited from class org.thalia.bio.entity.BioEntity
`getName, getParent, getProperties, newBioEntity, setName, setProperties`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.thalia.bio.IBioCross
`getGeneration, getSize`

Methods inherited from interface org.thalia.bio.IBioPopulation
`addIndividual, getIndividual, getIndividualNumber, individuals, removeIndividual`

Methods inherited from interface org.thalia.bio.IBioEntity
`getName, getParent, getProperties, setName, setProperties`

Methods inherited from interface org.thalia.bio.IBioAdaptable
`getBioAdapter`

Constructor Detail

### CrossPopulation

    public CrossPopulation()

### CrossPopulation

    public CrossPopulation(java.lang.String name,
                           IBioEntity parent)

Parameters:
  `name` -
  `parent` -

### CrossPopulation

    public CrossPopulation(java.lang.String name,
                           IBioEntity parent,
                           int type)

Method Detail

### getCrossType

    public int getCrossType()

  Specified by:
    `getCrossType` in interface `IBioCross`

### getType

    public 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`
  Overrides:
    `getType` in class `Population`

### getParents

    public IBioIndividual[] getParents()

  Specified by:
    `getParents` in interface `IBioCross`
  Overrides:
    `getParents` in class `Population`

### setCrossType

    public void setCrossType(int type)

  Parameters:
    `type` - The type to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD