uk.ac.ebi.ep.mm
Enum MmDatabase

java.lang.Object
  extended by java.lang.Enum<MmDatabase>
      extended by uk.ac.ebi.ep.mm.MmDatabase
All Implemented Interfaces:
Serializable, Comparable<MmDatabase>

public enum MmDatabase
extends Enum<MmDatabase>

Databases included in the mega-map (or encountered in some way during the process of building it).

Author:
rafa

Enum Constant Summary
Agricola
           
ArrayExpressAtlas
           
Beilstein
           
BioModels
           
BRENDA
           
CAS
           
ChEBI
           
ChEMBL
           
ChEMBL_Activity
           
ChEMBL_Target
           
Chinese_Abstracts
           
COMe
           
DrugBank
           
EC
           
EFO
           
Gmelin
           
Golm
           
HMDB
           
IEDB
           
IntAct
           
IntEnz
           
KEGG_COMPOUND
           
KEGG_DRUG
           
KEGG_GLYCAN
           
Linnean
           
LIPID_MAPS_class
           
LIPID_MAPS_instance
           
MeSH
           
MetaCyc
           
MolBase
           
NMRShiftDB
           
OMIM
           
Patent
           
PDB
           
PDBeChem
           
PubChem
           
PubMed
           
Reactome
           
Reaxys
           
RESID
           
Rhea
           
SABIO_RK
           
UM_BBD_compID
           
UniProt
           
WebElements
           
Wikipedia
           
 
Method Summary
 String getAccessionField()
           
 String getIdField()
           
 String getNameField()
           
static MmDatabase parse(String s)
          Parses a string into a MmDatabase value.
static MmDatabase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MmDatabase[] 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

Agricola

public static final MmDatabase Agricola

ArrayExpressAtlas

public static final MmDatabase ArrayExpressAtlas

BRENDA

public static final MmDatabase BRENDA

Beilstein

public static final MmDatabase Beilstein

BioModels

public static final MmDatabase BioModels

CAS

public static final MmDatabase CAS

COMe

public static final MmDatabase COMe

ChEBI

public static final MmDatabase ChEBI

ChEMBL

public static final MmDatabase ChEMBL

ChEMBL_Activity

public static final MmDatabase ChEMBL_Activity

ChEMBL_Target

public static final MmDatabase ChEMBL_Target

Chinese_Abstracts

public static final MmDatabase Chinese_Abstracts

DrugBank

public static final MmDatabase DrugBank

EC

public static final MmDatabase EC

EFO

public static final MmDatabase EFO

Gmelin

public static final MmDatabase Gmelin

Golm

public static final MmDatabase Golm

HMDB

public static final MmDatabase HMDB

IEDB

public static final MmDatabase IEDB

IntAct

public static final MmDatabase IntAct

IntEnz

public static final MmDatabase IntEnz

KEGG_COMPOUND

public static final MmDatabase KEGG_COMPOUND

KEGG_DRUG

public static final MmDatabase KEGG_DRUG

KEGG_GLYCAN

public static final MmDatabase KEGG_GLYCAN

Linnean

public static final MmDatabase Linnean

LIPID_MAPS_class

public static final MmDatabase LIPID_MAPS_class

LIPID_MAPS_instance

public static final MmDatabase LIPID_MAPS_instance

MeSH

public static final MmDatabase MeSH

MetaCyc

public static final MmDatabase MetaCyc

MolBase

public static final MmDatabase MolBase

NMRShiftDB

public static final MmDatabase NMRShiftDB

OMIM

public static final MmDatabase OMIM

PDB

public static final MmDatabase PDB

PDBeChem

public static final MmDatabase PDBeChem

Patent

public static final MmDatabase Patent

PubChem

public static final MmDatabase PubChem

PubMed

public static final MmDatabase PubMed

RESID

public static final MmDatabase RESID

Reactome

public static final MmDatabase Reactome

Reaxys

public static final MmDatabase Reaxys

Rhea

public static final MmDatabase Rhea

SABIO_RK

public static final MmDatabase SABIO_RK

UM_BBD_compID

public static final MmDatabase UM_BBD_compID

UniProt

public static final MmDatabase UniProt

WebElements

public static final MmDatabase WebElements

Wikipedia

public static final MmDatabase Wikipedia
Method Detail

values

public static MmDatabase[] 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 (MmDatabase c : MmDatabase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MmDatabase 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

getIdField

public String getIdField()

getNameField

public String getNameField()

getAccessionField

public String getAccessionField()

parse

public static MmDatabase parse(String s)
Parses a string into a MmDatabase value. This method is more flexible than valueOf, accepting database synonyms (ex. 'TrEMBL' will be parsed as UniProt) and ignoring letter case.

Parameters:
s -
Returns:
a MmDatabase, or null if no match is found.


Copyright © 2012 EMBL-EBI. All Rights Reserved.