edu.iastate.biocyc.dao.txt
Class BiocycCompound

java.lang.Object
  extended by edu.iastate.biocyc.dao.txt.AbstractBiocycElement
      extended by edu.iastate.biocyc.dao.txt.BiocycCompound
All Implemented Interfaces:
BiocycElement

public class BiocycCompound
extends AbstractBiocycElement

biocyc compound

Author:
Jie Li

Field Summary
(package private) static org.apache.log4j.Logger logger
          log4j facility
 
Fields inherited from class edu.iastate.biocyc.dao.txt.AbstractBiocycElement
dataMap
 
Constructor Summary
BiocycCompound(java.util.Map dataMap)
          default constructor
 
Method Summary
 Blockunit createBlockunit(java.lang.String organism, java.lang.String username, java.lang.String source)
          create the blockunit
 java.util.Collection getDblinkList()
          get the external database link
 java.lang.String getMolecularWeight()
          get the molecular weight of the compound
 java.lang.String getSmiles()
          get the SMILES formula
 java.lang.String getSystematicName()
          get the systematic name
static java.util.Map toBiocycMap(java.util.Map dataMap)
          instance map contains the unique id key and biocyc element value
 
Methods inherited from class edu.iastate.biocyc.dao.txt.AbstractBiocycElement
adjustName, duplicatedName, getCitationList, getCommentList, getCommonName, getDataMap, getFirst, getSynonymList, getTypeList, getUniqueId, isNumeric, joinCommonProperties, joinConfidence, setDataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility

Constructor Detail

BiocycCompound

public BiocycCompound(java.util.Map dataMap)
default constructor

Parameters:
dataMap - the data map
Method Detail

getMolecularWeight

public java.lang.String getMolecularWeight()
get the molecular weight of the compound

Returns:
the molecular weight

getDblinkList

public java.util.Collection getDblinkList()
get the external database link

Returns:
the external database link

getSmiles

public java.lang.String getSmiles()
get the SMILES formula

Returns:
the SMILES formula

getSystematicName

public java.lang.String getSystematicName()
get the systematic name

Returns:
the systematic name

toBiocycMap

public static java.util.Map toBiocycMap(java.util.Map dataMap)
instance map contains the unique id key and biocyc element value

Parameters:
dataMap - the data map
Returns:
the instance map

createBlockunit

public Blockunit createBlockunit(java.lang.String organism,
                                 java.lang.String username,
                                 java.lang.String source)
Description copied from interface: BiocycElement
create the blockunit

Specified by:
createBlockunit in interface BiocycElement
Specified by:
createBlockunit in class AbstractBiocycElement
Returns:
create the blockunit