org.proteios.core
Enum SearchModification.TerminalSpecificity
java.lang.Object
java.lang.Enum<SearchModification.TerminalSpecificity>
org.proteios.core.SearchModification.TerminalSpecificity
- All Implemented Interfaces:
- Serializable, Comparable<SearchModification.TerminalSpecificity>
- Enclosing class:
- SearchModification
public static enum SearchModification.TerminalSpecificity
- extends Enum<SearchModification.TerminalSpecificity>
This enum is used to verify terminal specificities. In the data layer the
stored values are int values representing the ordinal in the enum.
Additions of new values to this list has to be at the end of the link, or
existing database entries will turn incorrect.
none
public static final SearchModification.TerminalSpecificity none
peptide_N_terminus
public static final SearchModification.TerminalSpecificity peptide_N_terminus
peptide_C_terminus
public static final SearchModification.TerminalSpecificity peptide_C_terminus
protein_N_terminus
public static final SearchModification.TerminalSpecificity protein_N_terminus
protein_C_terminus
public static final SearchModification.TerminalSpecificity protein_C_terminus
values
public static SearchModification.TerminalSpecificity[] 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 (SearchModification.TerminalSpecificity c : SearchModification.TerminalSpecificity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SearchModification.TerminalSpecificity 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 name
NullPointerException - if the argument is null