|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.annotation.OntologyTerm
@Deprecated public class OntologyTerm
Represents one node in an ontology, which is a hierarchical classification of entities using a controlled vocabulary. Each term has a name, a unique integer identifier, a list of parent terms, and a list of containers. Parent terms capture the "is-child-of" relationship for this term. Container terms capture the "is-part-of" relationship. This data model was inspired by the three ontologies (biological process, molecular function, cellular component) of the Gene Ontology project. Other ontologies should work nicely with this class as well.
Constructor Summary | |
---|---|
OntologyTerm(String name,
int id)
Deprecated. Creates a new OntologyTerm object. |
Method Summary | |
---|---|
void |
addContainer(int newContainer)
Deprecated. DOCUMENT ME! |
void |
addParent(int newParent)
Deprecated. DOCUMENT ME! |
int[] |
getContainers()
Deprecated. DOCUMENT ME! |
int |
getId()
Deprecated. DOCUMENT ME! |
String |
getName()
Deprecated. DOCUMENT ME! |
int[] |
getParents()
Deprecated. DOCUMENT ME! |
int[] |
getParentsAndContainers()
Deprecated. DOCUMENT ME! |
boolean |
isAncestorOf(Ontology ontology,
OntologyTerm other)
Deprecated. |
boolean |
isChildOf(OntologyTerm other)
Deprecated. DOCUMENT ME! |
boolean |
isChildOfOrContainedIn(OntologyTerm other)
Deprecated. DOCUMENT ME! |
boolean |
isContainedIn(OntologyTerm other)
Deprecated. DOCUMENT ME! |
boolean |
isContainerOf(OntologyTerm other)
Deprecated. DOCUMENT ME! |
boolean |
isParentOf(OntologyTerm other)
Deprecated. DOCUMENT ME! |
boolean |
isParentOrContainerOf(OntologyTerm other)
Deprecated. DOCUMENT ME! |
int |
numberOfContainers()
Deprecated. DOCUMENT ME! |
int |
numberOfParents()
Deprecated. DOCUMENT ME! |
int |
numberOfParentsAndContainers()
Deprecated. DOCUMENT ME! |
String |
toString()
Deprecated. DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OntologyTerm(String name, int id)
name
- DOCUMENT ME!id
- DOCUMENT ME!Method Detail |
---|
public String getName()
public int getId()
public void addParent(int newParent)
newParent
- DOCUMENT ME!public void addContainer(int newContainer)
newContainer
- DOCUMENT ME!public int numberOfParentsAndContainers()
public int numberOfParents()
public int numberOfContainers()
public int[] getParents()
public int[] getContainers()
public int[] getParentsAndContainers()
public boolean isParentOf(OntologyTerm other)
other
- DOCUMENT ME!
public boolean isAncestorOf(Ontology ontology, OntologyTerm other)
ontology
- the Ontology that contains the terms
public boolean isChildOf(OntologyTerm other)
other
- DOCUMENT ME!
public boolean isContainerOf(OntologyTerm other)
other
- DOCUMENT ME!
public boolean isContainedIn(OntologyTerm other)
other
- DOCUMENT ME!
public boolean isChildOfOrContainedIn(OntologyTerm other)
other
- DOCUMENT ME!
public boolean isParentOrContainerOf(OntologyTerm other)
other
- DOCUMENT ME!
public String toString()
toString
in class Object
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |