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.ensembl.variation.datamodel
Interface Genotype

All Superinterfaces:
  Persistent, java.io.Serializable

All Known Subinterfaces:
  IndividualGenotype, PopulationGenotype

public interface Genotype
extends Persistent

Genotype. Genotypes are assumed to be for diploid organisms and are represented by two alleles.

Author:
  Craig Melsopp

Method Summary
`java.lang.String` | `getAllele1()` One of the alleles that defines this genotype.
`java.lang.String` | `getAllele2()` One of the alleles that defines this genotype.
`Variation` | `getVariation()` Variation.

Methods inherited from interface org.ensembl.datamodel.Persistent
`getDriver, getInternalID, sameInternalID, setDriver, setInternalID`

Method Detail

### getAllele1

    public java.lang.String getAllele1()

  One of the alleles that defines this genotype.

  Returns:
    One of the alleles that defines this genotype.

### getAllele2

    public java.lang.String getAllele2()

  One of the alleles that defines this genotype.

  Returns:
    One of the alleles that defines this genotype.

### getVariation

    public Variation getVariation()

  Variation.

  Returns:
    variation.

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