uk.ac.ebi.ep.mm.app
Class CompoundsDAOImpl

java.lang.Object
  extended by uk.ac.ebi.ep.mm.app.DatabaseResources
      extended by uk.ac.ebi.ep.mm.app.CompoundsDAOImpl
All Implemented Interfaces:
ICompoundsDAO

public class CompoundsDAOImpl
extends DatabaseResources
implements ICompoundsDAO

This class is to retrieve compounds from chebi database and write them to the mega mapper

Author:
joseph

Constructor Summary
CompoundsDAOImpl(String dbConfig)
           
 
Method Summary
 Entry computeChebiEntry(String chebiAccession, String entryName)
           
 Entry computeUniprotEntry(String reference_id, String reference_name)
           
 XRef computeXref(Entry chebiEntry, Entry uniprotEntry, String location_in_ref)
           
 void getCHEBI_Compounds()
           
static
<T extends Enum<T>>
T
getValueOfEnum(Class<T> enumeration, String name)
           
 
Methods inherited from class uk.ac.ebi.ep.mm.app.DatabaseResources
getConnection, getMegaMapper, writeEntries, writeEntry, writeXref, writeXrefs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundsDAOImpl

public CompoundsDAOImpl(String dbConfig)
Method Detail

getCHEBI_Compounds

public void getCHEBI_Compounds()
Specified by:
getCHEBI_Compounds in interface ICompoundsDAO

getValueOfEnum

public static <T extends Enum<T>> T getValueOfEnum(Class<T> enumeration,
                                                   String name)

computeChebiEntry

public Entry computeChebiEntry(String chebiAccession,
                               String entryName)

computeUniprotEntry

public Entry computeUniprotEntry(String reference_id,
                                 String reference_name)

computeXref

public XRef computeXref(Entry chebiEntry,
                        Entry uniprotEntry,
                        String location_in_ref)


Copyright © 2012 EMBL-EBI. All Rights Reserved.