edu.iastate.biocyc.dao.txt
Class BiocycGene

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

public class BiocycGene
extends AbstractBiocycElement

gene object

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
BiocycGene(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 getLocation()
          get the gene location for database
 java.lang.String getProduct()
          get the gene product
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

BiocycGene

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

Parameters:
dataMap - the attribute value map
Method Detail

getDblinkList

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

Returns:
the external database link

getProduct

public java.lang.String getProduct()
get the gene product

Returns:
gene product

getLocation

public java.lang.String getLocation()
get the gene location for database

Returns:
the location

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