MCPcopy Index your code
hub / github.com/biojava/biojava / Term

Interface Term

biojava-ontology/src/main/java/org/biojava/nbio/ontology/Term.java:55–230  ·  view source on GitHub ↗

A term in an ontology. This has an Annotation Annotation which can be used for storing additional human-displayable information. It is strongly recommended that the Annotation is not used for any machine-readable data -- this should be represented by relations in the ontology instead.

Source from the content-addressed store, hash-verified

53 * @since 1.4
54 */
55public interface Term extends Annotatable {
56 /**
57 * ChangeType which indicates that this term's ontology has been
58 * altered
59 */
60
61
62 /**
63 * Return the name of this term.
64 * @return the name of the term
65 */
66
67 public String getName();
68
69 /**
70 * Return a human-readable description of this term, or the empty string if
71 * none is available.
72 * @return the description of the term
73 */
74
75 public String getDescription();
76
77 /** set the description of the term;
78 *
79 * @param description
80 *
81 */
82 public void setDescription(String description);
83
84 /**
85 * Return the ontology in which this term exists.
86 * @return the ontology
87 */
88
89 public Ontology getOntology();
90
91 /**
92 * Return the synonyms for this term.
93 * @return the synonyms
94 */
95
96 public Object[] getSynonyms();
97
98 /**
99 * Add a synonym for this term.
100 * @param synonym the synonym
101 */
102
103 public void addSynonym(Object synonym);
104
105 /**
106 * Remove a synonym for this term.
107 * @param synonym
108 */
109
110 public void removeSynonym(Object synonym);
111
112 /**

Callers 29

testParsingHPOOBOMethod · 0.95
equalsMethod · 0.95
mainMethod · 0.95
getStructureAtomMethod · 0.65
findAtomLinkagesMethod · 0.65
getAtomNamesMethod · 0.65
testParsingHPOOBOMethod · 0.95
mainMethod · 0.95
testSetDescriptionMethod · 0.65
toStringMethod · 0.65

Implementers 4

IntTermbiojava-ontology/src/main/java/org/bio
Implbiojava-ontology/src/main/java/org/bio
Implbiojava-ontology/src/main/java/org/bio
AbstractTermbiojava-ontology/src/main/java/org/bio

Calls

no outgoing calls

Tested by

no test coverage detected