Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.ontology
Class Triple

java.lang.Object
  extended by org.biojava.utils.AbstractChangeable
      extended by cytoscape.data.ontology.Triple
All Implemented Interfaces:
org.biojava.bio.Annotatable, org.biojava.ontology.Term, org.biojava.ontology.Triple, org.biojava.utils.Changeable

public class Triple
extends org.biojava.utils.AbstractChangeable
implements org.biojava.ontology.Triple

Extract partial graph structure.

Since:
Cytoscape 2.4
Version:
0.5
Author:
kono

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biojava.ontology.Triple
org.biojava.ontology.Triple.Impl
 
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
org.biojava.bio.Annotatable.AnnotationForwarder
 
Field Summary
 
Fields inherited from interface org.biojava.ontology.Term
ONTOLOGY
 
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
 
Constructor Summary
Triple(org.biojava.ontology.Term subject, org.biojava.ontology.Term object, org.biojava.ontology.Term predicate, String name, String description)
          Creates a new Triple object.
 
Method Summary
 void addSynonym(Object arg0)
          Triple synonym is not supported.
 org.biojava.bio.Annotation getAnnotation()
          Always return empty annotation object.
 String getDescription()
          Description for triple is not supported.
 String getName()
          Returns human-readable name of this triple.
 org.biojava.ontology.Term getObject()
          DOCUMENT ME!
 org.biojava.ontology.Ontology getOntology()
          Returns ontology which this triple belongs to.
 org.biojava.ontology.Term getPredicate()
          DOCUMENT ME!
 org.biojava.ontology.Term getSubject()
          DOCUMENT ME!
 Object[] getSynonyms()
          Synonym is not supported.
 void removeSynonym(Object arg0)
          Not supported.
 String toString()
          DOCUMENT ME!
 
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biojava.ontology.Triple
equals, hashCode
 
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
 

Constructor Detail

Triple

public Triple(org.biojava.ontology.Term subject,
              org.biojava.ontology.Term object,
              org.biojava.ontology.Term predicate,
              String name,
              String description)
Creates a new Triple object.

Parameters:
subject - DOCUMENT ME!
object - DOCUMENT ME!
predicate - DOCUMENT ME!
name - DOCUMENT ME!
description - DOCUMENT ME!
Method Detail

getObject

public org.biojava.ontology.Term getObject()
DOCUMENT ME!

Specified by:
getObject in interface org.biojava.ontology.Triple
Returns:
DOCUMENT ME!

getPredicate

public org.biojava.ontology.Term getPredicate()
DOCUMENT ME!

Specified by:
getPredicate in interface org.biojava.ontology.Triple
Returns:
DOCUMENT ME!

getSubject

public org.biojava.ontology.Term getSubject()
DOCUMENT ME!

Specified by:
getSubject in interface org.biojava.ontology.Triple
Returns:
DOCUMENT ME!

addSynonym

public void addSynonym(Object arg0)
Triple synonym is not supported.

Specified by:
addSynonym in interface org.biojava.ontology.Term

getDescription

public String getDescription()
Description for triple is not supported.

Specified by:
getDescription in interface org.biojava.ontology.Term

getName

public String getName()
Returns human-readable name of this triple.

Specified by:
getName in interface org.biojava.ontology.Term

getOntology

public org.biojava.ontology.Ontology getOntology()
Returns ontology which this triple belongs to.

Specified by:
getOntology in interface org.biojava.ontology.Term

getSynonyms

public Object[] getSynonyms()
Synonym is not supported.

Specified by:
getSynonyms in interface org.biojava.ontology.Term

removeSynonym

public void removeSynonym(Object arg0)
Not supported.

Specified by:
removeSynonym in interface org.biojava.ontology.Term

getAnnotation

public org.biojava.bio.Annotation getAnnotation()
Always return empty annotation object.

Specified by:
getAnnotation in interface org.biojava.bio.Annotatable

toString

public String toString()
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!

www.cytoscape.org