|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.dataadapter.chado.jdbc.SchemaVersion
public class SchemaVersion
Each instance of this class represents a specific Chado schema version. The class also contains a method that attempts to guess the schema version of a particular Chado database, given a connection to that database. Currently the class knows about only two Chado schema versions, called 'pre_fmb' and 'fmb'; these are successive versions of the schema used at TIGR. 'fmb' stands for FlyBase Migration Build, so the fmb schema should correspond to the Chado/GMOD cvs schema freeze. Some work may need to be done to bring this class up to speed with respect to the regular Chado release cycle.
| Field Summary | |
|---|---|
static SchemaVersion |
FMB
Flybase migration build |
static SchemaVersion |
PRE_FMB
Pre-flybase migration build |
protected java.lang.String |
tag
A String that uniquely identifies a Chado schema version. |
| Method Summary | |
|---|---|
java.lang.String |
getAbbrevCol()
|
java.lang.String |
getCvNameCol()
|
java.lang.String |
getFMaxCol()
|
java.lang.String |
getFMinCol()
|
java.lang.String |
getObjFeatCol()
|
java.lang.String |
getPKeyCol()
|
java.lang.String |
getPValCol()
|
java.lang.String |
getSubjFeatCol()
|
static SchemaVersion |
guessSchemaVersion(java.sql.Connection c)
Attempt to determine the version of a chado schema by interrogating one or two key fields or tables. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static SchemaVersion PRE_FMB
public static SchemaVersion FMB
protected java.lang.String tag
| Method Detail |
|---|
public static SchemaVersion guessSchemaVersion(java.sql.Connection c)
c - A connection to a Chado database whose schema version must be be determined.
c.public java.lang.String getPKeyCol()
public java.lang.String getPValCol()
public java.lang.String getFMinCol()
public java.lang.String getFMaxCol()
public java.lang.String getSubjFeatCol()
public java.lang.String getObjFeatCol()
public java.lang.String getAbbrevCol()
public java.lang.String getCvNameCol()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||