uk.ac.ebi.intenz.stats.db
Class IntEnzDbStatistics

java.lang.Object
  extended by uk.ac.ebi.intenz.stats.db.IntEnzDbStatistics
All Implemented Interfaces:
IIntEnzStatistics

public class IntEnzDbStatistics
extends Object
implements IIntEnzStatistics

IntEnz statistics gathered from a database connection.

Since:
1.1.0
Author:
rafalcan

Constructor Summary
IntEnzDbStatistics(Connection con)
           
 
Method Summary
 int getClasses()
           
 Map<String,Map<Boolean,Integer>> getEnzymesByStatus()
          Retrieves the number of enzymes by status.
 Map<XrefDatabaseConstant,XrefsStats> getLinks()
           
 Date getReleaseDate()
           
 int getReleaseNumber()
           
 int getSubclasses()
           
 int getSubSubclasses()
           
 int getSynonyms()
           
 Map<XrefDatabaseConstant,XrefsStats> getXrefs()
           
 void setConnection(Connection con)
           
 void updateStatistics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntEnzDbStatistics

public IntEnzDbStatistics(Connection con)
                   throws IOException,
                          SQLException,
                          DomainException
Throws:
IOException
SQLException
DomainException
Method Detail

getReleaseNumber

public int getReleaseNumber()
Specified by:
getReleaseNumber in interface IIntEnzStatistics

getReleaseDate

public Date getReleaseDate()
Specified by:
getReleaseDate in interface IIntEnzStatistics

getClasses

public int getClasses()
Specified by:
getClasses in interface IIntEnzStatistics

getSubclasses

public int getSubclasses()
Specified by:
getSubclasses in interface IIntEnzStatistics

getSubSubclasses

public int getSubSubclasses()
Specified by:
getSubSubclasses in interface IIntEnzStatistics

getEnzymesByStatus

public Map<String,Map<Boolean,Integer>> getEnzymesByStatus()
Description copied from interface: IIntEnzStatistics
Retrieves the number of enzymes by status.

Specified by:
getEnzymesByStatus in interface IIntEnzStatistics
Returns:
a nested map of status (String) to active (Boolean) and number of reactions.

getSynonyms

public int getSynonyms()
Specified by:
getSynonyms in interface IIntEnzStatistics

getXrefs

public Map<XrefDatabaseConstant,XrefsStats> getXrefs()
Specified by:
getXrefs in interface IIntEnzStatistics

getLinks

public Map<XrefDatabaseConstant,XrefsStats> getLinks()
Specified by:
getLinks in interface IIntEnzStatistics

setConnection

public void setConnection(Connection con)
                   throws IOException,
                          SQLException
Throws:
IOException
SQLException

updateStatistics

public void updateStatistics()
                      throws SQLException,
                             DomainException
Throws:
SQLException
DomainException


Copyright © 2013 EMBL-EBI. All Rights Reserved.