Class PrecursorParameter
java.lang.Object
com.compomics.util.experiment.mass_spectrometry.spectra.PrecursorParameter
- All Implemented Interfaces:
UrParameter,Serializable
Parameter for storing additional non-mandatory precursor information.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PrecursorParameterAn empty parameter used for instantiation. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.PrecursorParameter(ArrayList<String> precusorIdentifiers) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionlongThis method returns the key of the parameter.Returns the precursor identifiers.voidsetPrecusorIdentifiers(ArrayList<String> precusorIdentifiers) Set the precursor identifier.
-
Field Details
-
dummy
An empty parameter used for instantiation.
-
-
Constructor Details
-
PrecursorParameter
public PrecursorParameter()Constructor. -
PrecursorParameter
Constructor.- Parameters:
precusorIdentifiers- the precursor identifiers
-
-
Method Details
-
getParameterKey
public long getParameterKey()Description copied from interface:UrParameterThis method returns the key of the parameter. The key must be unique to the type of parameter.- Specified by:
getParameterKeyin interfaceUrParameter- Returns:
- the parameter key
-
getPrecusorIdentifiers
Returns the precursor identifiers.- Returns:
- the precusorIdentifiers
-
setPrecusorIdentifiers
Set the precursor identifier.- Parameters:
precusorIdentifiers- the precusorIdentifiers to set
-