uk.ac.ebi.intenz.stats.db
Class IntEnzDbStatistics
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntEnzDbStatistics
public IntEnzDbStatistics(Connection con)
throws IOException,
SQLException,
DomainException
- Throws:
IOException
SQLException
DomainException
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.