cytoscape.data.ontology
Class Triple
java.lang.Object
org.biojava.utils.AbstractChangeable
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 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 |
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)
|
Methods inherited from class org.biojava.utils.AbstractChangeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from interface org.biojava.ontology.Triple |
equals, hashCode |
Methods inherited from interface org.biojava.utils.Changeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Triple
public Triple(org.biojava.ontology.Term subject,
org.biojava.ontology.Term object,
org.biojava.ontology.Term predicate,
String name,
String description)
getObject
public org.biojava.ontology.Term getObject()
- Specified by:
getObject
in interface org.biojava.ontology.Triple
getPredicate
public org.biojava.ontology.Term getPredicate()
- Specified by:
getPredicate
in interface org.biojava.ontology.Triple
getSubject
public org.biojava.ontology.Term getSubject()
- Specified by:
getSubject
in interface org.biojava.ontology.Triple
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()
- Overrides:
toString
in class Object