Enum ModificationCategory
java.lang.Object
java.lang.Enum<ModificationCategory>
com.compomics.util.experiment.biology.modifications.ModificationCategory
- All Implemented Interfaces:
Serializable,Comparable<ModificationCategory>,java.lang.constant.Constable
Enum for the different modification categories supported.
- 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 ConstantDescriptionCommon fixed and variable modifications.Common chemical artifacts.Common biological modifications.Glycosylation.Modifications as part of labeling.Less common modifications.Modifications including metals.Nucleotide substitutions that can be done by changing one nucleotide.Nucleotide substitutions that require changing two or more nucleotide.Modifications not fitting in any of the other categories. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns all of the modification category options as a string.toString()static ModificationCategoryReturns the enum constant of this type with the specified name.static ModificationCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Common
Common fixed and variable modifications. -
Common_Biological
Common biological modifications. -
Common_Artifact
Common chemical artifacts. -
Metal
Modifications including metals. -
Glyco
Glycosylation. -
Less_Common
Less common modifications. -
Labeling
Modifications as part of labeling. -
Nucleotide_Substitution_One
Nucleotide substitutions that can be done by changing one nucleotide. -
Nucleotide_Substitution_TwoPlus
Nucleotide substitutions that require changing two or more nucleotide. -
Other
Modifications not fitting in any of the other categories.
-
-
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
-
toString
- Overrides:
toStringin classEnum<ModificationCategory>
-
getCategoriesAsString
Returns all of the modification category options as a string.- Returns:
- the modification category options
-