Package org.lifstools.jgoslin.domain
Enum Class LipidLevel
- All Implemented Interfaces:
Serializable,Comparable<LipidLevel>,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLevel(LipidLevel l, int pattern) static LipidLevelReturns the enum constant of this class with the specified name.static LipidLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_LEVEL
-
UNDEFINED_LEVEL
-
CATEGORY
-
CLASS
-
SPECIES
-
MOLECULAR_SPECIES
-
SN_POSITION
-
STRUCTURE_DEFINED
-
FULL_STRUCTURE
-
COMPLETE_STRUCTURE
-
-
Field Details
-
level
public int level
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isLevel
-