Package uk.ac.ebi.pride.jmztab2.model
Enum SmallMoleculeFeatureColumn.Stable
- java.lang.Object
-
- java.lang.Enum<SmallMoleculeFeatureColumn.Stable>
-
- uk.ac.ebi.pride.jmztab2.model.SmallMoleculeFeatureColumn.Stable
-
- All Implemented Interfaces:
Serializable
,Comparable<SmallMoleculeFeatureColumn.Stable>
- Enclosing class:
- SmallMoleculeFeatureColumn
public static enum SmallMoleculeFeatureColumn.Stable extends Enum<SmallMoleculeFeatureColumn.Stable>
StableSmallMoleculeFeatureColumn
definition templates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDUCT_ION
CHARGE
EXP_MASS_TO_CHARGE
ISOTOPOMER
RETENTION_TIME_IN_SECONDS
RETENTION_TIME_IN_SECONDS_END
RETENTION_TIME_IN_SECONDS_START
SME_ID_REF_AMBIGUITY_CODE
SME_ID_REFS
SMF_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ISmallMoleculeFeatureColumn
columnFor(String name)
Returns a newISmallMoleculeFeatureColumn
instance for the given stable column name.static ISmallMoleculeFeatureColumn
columnFor(SmallMoleculeFeatureColumn.Stable s)
Returns a newISmallMoleculeFeatureColumn
instance for the given stable column template.static List<ISmallMoleculeFeatureColumn>
columns()
Returns all stableISmallMoleculeFeatureColumn
templates.static SmallMoleculeFeatureColumn.Stable
forName(String name)
Returns a stable column instance template.static SmallMoleculeFeatureColumn.Stable
valueOf(String name)
Returns the enum constant of this type with the specified name.static SmallMoleculeFeatureColumn.Stable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMF_ID
public static final SmallMoleculeFeatureColumn.Stable SMF_ID
-
SME_ID_REFS
public static final SmallMoleculeFeatureColumn.Stable SME_ID_REFS
-
SME_ID_REF_AMBIGUITY_CODE
public static final SmallMoleculeFeatureColumn.Stable SME_ID_REF_AMBIGUITY_CODE
-
ADDUCT_ION
public static final SmallMoleculeFeatureColumn.Stable ADDUCT_ION
-
ISOTOPOMER
public static final SmallMoleculeFeatureColumn.Stable ISOTOPOMER
-
EXP_MASS_TO_CHARGE
public static final SmallMoleculeFeatureColumn.Stable EXP_MASS_TO_CHARGE
-
CHARGE
public static final SmallMoleculeFeatureColumn.Stable CHARGE
-
RETENTION_TIME_IN_SECONDS
public static final SmallMoleculeFeatureColumn.Stable RETENTION_TIME_IN_SECONDS
-
RETENTION_TIME_IN_SECONDS_START
public static final SmallMoleculeFeatureColumn.Stable RETENTION_TIME_IN_SECONDS_START
-
RETENTION_TIME_IN_SECONDS_END
public static final SmallMoleculeFeatureColumn.Stable RETENTION_TIME_IN_SECONDS_END
-
-
Method Detail
-
values
public static SmallMoleculeFeatureColumn.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 (SmallMoleculeFeatureColumn.Stable c : SmallMoleculeFeatureColumn.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 SmallMoleculeFeatureColumn.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 SmallMoleculeFeatureColumn.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 ISmallMoleculeFeatureColumn columnFor(SmallMoleculeFeatureColumn.Stable s)
Returns a newISmallMoleculeFeatureColumn
instance for the given stable column template.- Parameters:
s
- the small molecule feature stable column template.- Returns:
- a new small molecule feature column instance
SmallMoleculeFeatureColumn
.
-
columnFor
public static ISmallMoleculeFeatureColumn columnFor(String name) throws IllegalArgumentException
Returns a newISmallMoleculeFeatureColumn
instance for the given stable column name.- Parameters:
name
- the small molecule feature stable column template name (lower case).- Returns:
- a new small molecule feature column instance
SmallMoleculeFeatureColumn
. - Throws:
IllegalArgumentException
- for unknown column names.
-
columns
public static List<ISmallMoleculeFeatureColumn> columns()
Returns all stableISmallMoleculeFeatureColumn
templates.- Returns:
- the stable small molecule feature columns templates.
-
-