Cytoscape 2.8.0 API

cytoscape.data.annotation
Class OntologyTerm

java.lang.Object
  extended by cytoscape.data.annotation.OntologyTerm
All Implemented Interfaces:
Serializable

Deprecated. Use regular CyAttributes for annotation.

@Deprecated
public class OntologyTerm
extends Object
implements Serializable

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.

See Also:
Serialized Form

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

OntologyTerm

public OntologyTerm(String name,
                    int id)
Deprecated. 
Creates a new OntologyTerm object.

Parameters:
name - DOCUMENT ME!
id - DOCUMENT ME!
Method Detail

getName

public String getName()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

getId

public int getId()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

addParent

public void addParent(int newParent)
Deprecated. 
DOCUMENT ME!

Parameters:
newParent - DOCUMENT ME!

addContainer

public void addContainer(int newContainer)
Deprecated. 
DOCUMENT ME!

Parameters:
newContainer - DOCUMENT ME!

numberOfParentsAndContainers

public int numberOfParentsAndContainers()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

numberOfParents

public int numberOfParents()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

numberOfContainers

public int numberOfContainers()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

getParents

public int[] getParents()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

getContainers

public int[] getContainers()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

getParentsAndContainers

public int[] getParentsAndContainers()
Deprecated. 
DOCUMENT ME!

Returns:
DOCUMENT ME!

isParentOf

public boolean isParentOf(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

isAncestorOf

public boolean isAncestorOf(Ontology ontology,
                            OntologyTerm other)
Deprecated. 
Parameters:
ontology - the Ontology that contains the terms
Returns:
true if this OntologyTerm has a path to the other ontologyTerm via parent-child or container-contained relationships

isChildOf

public boolean isChildOf(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

isContainerOf

public boolean isContainerOf(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

isContainedIn

public boolean isContainedIn(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

isChildOfOrContainedIn

public boolean isChildOfOrContainedIn(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

isParentOrContainerOf

public boolean isParentOrContainerOf(OntologyTerm other)
Deprecated. 
DOCUMENT ME!

Parameters:
other - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public String toString()
Deprecated. 
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.