org.sbml.jsbml
public static class SBO.Term extends java.lang.Object implements java.lang.Cloneable, java.lang.Comparable<SBO.Term>, java.io.Serializable
org.biojava.ontology.Term
in BioJava as it provides
specialized methods to obtain the information from the SBO OBO file
directly and under the same name as the keys are given in that file.org.biojava.ontology.Term
,
Serialized FormModifier and Type | Field and Description |
---|---|
private java.lang.String |
def
The base properties of this
SBO.Term . |
private java.lang.String |
id
The base properties of this
SBO.Term . |
private java.lang.String |
name
The base properties of this
SBO.Term . |
private static long |
serialVersionUID
Generated serial version identifier.
|
private org.biojava3.ontology.Term |
term
The underlying BioJava
org.biojava.ontology.Term . |
Modifier | Constructor and Description |
---|---|
private |
SBO.Term(org.biojava3.ontology.Term term)
Creates a new Term instance.
|
Modifier and Type | Method and Description |
---|---|
SBO.Term |
clone() |
int |
compareTo(SBO.Term term) |
boolean |
equals(java.lang.Object o) |
java.util.Set<SBO.Term> |
getChildren()
Returns a set of all the children Term.
|
java.lang.String |
getDefinition()
Returns the definition of this
SBO.Term , which is stored in the
corresponding OBO file under the key def . |
java.lang.String |
getId()
Returns the SBO identifier of this
SBO.Term , for instance:
SBO:0000031 . |
java.lang.String |
getName()
Returns the name of this
SBO.Term , i.e., a very short characterization. |
java.util.Set<SBO.Term> |
getParentTerms()
Returns the parent Terms.
|
Synonym[] |
getSynonyms()
Returns all
Synonym s of this SBO.Term . |
org.biojava3.ontology.Term |
getTerm()
Grants access to the underlying BioJava
org.biojava.ontology.Term . |
boolean |
isObsolete()
Checks whether or not this
SBO.Term is obsolete. |
static java.lang.String |
printTerm(SBO.Term term)
Returns a String representing a term the same way as in the OBO file.
|
java.lang.String |
toString() |
private static final long serialVersionUID
private java.lang.String id
SBO.Term
.private java.lang.String name
SBO.Term
.private java.lang.String def
SBO.Term
.private org.biojava3.ontology.Term term
org.biojava.ontology.Term
.private SBO.Term(org.biojava3.ontology.Term term)
term
- a org.biojava.ontology.Term
objectpublic static java.lang.String printTerm(SBO.Term term)
term
- the term to printpublic SBO.Term clone()
clone
in class java.lang.Object
public int compareTo(SBO.Term term)
compareTo
in interface java.lang.Comparable<SBO.Term>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.Set<SBO.Term> getChildren()
public java.lang.String getDefinition()
SBO.Term
, which is stored in the
corresponding OBO file under the key def
.SBO.Term
.public java.lang.String getId()
SBO.Term
, for instance:
SBO:0000031
.SBO.Term
public java.lang.String getName()
SBO.Term
, i.e., a very short characterization.SBO.Term
public java.util.Set<SBO.Term> getParentTerms()
public Synonym[] getSynonyms()
Synonym
s of this SBO.Term
.Synonym
s of this SBO.Term
. Returns
an empty array if no Synonym
s exist for this term,
but never null.public org.biojava3.ontology.Term getTerm()
org.biojava.ontology.Term
.org.biojava.ontology.Term
.public boolean isObsolete()
SBO.Term
is obsolete.SBO.Term
is obsolete.public java.lang.String toString()
toString
in class java.lang.Object