Class OrganismUtils


  • public class OrganismUtils
    extends Object
    Created with IntelliJ IDEA.
    Since:
    29/07/13
    Version:
    $Id: $
    Author:
    Gabriel Aldam (galdam@ebi.ac.uk)
    • Constructor Detail

      • OrganismUtils

        public OrganismUtils()
    • Method Detail

      • createSpecialistOrganism

        public static Organism createSpecialistOrganism​(int taxID)
        If the TaxId is one of the reserved numbers (-5 to -1), it denotes a non-real organism. An organism with these names will be produced if there is match. Otherwise null is returned. -1 = In Vitro -2 = Chemical synthesis -3 = Unknown -4 = In vivo -5 = In Silico
        Parameters:
        taxID - A taxId which might match one of the reserved terms.
        Returns:
        A complete organism record if the taxID matches reserved term. Null if it could not be found.
      • createUnknownOrganism

        public static Organism createUnknownOrganism()

        createUnknownOrganism

        Returns:
        a Organism object.
      • createInVitroOrganism

        public static Organism createInVitroOrganism()

        createInVitroOrganism

        Returns:
        a Organism object.
      • createChemicalSynthesisOrganism

        public static Organism createChemicalSynthesisOrganism()

        createChemicalSynthesisOrganism

        Returns:
        a Organism object.
      • createInVivoOrganism

        public static Organism createInVivoOrganism()

        createInVivoOrganism

        Returns:
        a Organism object.
      • createInSilicoOrganism

        public static Organism createInSilicoOrganism()

        createInSilicoOrganism

        Returns:
        a Organism object.