methods.scores.go
Class GOTerm

java.lang.Object
  extended by methods.scores.go.GOTerm

public class GOTerm
extends Object

Represents a single GO term in an ontology network. Contains the identifier of the term as well as its parents and children.

Author:
Jan Krumsiek

Field Summary
 Collection<GOTerm> children
          List of children of this term
 String ID
          Identifier of this GO term, for example: GO:0005471
 Collection<GOTerm> parents
          List of parents of this term.
 
Constructor Summary
GOTerm(String ID)
          Creates a term object with the given GO term ID:
 
Method Summary
 int hashCode()
           
 String toString()
          Returns a String representation of this GO term containing its id but no parent or child relationships.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public String ID
Identifier of this GO term, for example: GO:0005471


parents

public Collection<GOTerm> parents
List of parents of this term.


children

public Collection<GOTerm> children
List of children of this term

Constructor Detail

GOTerm

public GOTerm(String ID)
Creates a term object with the given GO term ID:

Parameters:
ID - ID of the GO term
Method Detail

toString

public String toString()
Returns a String representation of this GO term containing its id but no parent or child relationships.

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object