uk.ac.ebi.intact.model
Class CvGoNode
java.lang.Object
|
+--uk.ac.ebi.intact.model.IntactObjectImpl
|
+--uk.ac.ebi.intact.model.BasicObjectImpl
|
+--uk.ac.ebi.intact.model.AnnotatedObjectImpl
|
+--uk.ac.ebi.intact.model.CvObject
|
+--uk.ac.ebi.intact.model.CvDagObject
|
+--uk.ac.ebi.intact.model.CvGoNode
- All Implemented Interfaces:
- AnnotatedObject, BasicObject, IntactObject, java.io.Serializable
- public class CvGoNode
- extends CvDagObject
Controlled vocabulary class for GeneOntology. CVs which are organised in
a Directed Acyclic (DAG). Each node can have many multiple parents and multiple
children. Each node represents one specific GO ID (cv) in the GO hierarchy.
Before this class can be used, GoTools.insertGoDag(CvGoNode.class, GoDagFlatfile)
must be executet.
- Version:
- $Id: CvGoNode.java,v 1.5 2004/01/31 11:34:16 skerrien Exp $
- Author:
- Markus Brosch (markus @ brosch.cc)
- See Also:
- Serialized Form
|
Constructor Summary |
CvGoNode()
This constructor should be replaced as it could
result in objects with invalid state. |
|
Method Summary |
java.util.Collection |
getAllChilds()
This CvGoNode can have children - the equivalent method is implemented in the
super class CvDagObject by "getChilds" method
This method should provide ALL children (subchildren) of the node,
that means also the children of the children of the children etc. |
java.lang.String |
getGoId()
|
java.util.Collection |
getInteractors(IntactHelper helper)
|
java.lang.String |
toString()
|
| Methods inherited from class uk.ac.ebi.intact.model.AnnotatedObjectImpl |
addAlias, addAnnotation, addReference, addXref, equals, getAliases, getAnnotations, getCurator, getCuratorAc, getFullName, getReferences, getShortLabel, getXrefs, hashCode, removeAlias, removeAnnotation, removeReference, removeXref, setAliases, setAnnotation, setCurator, setCuratorAc, setFullName, setReferences, setShortLabel, setXrefs, update, updateUniqueAnnotation |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CvGoNode
public CvGoNode()
- This constructor should be replaced as it could
result in objects with invalid state. It is here for object mapping
purposes only and if possible will be made private.
getGoId
public java.lang.String getGoId()
- Returns:
- The GO id, which belongs to this unique CvGoNode Object
getAllChilds
public java.util.Collection getAllChilds()
- This CvGoNode can have children - the equivalent method is implemented in the
super class CvDagObject by "getChilds" method
This method should provide ALL children (subchildren) of the node,
that means also the children of the children of the children etc.
- Returns:
- all possible children of this node as a Collection of CvGoNodes
getInteractors
public java.util.Collection getInteractors(IntactHelper helper)
throws IntactException
- Returns:
- Collection of Interactors, which were associated with this GO term / id
IntactException
toString
public java.lang.String toString()
- Specified by:
toString in interface AnnotatedObject- Overrides:
toString in class AnnotatedObjectImpl
- Returns:
- String represention of this node
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk