gov.usda.gdpc
Interface PhenotypeGroup

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

public interface PhenotypeGroup
extends DBElementGroup

Group of phenotypes.

Author:
terryc

Method Summary
 EnvironmentExperimentGroup getEnvironmentExperimentGroup()
          Returns the group of environment experiments associated with this group of phenotypes.
 Phenotype getPhenotype(java.lang.String dataSource, Taxon taxon, EnvironmentExperiment experiment, PhenotypeOntology ontology)
          Gets the phenotype having the given taxon, environment experiment, ontology, and data source.
 PhenotypeGroup getPhenotypeGroup(PhenotypeFilter filter)
          Get the phenotype group from this group which match the critera specified by the filter.
 TaxonGroup getTaxonGroup()
          Returns the group of taxon associated with this group of phenotypes.
 int numEnvironmentExperiments()
          Return the number of environment 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 phenotypes.

Returns:
taxon group

getEnvironmentExperimentGroup

public EnvironmentExperimentGroup getEnvironmentExperimentGroup()
Returns the group of environment experiments associated with this group of phenotypes.

Returns:
environment experiment group

getPhenotype

public Phenotype getPhenotype(java.lang.String dataSource,
                              Taxon taxon,
                              EnvironmentExperiment experiment,
                              PhenotypeOntology ontology)
Gets the phenotype having the given taxon, environment experiment, ontology, and data source.

Parameters:
dataSource - data source
taxon - taxon
experiment - environment experiment
ontology - phenotype ontology
Returns:
phenotype. null if no matching phenotype

getPhenotypeGroup

public PhenotypeGroup getPhenotypeGroup(PhenotypeFilter filter)
Get the phenotype group from this group which match the critera specified by the filter.

Parameters:
filter - phenotype filter
Returns:
phenotype group

numTaxa

public int numTaxa()
Return the number of taxa.

Returns:
number of taxa.

numEnvironmentExperiments

public int numEnvironmentExperiments()
Return the number of environment experiments.

Returns:
number of environment experiments.