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.
| 53 | * @since 1.4 |
| 54 | */ |
| 55 | public 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 | /** |
no outgoing calls
no test coverage detected