com.compomics.util.protein
Enum Header.DatabaseType
java.lang.Object
java.lang.Enum<Header.DatabaseType>
com.compomics.util.protein.Header.DatabaseType
- All Implemented Interfaces:
- Serializable, Comparable<Header.DatabaseType>
- Enclosing class:
- Header
public static enum Header.DatabaseType
- extends Enum<Header.DatabaseType>
A list of the database types. As there are no standard database names,
this is only an internally consistent naming scheme included to be able
to later separate the databases. For example when linking to the online
version of the database. The links themselves are not included as these
might change outside the control of the compomics-utilities library.
UniProt
public static final Header.DatabaseType UniProt
SGD
public static final Header.DatabaseType SGD
Arabidopsis_thaliana_TAIR
public static final Header.DatabaseType Arabidopsis_thaliana_TAIR
PSB_Arabidopsis_thaliana
public static final Header.DatabaseType PSB_Arabidopsis_thaliana
Drosophile
public static final Header.DatabaseType Drosophile
Flybase
public static final Header.DatabaseType Flybase
NCBI
public static final Header.DatabaseType NCBI
M_Tuberculosis
public static final Header.DatabaseType M_Tuberculosis
H_Invitation
public static final Header.DatabaseType H_Invitation
Halobacterium
public static final Header.DatabaseType Halobacterium
H_Influenza
public static final Header.DatabaseType H_Influenza
C_Trachomatis
public static final Header.DatabaseType C_Trachomatis
D_Melanogaster
public static final Header.DatabaseType D_Melanogaster
Listeria
public static final Header.DatabaseType Listeria
GAFFA
public static final Header.DatabaseType GAFFA
UPS
public static final Header.DatabaseType UPS
Generic_Header
public static final Header.DatabaseType Generic_Header
IPI
public static final Header.DatabaseType IPI
Generic_Split_Header
public static final Header.DatabaseType Generic_Split_Header
Unknown
public static final Header.DatabaseType Unknown
values
public static Header.DatabaseType[] 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 (Header.DatabaseType c : Header.DatabaseType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Header.DatabaseType 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 name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.