Enum SearchDatabase
- java.lang.Object
-
- java.lang.Enum<SearchDatabase>
-
- psidev.psi.mi.jami.bridges.uniprot.rest.SearchDatabase
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchDatabase>
public enum SearchDatabase extends Enum<SearchDatabase>
TODO: Work in progress to adapt the databases
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDbName()
static String
toEnumString(String dbName)
static SearchDatabase
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchDatabase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMBL
public static final SearchDatabase EMBL
-
EMBLWGS
public static final SearchDatabase EMBLWGS
-
EMBL_ANNCON
public static final SearchDatabase EMBL_ANNCON
-
EMBL_TPA
public static final SearchDatabase EMBL_TPA
-
ENSEMBL
public static final SearchDatabase ENSEMBL
-
EPO
public static final SearchDatabase EPO
-
FLYBASE
public static final SearchDatabase FLYBASE
-
H_INV
public static final SearchDatabase H_INV
-
IPI
public static final SearchDatabase IPI
-
JPO
public static final SearchDatabase JPO
-
PDB
public static final SearchDatabase PDB
-
PIR
public static final SearchDatabase PIR
-
PIRARC
public static final SearchDatabase PIRARC
-
PRF
public static final SearchDatabase PRF
-
REFSEQ
public static final SearchDatabase REFSEQ
-
SGD
public static final SearchDatabase SGD
-
SWISSPROT
public static final SearchDatabase SWISSPROT
-
SWISSPROT_VARSPLIC
public static final SearchDatabase SWISSPROT_VARSPLIC
-
TAIR_ARABIDOPSIS
public static final SearchDatabase TAIR_ARABIDOPSIS
-
TREMBL
public static final SearchDatabase TREMBL
-
UNIMES
public static final SearchDatabase UNIMES
-
USPTO
public static final SearchDatabase USPTO
-
-
Method Detail
-
values
public static SearchDatabase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchDatabase c : SearchDatabase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchDatabase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDbName
public String getDbName()
-
-