Package uk.ac.ebi.pride.jmztab2.model
Enum MetadataProperty
- java.lang.Object
-
- java.lang.Enum<MetadataProperty>
-
- uk.ac.ebi.pride.jmztab2.model.MetadataProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<MetadataProperty>
public enum MetadataProperty extends Enum<MetadataProperty>
Define a property in metadata, which depend on theMetadataElement
.- 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 Optional<MetadataProperty>
findProperty(MetadataElement element, String propertyName)
Find property byMetadataElement
and property name with case-insensitive.MetadataElement
getElement()
Getter for the fieldelement
.String
getName()
Getter for the fieldname
.String
toString()
static MetadataProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetadataProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MZTAB_VERSION
public static final MetadataProperty MZTAB_VERSION
-
MZTAB_ID
public static final MetadataProperty MZTAB_ID
-
INSTRUMENT_NAME
public static final MetadataProperty INSTRUMENT_NAME
-
INSTRUMENT_SOURCE
public static final MetadataProperty INSTRUMENT_SOURCE
-
INSTRUMENT_ANALYZER
public static final MetadataProperty INSTRUMENT_ANALYZER
-
INSTRUMENT_DETECTOR
public static final MetadataProperty INSTRUMENT_DETECTOR
-
SOFTWARE_SETTING
public static final MetadataProperty SOFTWARE_SETTING
-
CONTACT_NAME
public static final MetadataProperty CONTACT_NAME
-
CONTACT_AFFILIATION
public static final MetadataProperty CONTACT_AFFILIATION
-
CONTACT_EMAIL
public static final MetadataProperty CONTACT_EMAIL
-
SMALL_MOLECULE_QUANTIFICATION_UNIT
public static final MetadataProperty SMALL_MOLECULE_QUANTIFICATION_UNIT
-
SMALL_MOLECULE_IDENTIFICATION_RELIABILITY
public static final MetadataProperty SMALL_MOLECULE_IDENTIFICATION_RELIABILITY
-
SMALL_MOLECULE_FEATURE_QUANTIFICATION_UNIT
public static final MetadataProperty SMALL_MOLECULE_FEATURE_QUANTIFICATION_UNIT
-
MS_RUN_FORMAT
public static final MetadataProperty MS_RUN_FORMAT
-
MS_RUN_LOCATION
public static final MetadataProperty MS_RUN_LOCATION
-
MS_RUN_INSTRUMENT_REF
public static final MetadataProperty MS_RUN_INSTRUMENT_REF
-
MS_RUN_ID_FORMAT
public static final MetadataProperty MS_RUN_ID_FORMAT
-
MS_RUN_FRAGMENTATION_METHOD
public static final MetadataProperty MS_RUN_FRAGMENTATION_METHOD
-
MS_RUN_HASH
public static final MetadataProperty MS_RUN_HASH
-
MS_RUN_HASH_METHOD
public static final MetadataProperty MS_RUN_HASH_METHOD
-
MS_RUN_SCAN_POLARITY
public static final MetadataProperty MS_RUN_SCAN_POLARITY
-
SAMPLE_SPECIES
public static final MetadataProperty SAMPLE_SPECIES
-
SAMPLE_TISSUE
public static final MetadataProperty SAMPLE_TISSUE
-
SAMPLE_CELL_TYPE
public static final MetadataProperty SAMPLE_CELL_TYPE
-
SAMPLE_DISEASE
public static final MetadataProperty SAMPLE_DISEASE
-
SAMPLE_DESCRIPTION
public static final MetadataProperty SAMPLE_DESCRIPTION
-
SAMPLE_CUSTOM
public static final MetadataProperty SAMPLE_CUSTOM
-
ASSAY_SAMPLE_REF
public static final MetadataProperty ASSAY_SAMPLE_REF
-
ASSAY_MS_RUN_REF
public static final MetadataProperty ASSAY_MS_RUN_REF
-
ASSAY_CUSTOM
public static final MetadataProperty ASSAY_CUSTOM
-
ASSAY_EXTERNAL_URI
public static final MetadataProperty ASSAY_EXTERNAL_URI
-
STUDY_VARIABLE_ASSAY_REFS
public static final MetadataProperty STUDY_VARIABLE_ASSAY_REFS
-
STUDY_VARIABLE_DESCRIPTION
public static final MetadataProperty STUDY_VARIABLE_DESCRIPTION
-
STUDY_VARIABLE_AVERAGE_FUNCTION
public static final MetadataProperty STUDY_VARIABLE_AVERAGE_FUNCTION
-
STUDY_VARIABLE_VARIATION_FUNCTION
public static final MetadataProperty STUDY_VARIABLE_VARIATION_FUNCTION
-
STUDY_VARIABLE_FACTORS
public static final MetadataProperty STUDY_VARIABLE_FACTORS
-
CV_LABEL
public static final MetadataProperty CV_LABEL
-
CV_FULL_NAME
public static final MetadataProperty CV_FULL_NAME
-
CV_VERSION
public static final MetadataProperty CV_VERSION
-
CV_URI
public static final MetadataProperty CV_URI
-
DATABASE_PREFIX
public static final MetadataProperty DATABASE_PREFIX
-
DATABASE_VERSION
public static final MetadataProperty DATABASE_VERSION
-
DATABASE_URI
public static final MetadataProperty DATABASE_URI
-
-
Method Detail
-
values
public static MetadataProperty[] 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 (MetadataProperty c : MetadataProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataProperty 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
-
getElement
public MetadataElement getElement()
Getter for the field
element
.- Returns:
- dependent
MetadataElement
-
toString
public String toString()
- Overrides:
toString
in classEnum<MetadataProperty>
-
findProperty
public static Optional<MetadataProperty> findProperty(MetadataElement element, String propertyName)
Find property byMetadataElement
and property name with case-insensitive. If not find, return null.- Parameters:
element
- aMetadataElement
object.propertyName
- aString
object.- Returns:
- an optional
MetadataProperty
object.
-
-