Package eu.isas.reporter.settings
Enum ReporterIonsLocationType
- All Implemented Interfaces:
Serializable,Comparable<ReporterIonsLocationType>,java.lang.constant.Constable
Enum of the possible spectrum reporter ions locations.
- Author:
- Harald Barsnes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe reporter ions are in the same MS2 spectrum.The reporter ions are in the related MS3 spectrum.The reporter ions are found by matching on mass and retention time. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the different options as command line description.static ReporterIonsLocationTypegetReporterIonsLocationType(int index) Returns the reporter ions location type corresponding to the given index.static ReporterIonsLocationTypeReturns the reporter ions location type corresponding to the given name.static ReporterIonsLocationTypeReturns the enum constant of this type with the specified name.static ReporterIonsLocationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ms2Spectra
The reporter ions are in the same MS2 spectrum. -
ms3Spectra
The reporter ions are in the related MS3 spectrum. -
precursorMatching
The reporter ions are found by matching on mass and retention time.
-
-
Field Details
-
index
public final int indexThe index of the reporter ions location type. -
name
The name of the reporter ions location type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getReporterIonsLocationType
Returns the reporter ions location type corresponding to the given index.- Parameters:
index- the index of the reporter ions location type- Returns:
- the reporter ions location type of interest.
-
getReporterIonsLocationType
Returns the reporter ions location type corresponding to the given name.- Parameters:
name- the name of the reporter ions location type- Returns:
- the reporter ions location type of interest.
-
getCommandLineDescription
Returns the different options as command line description.- Returns:
- the different options as command line description
-