|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.bio.chado.ChadoCVFactory
public class ChadoCVFactory
A factory for ChadoCV objects.
| Constructor Summary | |
|---|---|
ChadoCVFactory(java.sql.Connection connection)
Create a new ChadoCVFactory. |
|
| Method Summary | |
|---|---|
ChadoCV |
getChadoCV(java.lang.String cvName)
Get a new ChadoCV containing only cv terms from the cv with the given name. |
protected java.sql.ResultSet |
getCVTermRelationshipResultSet(java.sql.Connection connection,
java.lang.String cvName)
Return the rows from the cvterm_relationship table that relate cvterms from the cv with the given name. |
protected java.sql.ResultSet |
getCVTermResultSet(java.sql.Connection connection,
java.lang.String cvName)
Return the rows from the cvterm table that are from the cv with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChadoCVFactory(java.sql.Connection connection)
connection - the connection to use for querying cvterms.| Method Detail |
|---|
public ChadoCV getChadoCV(java.lang.String cvName)
throws java.sql.SQLException
cvName - the name of the cv = cv.name in chado
java.sql.SQLException - if there is problem while querying
protected java.sql.ResultSet getCVTermRelationshipResultSet(java.sql.Connection connection,
java.lang.String cvName)
throws java.sql.SQLException
connection - the db connectioncvName - the value of the name field to use when finding the cv
java.sql.SQLException - if a database problem occurs
protected java.sql.ResultSet getCVTermResultSet(java.sql.Connection connection,
java.lang.String cvName)
throws java.sql.SQLException
connection - the db connectioncvName - the value of the name field to use when finding the cv
java.sql.SQLException - if a database problem occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||