org.sbml.jsbml
public static class SBO.Triple extends java.lang.Object implements java.lang.Cloneable, java.lang.Comparable<SBO.Triple>, java.io.Serializable
org.biojava.ontology.Triple
, to allow for simplified access to
the properties of a subject-predicate-object triple in this ontology.org.biojava.ontology.Triple
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Generated serial version identifier.
|
private org.biojava.ontology.Triple |
triple
The BioJava
org.biojava.ontology.Triple . |
Modifier | Constructor and Description |
---|---|
private |
SBO.Triple(org.biojava.ontology.Triple triple)
Creates a new
SBO.Triple from a given corresponding object from
BioJava. |
Modifier and Type | Method and Description |
---|---|
SBO.Triple |
clone() |
int |
compareTo(SBO.Triple triple) |
boolean |
equals(java.lang.Object o) |
SBO.Term |
getObject()
Returns the object of this
SBO.Triple . |
SBO.Term |
getPredicate()
Returns the predicate of this
SBO.Triple . |
SBO.Term |
getSubject()
Returns the subject of this
SBO.Triple . |
org.biojava.ontology.Triple |
getTriple()
Grants access to the original BioJava
org.biojava.ontology.Triple . |
java.lang.String |
toString() |
private static final long serialVersionUID
private org.biojava.ontology.Triple triple
org.biojava.ontology.Triple
.private SBO.Triple(org.biojava.ontology.Triple triple)
SBO.Triple
from a given corresponding object from
BioJava.triple
- public SBO.Triple clone()
clone
in class java.lang.Object
public int compareTo(SBO.Triple triple)
compareTo
in interface java.lang.Comparable<SBO.Triple>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public SBO.Term getObject()
SBO.Triple
.SBO.Triple
.public SBO.Term getPredicate()
SBO.Triple
.SBO.Triple
.public SBO.Term getSubject()
SBO.Triple
.SBO.Triple
.public org.biojava.ontology.Triple getTriple()
org.biojava.ontology.Triple
.org.biojava.ontology.Triple
.public java.lang.String toString()
toString
in class java.lang.Object