public static enum DBConnection.DataSource extends Enum<DBConnection.DataSource> implements Serializable
Enum Constant and Description |
---|
ENSEMBLBACTERIA |
ENSEMBLDB |
ENSEMBLDB_ARCHIVES |
ENSEMBLGENOMES |
LOCAL |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static DBConnection.DataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBConnection.DataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBConnection.DataSource ENSEMBLDB
public static final DBConnection.DataSource ENSEMBLDB_ARCHIVES
public static final DBConnection.DataSource ENSEMBLGENOMES
public static final DBConnection.DataSource ENSEMBLBACTERIA
public static final DBConnection.DataSource LOCAL
public static DBConnection.DataSource[] values()
for (DBConnection.DataSource c : DBConnection.DataSource.values()) System.out.println(c);
public static DBConnection.DataSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DBConnection.DataSource>
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3