Package psidev.psi.mi.jami.model
Interface OntologyTerm
-
- All Superinterfaces:
CvTerm
- All Known Implementing Classes:
DefaultOntologyTerm
,LazyOntologyTerm
public interface OntologyTerm extends CvTerm
Ontology term with definition, parents and children- Since:
15/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <O extends OntologyTerm>
Collection<O>getChildren()
The children terms of this controlled vocabulary term.String
getDefinition()
The definition of the controlled vocabulary as it appears in the ontology.<O extends OntologyTerm>
Collection<O>getParents()
The parent terms of this controlled vocabulary term.void
setDefinition(String def)
Set the definition-
Methods inherited from interface psidev.psi.mi.jami.model.CvTerm
getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getPARIdentifier, getShortName, getSynonyms, getXrefs, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName
-
-
-
-
Method Detail
-
getDefinition
String getDefinition()
The definition of the controlled vocabulary as it appears in the ontology. It can be null Ex: electrophoresis is Any method which relies on the motion of particles relative to a matrix under the influence of an electrical field.- Returns:
- the definition
-
setDefinition
void setDefinition(String def)
Set the definition- Parameters:
def
- : definition of the term
-
getParents
<O extends OntologyTerm> Collection<O> getParents()
The parent terms of this controlled vocabulary term. The Collection cannot be null. If the term does not have any parents, the method should return an empty Collection.- Type Parameters:
O
- an O object- Returns:
- the parents
-
getChildren
<O extends OntologyTerm> Collection<O> getChildren()
The children terms of this controlled vocabulary term. The Collection cannot be null. If the term does not have any children, the method should return an empty Collection.- Type Parameters:
O
- an O object- Returns:
- the children
-
-