Class OntologyTermWrapper

  • All Implemented Interfaces:
    MIOntologyTermI, psidev.psi.tools.ontology_manager.interfaces.OntologyTermI

    public class OntologyTermWrapper
    extends Object
    implements MIOntologyTermI
    Ontology term for PSI-MI JAMI
    Since:
    01/11/11
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Field Detail

      • MOD_REGEXP

        public static final Pattern MOD_REGEXP
        Constant MOD_REGEXP
      • MI_REGEXP

        public static final Pattern MI_REGEXP
        Constant MI_REGEXP
      • ECO_REGEXP

        public static final Pattern ECO_REGEXP
        Constant ECO_REGEXP
    • Constructor Detail

      • OntologyTermWrapper

        public OntologyTermWrapper​(OntologyTerm cv)

        Constructor for OntologyTermWrapper.

        Parameters:
        cv - a OntologyTerm object.
    • Method Detail

      • getTermAccession

        public String getTermAccession()

        getTermAccession.

        Specified by:
        getTermAccession in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
        Returns:
        a String object.
      • getPreferredName

        public String getPreferredName()

        getPreferredName.

        Specified by:
        getPreferredName in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
        Returns:
        a String object.
      • setTermAccession

        public void setTermAccession​(String accession)
        Specified by:
        setTermAccession in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
      • setPreferredName

        public void setPreferredName​(String preferredName)
        Specified by:
        setPreferredName in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
      • getNameSynonyms

        public Collection<String> getNameSynonyms()

        getNameSynonyms.

        Specified by:
        getNameSynonyms in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
        Returns:
        a Collection object.
      • setNameSynonyms

        public void setNameSynonyms​(Collection<String> nameSynonyms)
        Specified by:
        setNameSynonyms in interface psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
      • setRemappedTerm

        public void setRemappedTerm​(String remappedTerm)

        Setter for the field remappedTerm.

        Parameters:
        remappedTerm - a String object.
      • setObsoleteMessage

        public void setObsoleteMessage​(String obsoleteMessage)

        Setter for the field obsoleteMessage.

        Parameters:
        obsoleteMessage - a String object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object