com.compomics.util.protein
Enum Header.DatabaseType

java.lang.Object
  extended by java.lang.Enum<Header.DatabaseType>
      extended by com.compomics.util.protein.Header.DatabaseType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Header.DatabaseType>
Enclosing class:
Header

public static enum Header.DatabaseType
extends java.lang.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.


Enum Constant Summary
Arabidopsis_thaliana_TAIR
           
C_Trachomatis
           
D_Melanogaster
           
Drosophile
           
Flybase
           
GAFFA
           
Generic_Header
           
Generic_Split_Header
           
H_Influenza
           
H_Invitation
           
Halobacterium
           
IPI
           
Listeria
           
M_Tuberculosis
           
NCBI
           
PSB_Arabidopsis_thaliana
           
SGD
           
UniProt
           
Unknown
           
UPS
           
 
Method Summary
static Header.DatabaseType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Header.DatabaseType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

Generic_Split_Header

public static final Header.DatabaseType Generic_Split_Header

GAFFA

public static final Header.DatabaseType GAFFA

UPS

public static final Header.DatabaseType UPS
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.