public abstract class DBDatabase extends Object implements Database
Constructor and Description |
---|
DBDatabase() |
DBDatabase(String db_name,
EnsemblDBType type,
Registry registry) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Database other) |
String |
getBuild() |
String |
getdBClassifier() |
String |
getdBName() |
String |
getDBVersion() |
int |
getIntDBVersion() |
int |
getIntSchemaVersion() |
org.apache.ibatis.session.SqlSession |
getNewSqlSession() |
Registry |
getRegistry() |
String |
getSchemaVersion() |
protected org.apache.ibatis.session.SqlSessionFactory |
getSessionFactory() |
EnsemblDBType |
getType() |
void |
setBuild(String build) |
void |
setdBName(String dBName) |
void |
setDBVersion(String version) |
void |
setIntDBVersion(int intVersion) |
void |
setIntSchemaVersion(int intEnsemblSchemaVersion) |
void |
setRegistry(Registry r) |
void |
setSchemaVersion(String ensemblSchemaVersion) |
void |
setType(EnsemblDBType type) |
String |
toString() |
public DBDatabase()
public DBDatabase(String db_name, EnsemblDBType type, Registry registry) throws ConfigurationException
ConfigurationException
public EnsemblDBType getType()
public void setType(EnsemblDBType type)
public String getDBVersion()
getDBVersion
in interface Database
public final void setDBVersion(String version)
public int getIntDBVersion()
getIntDBVersion
in interface Database
public void setIntDBVersion(int intVersion)
public String getSchemaVersion()
getSchemaVersion
in interface Database
public void setSchemaVersion(String ensemblSchemaVersion)
public int getIntSchemaVersion()
getIntSchemaVersion
in interface Database
public void setIntSchemaVersion(int intEnsemblSchemaVersion)
public int compareTo(Database other)
compareTo
in interface Comparable<Database>
public Registry getRegistry()
getRegistry
in interface Database
public final void setRegistry(Registry r)
public String getdBClassifier()
getdBClassifier
in interface Database
protected org.apache.ibatis.session.SqlSessionFactory getSessionFactory() throws DAOException
DAOException
public org.apache.ibatis.session.SqlSession getNewSqlSession() throws DAOException
getNewSqlSession
in interface Database
DAOException
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3