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.driver
Interface PopulationGenotypeAdaptor

All Superinterfaces:
  Adaptor, java.rmi.Remote

public interface PopulationGenotypeAdaptor
extends Adaptor

This adaptor provides database connectivity for PopulationGenotype objects.

Author:
  Craig Melsopp

Field Summary
`static java.lang.String` | `TYPE`

Method Summary
`PopulationGenotype` | `fetch(long internalID)` Retrieves a population genotype via its unique internal identifier.
`java.util.List` | `fetch(Population population)` Retrieves a population genotypes which appear in the specified population.

Methods inherited from interface org.ensembl.driver.Adaptor
`clearCache, closeAllConnections, getType`

Field Detail

### TYPE

    public static final java.lang.String TYPE

See Also:
  Constant Field Values

Method Detail

### fetch

    public PopulationGenotype fetch(long internalID)
                             throws AdaptorException

  Retrieves a population genotype via its unique internal identifier.

  Returns:
    PopulationGenotype with matching internalID or null if none found.
  Throws:
    `AdaptorException`

### fetch

    public java.util.List fetch(Population population)
                         throws AdaptorException

  Retrieves a population genotypes which appear in the specified population.

  Returns:
    zero or more PopulationGenotypes from the specified population.
  Throws:
    `AdaptorException`

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