Package uk.ac.ebi.pride.jmztab2.model
Enum SmallMoleculeColumn.Stable
- java.lang.Object
-
- java.lang.Enum<SmallMoleculeColumn.Stable>
-
- uk.ac.ebi.pride.jmztab2.model.SmallMoleculeColumn.Stable
-
- All Implemented Interfaces:
Serializable
,Comparable<SmallMoleculeColumn.Stable>
- Enclosing class:
- SmallMoleculeColumn
public static enum SmallMoleculeColumn.Stable extends Enum<SmallMoleculeColumn.Stable>
StableSmallMoleculeColumn
definition templates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDUCT_IONS
BEST_ID_CONFIDENCE_MEASURE
BEST_ID_CONFIDENCE_VALUE
CHEMICAL_FORMULA
CHEMICAL_NAME
DATABASE_IDENTIFIER
INCHI
RELIABILITY
SMF_ID_REFS
SMILES
SML_ID
THEOR_NEUTRAL_MASS
URI
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ISmallMoleculeColumn
columnFor(String name)
Returns a newISmallMoleculeColumn
instance for the given stable column name.static ISmallMoleculeColumn
columnFor(SmallMoleculeColumn.Stable s)
Returns a newISmallMoleculeColumn
instance for the given stable column template.static List<ISmallMoleculeColumn>
columns()
Returns all stableISmallMoleculeColumn
templates.static SmallMoleculeColumn.Stable
forName(String name)
Returns a stable column instance template.static SmallMoleculeColumn.Stable
valueOf(String name)
Returns the enum constant of this type with the specified name.static SmallMoleculeColumn.Stable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SML_ID
public static final SmallMoleculeColumn.Stable SML_ID
-
SMF_ID_REFS
public static final SmallMoleculeColumn.Stable SMF_ID_REFS
-
DATABASE_IDENTIFIER
public static final SmallMoleculeColumn.Stable DATABASE_IDENTIFIER
-
CHEMICAL_FORMULA
public static final SmallMoleculeColumn.Stable CHEMICAL_FORMULA
-
SMILES
public static final SmallMoleculeColumn.Stable SMILES
-
INCHI
public static final SmallMoleculeColumn.Stable INCHI
-
CHEMICAL_NAME
public static final SmallMoleculeColumn.Stable CHEMICAL_NAME
-
URI
public static final SmallMoleculeColumn.Stable URI
-
THEOR_NEUTRAL_MASS
public static final SmallMoleculeColumn.Stable THEOR_NEUTRAL_MASS
-
ADDUCT_IONS
public static final SmallMoleculeColumn.Stable ADDUCT_IONS
-
RELIABILITY
public static final SmallMoleculeColumn.Stable RELIABILITY
-
BEST_ID_CONFIDENCE_MEASURE
public static final SmallMoleculeColumn.Stable BEST_ID_CONFIDENCE_MEASURE
-
BEST_ID_CONFIDENCE_VALUE
public static final SmallMoleculeColumn.Stable BEST_ID_CONFIDENCE_VALUE
-
-
Method Detail
-
values
public static SmallMoleculeColumn.Stable[] 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 (SmallMoleculeColumn.Stable c : SmallMoleculeColumn.Stable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmallMoleculeColumn.Stable 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
-
forName
public static SmallMoleculeColumn.Stable forName(String name) throws IllegalArgumentException
Returns a stable column instance template.- Parameters:
name
- the column name (lower case).- Returns:
- the stable column instance template.
- Throws:
IllegalArgumentException
- for unknown column names.
-
columnFor
public static ISmallMoleculeColumn columnFor(SmallMoleculeColumn.Stable s)
Returns a newISmallMoleculeColumn
instance for the given stable column template.- Parameters:
s
- the small molecule stable column template.- Returns:
- a new small molecule column instance
SmallMoleculeColumn
.
-
columnFor
public static ISmallMoleculeColumn columnFor(String name) throws IllegalArgumentException
Returns a newISmallMoleculeColumn
instance for the given stable column name.- Parameters:
name
- the small molecule stable column template name (lower case).- Returns:
- a new small molecule column instance
SmallMoleculeColumn
. - Throws:
IllegalArgumentException
- for unknown column names.
-
columns
public static List<ISmallMoleculeColumn> columns()
Returns all stableISmallMoleculeColumn
templates.- Returns:
- the stable small molecule columns templates.
-
-