Last update: 2011-06-23

org.proteios.io
Enum SpectrumPrecursor.FragmentationType

java.lang.Object
  extended by java.lang.Enum<SpectrumPrecursor.FragmentationType>
      extended by org.proteios.io.SpectrumPrecursor.FragmentationType
All Implemented Interfaces:
Serializable, Comparable<SpectrumPrecursor.FragmentationType>
Enclosing class:
SpectrumPrecursor

public static enum SpectrumPrecursor.FragmentationType
extends Enum<SpectrumPrecursor.FragmentationType>

Precursor fragmentation type enum.


Enum Constant Summary
CID
          Collision-Induced Dissociation.
ECD
          Electron Capture Dissociation.
ETD
          Electron Transfer Dissociation.
HCD
          High-energy Collision-induced Dissociation.
PQD
          Pulsed-Q Dissociation.
PSD
          Post-Source Decay.
UNKNOWN
          Unknown fragmentation type.
 
Method Summary
static SpectrumPrecursor.FragmentationType fromAbbreviation(String abbreviation)
          Get the SpectrumPrecursor.FragmentationType object when you know the abbreviation string.
static SpectrumPrecursor.FragmentationType fromDisplayValue(String displayValue)
          Get the SpectrumPrecursor.FragmentationType object when you know the displayValue string.
static SpectrumPrecursor.FragmentationType fromMsOntologyAccessionNumber(String msOntologyAccessionNumber)
          Get the SpectrumPrecursor.FragmentationType object when you know the msOntologyAccessionNumber string.
static SpectrumPrecursor.FragmentationType fromValue(int value)
          Get the SpectrumPrecursor.FragmentationType object when you know the integer value.
 String getAbbreviation()
          Get the abbreviation for a SpectrumPrecursor.FragmentationType.
 String getDisplayValue()
          Get the displayValue for a SpectrumPrecursor.FragmentationType.
 String getMsOntologyAccessionNumber()
          Get the msOntologyAccessionNumber for a SpectrumPrecursor.FragmentationType.
 int getValue()
          Get the integer value for a SpectrumPrecursor.FragmentationType.
 String toString()
           
static SpectrumPrecursor.FragmentationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpectrumPrecursor.FragmentationType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final SpectrumPrecursor.FragmentationType UNKNOWN
Unknown fragmentation type.


CID

public static final SpectrumPrecursor.FragmentationType CID
Collision-Induced Dissociation.


ETD

public static final SpectrumPrecursor.FragmentationType ETD
Electron Transfer Dissociation.


HCD

public static final SpectrumPrecursor.FragmentationType HCD
High-energy Collision-induced Dissociation.


ECD

public static final SpectrumPrecursor.FragmentationType ECD
Electron Capture Dissociation.


PQD

public static final SpectrumPrecursor.FragmentationType PQD
Pulsed-Q Dissociation.


PSD

public static final SpectrumPrecursor.FragmentationType PSD
Post-Source Decay.

Method Detail

values

public static SpectrumPrecursor.FragmentationType[] 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 (SpectrumPrecursor.FragmentationType c : SpectrumPrecursor.FragmentationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpectrumPrecursor.FragmentationType 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

fromValue

public static SpectrumPrecursor.FragmentationType fromValue(int value)
Get the SpectrumPrecursor.FragmentationType object when you know the integer value.

Parameters:
value - int The integer value of the fragmentation type.
Returns:
FragmentationType The fragmentation type object or null if the value is unknown

fromAbbreviation

public static SpectrumPrecursor.FragmentationType fromAbbreviation(String abbreviation)
Get the SpectrumPrecursor.FragmentationType object when you know the abbreviation string.

Parameters:
abbreviation - String The abbreviation string of the fragmentation type.
Returns:
FragmentationType The fragmentation type object or null if the abbreviation is unknown

fromDisplayValue

public static SpectrumPrecursor.FragmentationType fromDisplayValue(String displayValue)
Get the SpectrumPrecursor.FragmentationType object when you know the displayValue string.

Parameters:
displayValue - String The displayValue string of the fragmentation type.
Returns:
FragmentationType The fragmentation type object or null if the displayValue is unknown

fromMsOntologyAccessionNumber

public static SpectrumPrecursor.FragmentationType fromMsOntologyAccessionNumber(String msOntologyAccessionNumber)
Get the SpectrumPrecursor.FragmentationType object when you know the msOntologyAccessionNumber string.

Parameters:
msOntologyAccessionNumber - String The msOntologyAccessionNumber string of the fragmentation type.
Returns:
FragmentationType The fragmentation type object or null if the msOntologyAccessionNumber is unknown

toString

public String toString()
Overrides:
toString in class Enum<SpectrumPrecursor.FragmentationType>

getValue

public int getValue()
Get the integer value for a SpectrumPrecursor.FragmentationType.

Returns:
int The integer value of this fragmentation type

getAbbreviation

public String getAbbreviation()
Get the abbreviation for a SpectrumPrecursor.FragmentationType.

Returns:
String The abbreviation string of this fragmentation type

getDisplayValue

public String getDisplayValue()
Get the displayValue for a SpectrumPrecursor.FragmentationType.

Returns:
String The displayValue string of this fragmentation type

getMsOntologyAccessionNumber

public String getMsOntologyAccessionNumber()
Get the msOntologyAccessionNumber for a SpectrumPrecursor.FragmentationType.

Returns:
String The msOntologyAccessionNumber string of this fragmentation type

Last update: 2011-06-23