java.lang.Object
com.compomics.util.experiment.mass_spectrometry.spectra.PrecursorParameter
All Implemented Interfaces:
UrParameter, Serializable

public class PrecursorParameter extends Object implements UrParameter, Serializable
Parameter for storing additional non-mandatory precursor information.
Author:
Harald Barsnes
See Also:
  • Field Details

    • dummy

      public static final PrecursorParameter dummy
      An empty parameter used for instantiation.
  • Constructor Details

    • PrecursorParameter

      public PrecursorParameter()
      Constructor.
    • PrecursorParameter

      public PrecursorParameter(ArrayList<String> precusorIdentifiers)
      Constructor.
      Parameters:
      precusorIdentifiers - the precursor identifiers
  • Method Details

    • getParameterKey

      public long getParameterKey()
      Description copied from interface: UrParameter
      This method returns the key of the parameter. The key must be unique to the type of parameter.
      Specified by:
      getParameterKey in interface UrParameter
      Returns:
      the parameter key
    • getPrecusorIdentifiers

      public ArrayList<String> getPrecusorIdentifiers()
      Returns the precursor identifiers.
      Returns:
      the precusorIdentifiers
    • setPrecusorIdentifiers

      public void setPrecusorIdentifiers(ArrayList<String> precusorIdentifiers)
      Set the precursor identifier.
      Parameters:
      precusorIdentifiers - the precusorIdentifiers to set