Package uk.ac.ebi.pride.jmztab2.model
Enum SmallMoleculeEvidenceColumn.Stable
- java.lang.Object
-
- java.lang.Enum<SmallMoleculeEvidenceColumn.Stable>
-
- uk.ac.ebi.pride.jmztab2.model.SmallMoleculeEvidenceColumn.Stable
-
- All Implemented Interfaces:
Serializable
,Comparable<SmallMoleculeEvidenceColumn.Stable>
- Enclosing class:
- SmallMoleculeEvidenceColumn
public static enum SmallMoleculeEvidenceColumn.Stable extends Enum<SmallMoleculeEvidenceColumn.Stable>
StableSmallMoleculeEvidenceColumn
definition templates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDUCT_ION
CHARGE
CHEMICAL_FORMULA
CHEMICAL_NAME
DATABASE_IDENTIFIER
DERIVATIZED_FORM
EVIDENCE_INPUT_ID
EXP_MASS_TO_CHARGE
IDENTIFICATION_METHOD
INCHI
MS_LEVEL
RANK
SME_ID
SMILES
SPECTRA_REF
THEORETICAL_MASS_TO_CHARGE
URI
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ISmallMoleculeEvidenceColumn
columnFor(String name)
Returns a newISmallMoleculeEvidenceColumn
instance for the given stable column name.static ISmallMoleculeEvidenceColumn
columnFor(SmallMoleculeEvidenceColumn.Stable s)
Returns a newISmallMoleculeEvidenceColumn
instance for the given stable column template.static List<ISmallMoleculeEvidenceColumn>
columns()
Returns all stableSmallMoleculeEvidenceColumn
templates.static SmallMoleculeEvidenceColumn.Stable
forName(String name)
Returns a stable column instance template.static SmallMoleculeEvidenceColumn.Stable
valueOf(String name)
Returns the enum constant of this type with the specified name.static SmallMoleculeEvidenceColumn.Stable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SME_ID
public static final SmallMoleculeEvidenceColumn.Stable SME_ID
-
EVIDENCE_INPUT_ID
public static final SmallMoleculeEvidenceColumn.Stable EVIDENCE_INPUT_ID
-
DATABASE_IDENTIFIER
public static final SmallMoleculeEvidenceColumn.Stable DATABASE_IDENTIFIER
-
CHEMICAL_FORMULA
public static final SmallMoleculeEvidenceColumn.Stable CHEMICAL_FORMULA
-
SMILES
public static final SmallMoleculeEvidenceColumn.Stable SMILES
-
INCHI
public static final SmallMoleculeEvidenceColumn.Stable INCHI
-
CHEMICAL_NAME
public static final SmallMoleculeEvidenceColumn.Stable CHEMICAL_NAME
-
URI
public static final SmallMoleculeEvidenceColumn.Stable URI
-
DERIVATIZED_FORM
public static final SmallMoleculeEvidenceColumn.Stable DERIVATIZED_FORM
-
ADDUCT_ION
public static final SmallMoleculeEvidenceColumn.Stable ADDUCT_ION
-
EXP_MASS_TO_CHARGE
public static final SmallMoleculeEvidenceColumn.Stable EXP_MASS_TO_CHARGE
-
CHARGE
public static final SmallMoleculeEvidenceColumn.Stable CHARGE
-
THEORETICAL_MASS_TO_CHARGE
public static final SmallMoleculeEvidenceColumn.Stable THEORETICAL_MASS_TO_CHARGE
-
SPECTRA_REF
public static final SmallMoleculeEvidenceColumn.Stable SPECTRA_REF
-
IDENTIFICATION_METHOD
public static final SmallMoleculeEvidenceColumn.Stable IDENTIFICATION_METHOD
-
MS_LEVEL
public static final SmallMoleculeEvidenceColumn.Stable MS_LEVEL
-
RANK
public static final SmallMoleculeEvidenceColumn.Stable RANK
-
-
Method Detail
-
values
public static SmallMoleculeEvidenceColumn.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 (SmallMoleculeEvidenceColumn.Stable c : SmallMoleculeEvidenceColumn.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 SmallMoleculeEvidenceColumn.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 SmallMoleculeEvidenceColumn.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 ISmallMoleculeEvidenceColumn columnFor(SmallMoleculeEvidenceColumn.Stable s)
Returns a newISmallMoleculeEvidenceColumn
instance for the given stable column template.- Parameters:
s
- the small molecule evidence stable column template.- Returns:
- a new small molecule column instance
SmallMoleculeEvidenceColumn
.
-
columnFor
public static ISmallMoleculeEvidenceColumn columnFor(String name) throws IllegalArgumentException
Returns a newISmallMoleculeEvidenceColumn
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
SmallMoleculeEvidenceColumn
. - Throws:
IllegalArgumentException
- for unknown column names.
-
columns
public static List<ISmallMoleculeEvidenceColumn> columns()
Returns all stableSmallMoleculeEvidenceColumn
templates.- Returns:
- the stable small molecule columns templates.
-
-