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-utilties library.
UniProt
public static final Header.DatabaseType UniProt
Unknown
public static final Header.DatabaseType Unknown
NCBI
public static final Header.DatabaseType NCBI
IPI
public static final Header.DatabaseType IPI
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
M_Tuberculosis
public static final Header.DatabaseType M_Tuberculosis
Drosophile
public static final Header.DatabaseType Drosophile
SGD
public static final Header.DatabaseType SGD
Flybase
public static final Header.DatabaseType Flybase
D_Melanogaster
public static final Header.DatabaseType D_Melanogaster
Arabidopsis_thaliana_TAIR
public static final Header.DatabaseType Arabidopsis_thaliana_TAIR
PSB_Arabidopsis_thaliana
public static final Header.DatabaseType PSB_Arabidopsis_thaliana
Listeria
public static final Header.DatabaseType Listeria
Generic_Header
public static final Header.DatabaseType Generic_Header
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 © 2011. All Rights Reserved.