gov.usda.gdpc
Interface GenotypeGroup

All Superinterfaces:
java.util.Collection, DBElementGroup, Group, java.util.List
All Known Implementing Classes:
AbstractGenotypeGroup

public interface GenotypeGroup
extends DBElementGroup

Group of genotypes.

Author:
terryc

Method Summary
 Genotype getGenotype(java.lang.String dataSource, Taxon taxon, GenotypeExperiment experiment)
          Gets the genotype having the given taxon, genotype experiment, number, and data source.
 GenotypeExperimentGroup getGenotypeExperimentGroup()
          Returns the group of genotype experiments associated with this group of genotypes.
 GenotypeGroup getGenotypeGroup(GenotypeFilter filter)
          Get the genotype group from this group which match the critera specified by the filter.
 TaxonGroup getTaxonGroup()
          Returns the group of taxon associated with this group of genotypes.
 int numGenotypeExperiments()
          Return the number of genotype experiments.
 int numTaxa()
          Return the number of taxa.
 
Methods inherited from interface gov.usda.gdpc.DBElementGroup
getDBElements, getDefinedProperties, getDistinctProperties, getType, index
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getTaxonGroup

public TaxonGroup getTaxonGroup()
Returns the group of taxon associated with this group of genotypes.

Returns:
taxon group

getGenotypeExperimentGroup

public GenotypeExperimentGroup getGenotypeExperimentGroup()
Returns the group of genotype experiments associated with this group of genotypes.

Returns:
genotype experiment group

getGenotype

public Genotype getGenotype(java.lang.String dataSource,
                            Taxon taxon,
                            GenotypeExperiment experiment)
Gets the genotype having the given taxon, genotype experiment, number, and data source.

Parameters:
dataSource - data source
taxon - taxon
experiment - genotype experiment
Returns:
genotype. null if no matching genotype

getGenotypeGroup

public GenotypeGroup getGenotypeGroup(GenotypeFilter filter)
Get the genotype group from this group which match the critera specified by the filter.

Parameters:
filter - genotype filter
Returns:
genotype group

numTaxa

public int numTaxa()
Return the number of taxa.

Returns:
number of taxa.

numGenotypeExperiments

public int numGenotypeExperiments()
Return the number of genotype experiments.

Returns:
number of genotype experiments.