Last update: 2011-06-23

org.proteios.core.data
Class PrecursorData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.PrecursorData
All Implemented Interfaces:
IdentifiableData

public class PrecursorData
extends BasicData

This represents a precursor. A precursor item has information about the precursor in a 2-D mass spectrometry experiment.

Version:
2.0
Author:
Olle
See Also:
Precursor, Precursors overview
Last modified
$Date: 2006-06-02 14:31:54Z $
Hibernate: class
table="`Precursors`" lazy="true"

Constructor Summary
PrecursorData()
           
 
Method Summary
 InstrumentConfigurationData getActivation()
          Get the activation
 int getChargeState()
          Get the chargeState value
 Float getIntensity()
          Get the precursor intensity.
 InstrumentConfigurationData getIonSelection()
          Get the ionSelection
 Float getMassToChargeRatio()
          Get the massToChargeRatio.
 int getMsLevel()
          Get the msLevel value
 PeakListData getPeakList()
          Get the PeakListData this precursor is created from.
 int getSpectrumRef()
          Get the spectrumRef value
 void setActivation(InstrumentConfigurationData activation)
          Set the activation
 void setChargeState(int chargeState)
          Set the chargeState
 void setIntensity(Float intensity)
          Set the precursor intensity
 void setIonSelection(InstrumentConfigurationData ionSelection)
          Set the ionSelection
 void setMassToChargeRatio(Float massToChargeRatio)
          Set the massToChargeRatio
 void setMsLevel(int msLevel)
          Set the msLevel
 void setPeakList(PeakListData peakList)
          Set the PeakListData this precursor is created from. param
 void setSpectrumRef(int spectrumRef)
          Set the spectrumRef
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrecursorData

public PrecursorData()
Method Detail

getActivation

public InstrumentConfigurationData getActivation()
Get the activation

Returns:
The InstrumentConfigurationData activation
Hibernate: many-to-one
column="`activation_id`" cascade="all" not-null="false" outer-join="false"

setActivation

public void setActivation(InstrumentConfigurationData activation)
Set the activation

Parameters:
activation - The InstrumentConfigurationData activation

getChargeState

public int getChargeState()
Get the chargeState value

Returns:
the chargeState value
Hibernate: property
column="`chargeState`" type="int" not-null="true"

setChargeState

public void setChargeState(int chargeState)
Set the chargeState

Parameters:
chargeState - The chargeState value

getIonSelection

public InstrumentConfigurationData getIonSelection()
Get the ionSelection

Returns:
The InstrumentConfigurationData ionSelection
Hibernate: many-to-one
column="`ionSelection_id`" cascade="all" not-null="false" outer-join="false"

setIonSelection

public void setIonSelection(InstrumentConfigurationData ionSelection)
Set the ionSelection

Parameters:
ionSelection - The InstrumentConfigurationData ionSelection

getMassToChargeRatio

public Float getMassToChargeRatio()
Get the massToChargeRatio.

Returns:
the massToChargeRatio value
Hibernate: property
column="`mass_to_charge_ratio`" type="float" not-null="false"

setMassToChargeRatio

public void setMassToChargeRatio(Float massToChargeRatio)
Set the massToChargeRatio

Parameters:
massToChargeRatio - The Float massToChargeRatio value

getIntensity

public Float getIntensity()
Get the precursor intensity.

Returns:
the intensity value
Hibernate: property
column="`intensity`" type="float" not-null="false"

setIntensity

public void setIntensity(Float intensity)
Set the precursor intensity

Parameters:
intensity - The Float intensity value

getMsLevel

public int getMsLevel()
Get the msLevel value

Returns:
the msLevel value
Hibernate: property
column="`mslevel`" type="int" not-null="true"

setMsLevel

public void setMsLevel(int msLevel)
Set the msLevel

Parameters:
msLevel - The msLevel value

getSpectrumRef

public int getSpectrumRef()
Get the spectrumRef value

Returns:
the spectrumRef value
Hibernate: property
column="`spectrum_ref`" type="int" not-null="false"

setSpectrumRef

public void setSpectrumRef(int spectrumRef)
Set the spectrumRef

Parameters:
spectrumRef - The int spectrumRef value

getPeakList

public PeakListData getPeakList()
Get the PeakListData this precursor is created from.

Returns:
The PeakListData item or null if not known
Hibernate: many-to-one
column="`peakListId`" not-null="false" outer-join="false"

setPeakList

public void setPeakList(PeakListData peakList)
Set the PeakListData this precursor is created from. param

Parameters:
peakList - The PeakListData creator peakList

Last update: 2011-06-23