|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.AbstractDBGateway
This class provides a skeletal implementation of the DBGateway interface to minimize the effort required to implement this interface.
| Constructor Summary | |
AbstractDBGateway()
AbstractDBGateway constructor. |
|
| Method Summary | |
boolean |
addDBConnection(DBConnection connection)
Adds a database connection to this gateway. |
DBConnection[] |
getDBConnections()
Returns the list of database connections that this gateway is managing. |
DistinctPropertyValues |
getDistinctProperties(Property[] properties)
Returns list(s) of distinct property values for the given properties. |
EnvironmentExperimentGroup |
getEnvironmentExperimentGroup(EnvironmentExperimentFilter filter)
Gets an environment experiment group based on the given environment experiment filter. |
GenotypeExperimentGroup |
getGenotypeExperimentGroup(GenotypeExperimentFilter filter)
Gets a genotype experiment group based on the given genotype experiment filter. |
GenotypeGroup |
getGenotypeGroup(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
Gets the genotypes for all combinations of genotype experiments and taxa defined by the respective groups. |
LocalityGroup |
getLocalityGroup(LocalityFilter filter)
Gets a locality group based on the given locality filter. |
LocusGroup |
getLocusGroup(LocusFilter filter)
Gets a locus group based on the given locus filter. |
int |
getNumConnections()
Returns the number of connections managed by this gateway. |
PhenotypeGroup |
getPhenotypeGroup(EnvironmentExperimentGroup experimentGroup,
TaxonGroup taxonGroup,
PhenotypeOntologyGroup ontologyGroup)
Gets the phenotypes for all combinations of environment experiments, taxa, and phenotype ontologys defined by the respective groups. |
PhenotypeOntologyGroup |
getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
Get a phenotype ontology group based on the given pheotype ontology filter. |
TaxonGroup |
getTaxonGroup(TaxonFilter filter)
Gets a taxon group based on the given taxon filter. |
boolean |
removeDBConnection(DBConnection connection)
Removes the specified database connection from this gateway. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDBGateway()
| Method Detail |
public EnvironmentExperimentGroup getEnvironmentExperimentGroup(EnvironmentExperimentFilter filter)
getEnvironmentExperimentGroup in interface DBGatewayfilter - filter containing criteria.
public GenotypeExperimentGroup getGenotypeExperimentGroup(GenotypeExperimentFilter filter)
getGenotypeExperimentGroup in interface DBGatewayfilter - filter containing criteria.
public GenotypeGroup getGenotypeGroup(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
getGenotypeGroup in interface DBGatewayexperimentGroup - genotype experiment grouptaxonGroup - taxon group
public LocusGroup getLocusGroup(LocusFilter filter)
getLocusGroup in interface DBGatewayfilter - filter containing criteria to build locus group.
public LocalityGroup getLocalityGroup(LocalityFilter filter)
getLocalityGroup in interface DBGatewayfilter - filter containing criteria.
public PhenotypeOntologyGroup getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
getPhenotypeOntologyGroup in interface DBGatewayfilter - phenotype ontology filter
public PhenotypeGroup getPhenotypeGroup(EnvironmentExperimentGroup experimentGroup,
TaxonGroup taxonGroup,
PhenotypeOntologyGroup ontologyGroup)
getPhenotypeGroup in interface DBGatewayexperimentGroup - environment experiment grouptaxonGroup - taxon groupontologyGroup - phenotype ontology group
public TaxonGroup getTaxonGroup(TaxonFilter filter)
getTaxonGroup in interface DBGatewayfilter - filter containing criteria.
public DistinctPropertyValues getDistinctProperties(Property[] properties)
getDistinctProperties in interface DBGatewayproperties - list of properties
public boolean addDBConnection(DBConnection connection)
addDBConnection in interface DBGatewayconnection - connection to add
public boolean removeDBConnection(DBConnection connection)
removeDBConnection in interface DBGatewayconnection - connection to remove
public DBConnection[] getDBConnections()
getDBConnections in interface DBGatewaypublic int getNumConnections()
getNumConnections in interface DBGateway
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||