Enum EnsemblSpecies.EnsemblDivision

java.lang.Object
java.lang.Enum<EnsemblSpecies.EnsemblDivision>
com.compomics.util.experiment.biology.taxonomy.mappings.EnsemblSpecies.EnsemblDivision
All Implemented Interfaces:
Serializable, Comparable<EnsemblSpecies.EnsemblDivision>, java.lang.constant.Constable
Enclosing class:
EnsemblSpecies

public static enum EnsemblSpecies.EnsemblDivision extends Enum<EnsemblSpecies.EnsemblDivision>
Enum of the different Ensembl divisions.
  • Enum Constant Details

  • Field Details

    • ensemblName

      public final String ensemblName
      The name in the Ensembl mapping file.
    • ensemblType

      public final String ensemblType
      The schema name for XML queries.
  • Method Details

    • values

      public static EnsemblSpecies.EnsemblDivision[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EnsemblSpecies.EnsemblDivision valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getEnsemblDivisionFromName

      public static EnsemblSpecies.EnsemblDivision getEnsemblDivisionFromName(String ensemblName)
      Returns the EnsemblDivision corresponding to the given Ensembl name. Null if not found.
      Parameters:
      ensemblName - the Ensembl name
      Returns:
      the EnsemblDivision