uk.ac.ebi.jmzidml
Enum ParamListMappings

java.lang.Object
  extended by java.lang.Enum<ParamListMappings>
      extended by uk.ac.ebi.jmzidml.ParamListMappings
All Implemented Interfaces:
Serializable, Comparable<ParamListMappings>

public enum ParamListMappings
extends Enum<ParamListMappings>

Some classes contain one or more properties of type ParamList. This enum maps these classes to a list of class names corresponding to the property names in these classes. For example, ProteinDetectionProtocol contains the ParamList properties 'threshold' and 'analysisParams'. The mapping for this class is Threshold and AnalysisParams. These will be used with Reflection to call the appropriate get methods on ProteinDetectionProtocol and to create the correct subclasses of CvParam and UserParam (see RawXMLListener.paramHandling). User: gokelly Date: 11/04/11 Time: 10:35


Enum Constant Summary
Enzyme
           
Filter
           
ProteinDetectionProtocol
           
SpectrumIdentificationProtocol
           
 
Method Summary
 String[] getClassNames()
           
 Class getClazz()
           
static ParamListMappings getType(Class clazz)
           
static ParamListMappings valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParamListMappings[] 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

ProteinDetectionProtocol

public static final ParamListMappings ProteinDetectionProtocol

Filter

public static final ParamListMappings Filter

SpectrumIdentificationProtocol

public static final ParamListMappings SpectrumIdentificationProtocol

Enzyme

public static final ParamListMappings Enzyme
Method Detail

values

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

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

valueOf

public static ParamListMappings 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

getClassNames

public String[] getClassNames()

getClazz

public Class getClazz()

getType

public static ParamListMappings getType(Class clazz)


Copyright © 2012. All Rights Reserved.