Enum Class LipidLevel

java.lang.Object
java.lang.Enum<LipidLevel>
org.lifstools.jgoslin.domain.LipidLevel
All Implemented Interfaces:
Serializable, Comparable<LipidLevel>, Constable

public enum LipidLevel extends Enum<LipidLevel>
Defines the taxonomy of lipid levels, including UNDEFINED for lipids where the level can not be inferred or does not apply. The levels are based on
Gerhard Liebisch et al. Update on LIPID MAPS classification, nomenclature, and shorthand notation for MS-derived lipid structures. J. Lipid Res. Volume 61, ISSUE 12, P1539-1555, December 01, 2020.
Author:
Dominik Kopczynski, Nils Hoffmann
  • Enum Constant Details

    • NO_LEVEL

      public static final LipidLevel NO_LEVEL
    • UNDEFINED_LEVEL

      public static final LipidLevel UNDEFINED_LEVEL
    • CATEGORY

      public static final LipidLevel CATEGORY
    • CLASS

      public static final LipidLevel CLASS
    • SPECIES

      public static final LipidLevel SPECIES
    • MOLECULAR_SPECIES

      public static final LipidLevel MOLECULAR_SPECIES
    • SN_POSITION

      public static final LipidLevel SN_POSITION
    • STRUCTURE_DEFINED

      public static final LipidLevel STRUCTURE_DEFINED
    • FULL_STRUCTURE

      public static final LipidLevel FULL_STRUCTURE
    • COMPLETE_STRUCTURE

      public static final LipidLevel COMPLETE_STRUCTURE
  • Field Details

    • level

      public int level
  • Method Details

    • values

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

      public static LipidLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isLevel

      public static boolean isLevel(LipidLevel l, int pattern)