com.compomics.util.experiment.personalization
Class ExperimentObject

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AndromedaIdfileReader, Atom, Charge, Enzyme, FastaIndex, Identification, IdentificationMatch, IdentificationMethod, Ion, IonMatch, MgfIndex, ModificationMatch, MsExperiment, NeutralLoss, Peak, Peptide, PeptideAssumption, PostProcessor, Precursor, Protein, ProteomicAnalysis, PTM, Quantification, QuantificationMatch, Ratio, ReporterMethodFactory, Sample, SampleAnalysisSet, SearchEngine, Spectrum

public abstract class ExperimentObject
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

This abstract class provides customization facilities. Tool dependent parameters can be added to classes extending this class.

Author:
Marc Vaudel
See Also:
Serialized Form

Constructor Summary
ExperimentObject()
           
 
Method Summary
 void addUrParam(UrParameter parameter)
          Method to add a user refinement parameter.
static java.lang.String getParameterKey(UrParameter parameter)
          Returns the key of a personalization parameter.
 UrParameter getUrParam(UrParameter parameter)
          Method which returns the refinement parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExperimentObject

public ExperimentObject()
Method Detail

addUrParam

public void addUrParam(UrParameter parameter)
Method to add a user refinement parameter.

Parameters:
parameter - The parameter

getUrParam

public UrParameter getUrParam(UrParameter parameter)
Method which returns the refinement parameter.

Parameters:
parameter - the desired parameter
Returns:
the value stored. Null if not found.

getParameterKey

public static java.lang.String getParameterKey(UrParameter parameter)
Returns the key of a personalization parameter.

Parameters:
parameter - the desired parameter
Returns:
the corresponding Key


Copyright © 2013. All Rights Reserved.