Package uk.ac.ebi.pride.jmztab2.model
Enum MetadataElement
- java.lang.Object
-
- java.lang.Enum<MetadataElement>
-
- uk.ac.ebi.pride.jmztab2.model.MetadataElement
-
- All Implemented Interfaces:
Serializable
,Comparable<MetadataElement>
public enum MetadataElement extends Enum<MetadataElement>
Define all elements used in metadata.- Since:
- 23/05/13
- Author:
- qingwei, nilshoffmann
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataElement
findElement(String name)
Find element by name with case-insensitive match.String
getName()
Getter for the fieldname
.String
toString()
static MetadataElement
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetadataElement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MZTAB
public static final MetadataElement MZTAB
-
TITLE
public static final MetadataElement TITLE
-
DESCRIPTION
public static final MetadataElement DESCRIPTION
-
SAMPLE_PROCESSING
public static final MetadataElement SAMPLE_PROCESSING
-
INSTRUMENT
public static final MetadataElement INSTRUMENT
-
SOFTWARE
public static final MetadataElement SOFTWARE
-
PUBLICATION
public static final MetadataElement PUBLICATION
-
CONTACT
public static final MetadataElement CONTACT
-
URI
public static final MetadataElement URI
-
EXTERNAL_STUDY_URI
public static final MetadataElement EXTERNAL_STUDY_URI
-
DERIVATIZATION_AGENT
public static final MetadataElement DERIVATIZATION_AGENT
-
QUANTIFICATION_METHOD
public static final MetadataElement QUANTIFICATION_METHOD
-
SMALL_MOLECULE
public static final MetadataElement SMALL_MOLECULE
-
SMALL_MOLECULE_FEATURE
public static final MetadataElement SMALL_MOLECULE_FEATURE
-
MS_RUN
public static final MetadataElement MS_RUN
-
CUSTOM
public static final MetadataElement CUSTOM
-
SAMPLE
public static final MetadataElement SAMPLE
-
ASSAY
public static final MetadataElement ASSAY
-
STUDY_VARIABLE
public static final MetadataElement STUDY_VARIABLE
-
CV
public static final MetadataElement CV
-
COLUNIT
public static final MetadataElement COLUNIT
-
COLUNIT_SMALL_MOLECULE
public static final MetadataElement COLUNIT_SMALL_MOLECULE
-
COLUNIT_SMALL_MOLECULE_FEATURE
public static final MetadataElement COLUNIT_SMALL_MOLECULE_FEATURE
-
COLUNIT_SMALL_MOLECULE_EVIDENCE
public static final MetadataElement COLUNIT_SMALL_MOLECULE_EVIDENCE
-
ID_CONFIDENCE_MEASURE
public static final MetadataElement ID_CONFIDENCE_MEASURE
-
DATABASE
public static final MetadataElement DATABASE
-
SMALLMOLECULE_QUANTIFICATION_UNIT
public static final MetadataElement SMALLMOLECULE_QUANTIFICATION_UNIT
-
SMALLMOLECULE_FEATURE_QUANTIFICATION_UNIT
public static final MetadataElement SMALLMOLECULE_FEATURE_QUANTIFICATION_UNIT
-
SMALLMOLECULE_IDENTIFICATION_RELIABILITY
public static final MetadataElement SMALLMOLECULE_IDENTIFICATION_RELIABILITY
-
-
Method Detail
-
values
public static MetadataElement[] 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 (MetadataElement c : MetadataElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataElement 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<MetadataElement>
-
findElement
public static MetadataElement findElement(String name)
Find element by name with case-insensitive match. If not find, return null.- Parameters:
name
- aString
object.- Returns:
- a
MetadataElement
object.
-
-