|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.AbstractDBConnection
This class provides a skeletal implementation of the DBConnection
interface, to minimize the effort required to implement this interface.
To implement a database connection, the programmer needs to extend
this class and provide implementations for the following methods defined
in the DBConnection interface:
| Field Summary | |
protected java.lang.String |
myDataSource
|
protected java.lang.String |
myDescription
|
| Constructor Summary | |
AbstractDBConnection(java.lang.String dataSource,
java.lang.String description)
AbstractDBConnection Constructor. |
|
| Method Summary | |
void |
close()
This method is unsupported by this class. |
java.lang.String |
getDataSource()
Returns the data source of this connection. |
java.lang.String |
getDescription()
Returns a description of this connection. |
DistinctPropertyValues |
getDistinctProperties(java.util.List properties)
This method is unsupported by this class. |
EnvironmentExperimentGroup |
getEnvironmentExperimentGroup(EnvironmentExperimentFilter filter)
This method is unsupported by this class. |
GenotypeExperimentGroup |
getGenotypeExperimentGroup(GenotypeExperimentFilter filter)
This method is unsupported by this class. |
GenericTable |
getGenotypeGenericTable(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
This method is unsupported by this class. |
GenotypeGroup |
getGenotypeGroup(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
This method is unsupported by this class. |
LocalityGroup |
getLocalityGroup(LocalityFilter filter)
This method is unsupported by this class. |
LocusGroup |
getLocusGroup(LocusFilter filter)
This method is unsupported by this class. |
PhenotypeGroup |
getPhenotypeGroup(EnvironmentExperimentGroup experimentGroup,
TaxonGroup taxonGroup,
PhenotypeOntologyGroup ontologyGroup)
This method is unsupported by this class. |
PhenotypeOntologyGroup |
getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
This method is unsupported by this class. |
TaxonGroup |
getTaxonGroup(TaxonFilter filter)
This method is unsupported by this class. |
java.lang.String |
toString()
Returns the String representation of this connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final java.lang.String myDataSource
protected final java.lang.String myDescription
| Constructor Detail |
public AbstractDBConnection(java.lang.String dataSource,
java.lang.String description)
dataSource - the data source of this connectiondescription - description of this connection| Method Detail |
public final java.lang.String getDataSource()
getDataSource in interface DBConnectionpublic final java.lang.String getDescription()
getDescription in interface DBConnectionpublic LocusGroup getLocusGroup(LocusFilter filter)
getLocusGroup in interface DBConnectionfilter - filter containing criteria to build locus group.
public GenotypeExperimentGroup getGenotypeExperimentGroup(GenotypeExperimentFilter filter)
getGenotypeExperimentGroup in interface DBConnectionfilter - filter containing criteria.
public TaxonGroup getTaxonGroup(TaxonFilter filter)
getTaxonGroup in interface DBConnectionfilter - filter containing criteria.
public PhenotypeOntologyGroup getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
getPhenotypeOntologyGroup in interface DBConnectionfilter - phenotype ontology filter
public EnvironmentExperimentGroup getEnvironmentExperimentGroup(EnvironmentExperimentFilter filter)
getEnvironmentExperimentGroup in interface DBConnectionfilter - filter containing criteria.
public LocalityGroup getLocalityGroup(LocalityFilter filter)
getLocalityGroup in interface DBConnectionfilter - filter containing criteria.
public PhenotypeGroup getPhenotypeGroup(EnvironmentExperimentGroup experimentGroup,
TaxonGroup taxonGroup,
PhenotypeOntologyGroup ontologyGroup)
getPhenotypeGroup in interface DBConnectionexperimentGroup - environment experiment grouptaxonGroup - taxon groupontologyGroup - phenotype ontology group
public DistinctPropertyValues getDistinctProperties(java.util.List properties)
getDistinctProperties in interface DBConnectionproperties - list of properties
public java.lang.String toString()
public GenotypeGroup getGenotypeGroup(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
getGenotypeGroup in interface DBConnectionexperimentGroup - genotype experiment grouptaxonGroup - taxon group
public GenericTable getGenotypeGenericTable(GenotypeExperimentGroup experimentGroup,
TaxonGroup taxonGroup)
getGenotypeGenericTable in interface DBConnectionexperimentGroup - genotype experiment grouptaxonGroup - taxon group
public void close()
close in interface DBConnection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||