|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.application.goDensity.business.dag.CvGoDag
CvGoDag represents a GO graph within IntAct.
Furthermore, the method todb():void can be used, to store the GO-graph
in an external table, which can be used for fast & direct access (FastGoDag.java).
Before you can use this class, GO has to be imported (InsertGoFromFlatfile.java)
| Constructor Summary | |
CvGoDag()
Constructor retrieve the root element of GO hierarchy (of typ CvGoNode) from the database. |
|
| Method Summary | |
java.util.Collection |
getAllChilds(java.lang.String goId)
|
java.util.Collection |
getChilds(java.lang.String goId)
|
CvGoNode |
getCvGoNode(java.lang.String goId)
get a single CvGoNode by a GoId String |
java.util.Collection |
getInteractors(java.lang.String goId)
|
void |
toDb()
stores the GO dag to a external table, which only stores the go hierarchy, which is used by FastGoDag |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CvGoDag()
throws DatabaseEmptyException,
IntactException,
java.sql.SQLException,
KeyNotFoundException
DatabaseEmptyException - if no go-dag-file is jet imported into db.
IntactException
java.sql.SQLException
KeyNotFoundException| Method Detail |
public void toDb()
public CvGoNode getCvGoNode(java.lang.String goId)
throws KeyNotFoundException
goId -
KeyNotFoundException - if no CvGoNode is present for this GoId request
Could happen, if e.g. only a part of the go-dag.ontology is imported ...
public java.util.Collection getChilds(java.lang.String goId)
throws KeyNotFoundException
goId - for which the children want to be known
KeyNotFoundException - if goId doesn't exist as an CvGoNode Object
public java.util.Collection getAllChilds(java.lang.String goId)
throws KeyNotFoundException
goId - for which all children and subchildren want to be known
KeyNotFoundException - if goId doesn't existpublic java.util.Collection getInteractors(java.lang.String goId)
goId - for which all associated Interactors want to be known
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||