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 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 OntologyTermCollection<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 OntologyTermCollection<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