Last update: 2011-06-23

org.proteios.core
Enum SearchModification.TerminalSpecificity

java.lang.Object
  extended by java.lang.Enum<SearchModification.TerminalSpecificity>
      extended by 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.


Enum Constant Summary
none
           
peptide_C_terminus
           
peptide_N_terminus
           
protein_C_terminus
           
protein_N_terminus
           
 
Method Summary
static SearchModification.TerminalSpecificity valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchModification.TerminalSpecificity[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Last update: 2011-06-23