uk.ac.ebi.intenz.mapper
Class EnzymeFutureMapper

java.lang.Object
  extended by uk.ac.ebi.intenz.mapper.EnzymeHistoryMapper
      extended by uk.ac.ebi.intenz.mapper.EnzymeFutureMapper

public class EnzymeFutureMapper
extends EnzymeHistoryMapper

Maps future event information to the corresponding database tables.

Version:
$Revision: 1.3 $ $Date: 2009/05/26 14:59:09 $
Author:
Michael Darsow

Field Summary
 
Fields inherited from class uk.ac.ebi.intenz.mapper.EnzymeHistoryMapper
visitedNodes
 
Constructor Summary
EnzymeFutureMapper()
           
 
Method Summary
 HistoryGraph find(EnzymeEntry enzymeEntry, Connection con)
           
 boolean futureEventExists(Long enzymeId, Connection con)
          Checks whether an entry in this table exists containing the given enzyme_id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnzymeFutureMapper

public EnzymeFutureMapper()
Method Detail

find

public HistoryGraph find(EnzymeEntry enzymeEntry,
                         Connection con)
                  throws SQLException,
                         DomainException
Overrides:
find in class EnzymeHistoryMapper
Throws:
SQLException
DomainException

futureEventExists

public boolean futureEventExists(Long enzymeId,
                                 Connection con)
                          throws SQLException
Checks whether an entry in this table exists containing the given enzyme_id.

Parameters:
enzymeId - Enzyme ID of the entry.
con - The logical connection.
Returns:
a HistoryEventinstance or null if nothing has been found.
Throws:
SQLException


Copyright © 2013 EMBL-EBI. All Rights Reserved.