Package de.isas.lipidomics.domain
Enum LipidLevel
- java.lang.Object
-
- java.lang.Enum<LipidLevel>
-
- de.isas.lipidomics.domain.LipidLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<LipidLevel>
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 onLiebisch, G., Vizcaíno, J.A., Köfeler, H., Trötzmüller, M., Griffiths, W.J., Schmitz, G., Spener, F., and Wakelam, M.J.O. (2013). Shorthand notation for lipid structures derived from mass spectrometry. J. Lipid Res. 54, 1523–1530.
- Author:
- nils.hoffmann
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORY
CLASS
ISOMERIC_SUBSPECIES
MOLECULAR_SUBSPECIES
SPECIES
STRUCTURAL_SUBSPECIES
UNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LipidLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static LipidLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final LipidLevel UNDEFINED
-
CATEGORY
public static final LipidLevel CATEGORY
-
CLASS
public static final LipidLevel CLASS
-
SPECIES
public static final LipidLevel SPECIES
-
MOLECULAR_SUBSPECIES
public static final LipidLevel MOLECULAR_SUBSPECIES
-
STRUCTURAL_SUBSPECIES
public static final LipidLevel STRUCTURAL_SUBSPECIES
-
ISOMERIC_SUBSPECIES
public static final LipidLevel ISOMERIC_SUBSPECIES
-
-
Method Detail
-
values
public static LipidLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LipidLevel c : LipidLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LipidLevel 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 nameNullPointerException
- if the argument is null
-
-