|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmethods.scores.go.GOTerm
public class GOTerm
Represents a single GO term in an ontology network. Contains the identifier of the term as well as its parents and children.
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 |
---|
public String ID
public Collection<GOTerm> parents
public Collection<GOTerm> children
Constructor Detail |
---|
public GOTerm(String ID)
ID
- ID of the GO termMethod Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |