Last update: 2011-06-23

org.proteios.core.data
Class PeakData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.PeakData
All Implemented Interfaces:
AnnotatableData, BatchableData, IdentifiableData

public class PeakData
extends BasicData
implements BatchableData, AnnotatableData

This represents a peak. A peak item has information about a peak in a mass spectrometry experiment.

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

Constructor Summary
PeakData()
           
 
Method Summary
 AnnotationSetData getAnnotationSet()
          Get the annotation set that holds the annotations for an item.
 Double getIntensity()
          Get the intensity.
 Double getMassToChargeRatio()
          Get the massToChargeRatio.
 PeakListData getPeakList()
          Get the PeakListData this peak is created from.
 void setAnnotationSet(AnnotationSetData annotationSet)
          Change the annotation set.
 void setIntensity(Double intensity)
          Set the intensity
 void setMassToChargeRatio(Double massToChargeRatio)
          Set the massToChargeRatio
 void setPeakList(PeakListData peakList)
          Set the PeakListData this peak is created from.
 
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
 
Methods inherited from interface org.proteios.core.data.IdentifiableData
getId, getVersion
 

Constructor Detail

PeakData

public PeakData()
Method Detail

getMassToChargeRatio

public Double getMassToChargeRatio()
Get the massToChargeRatio.

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

setMassToChargeRatio

public void setMassToChargeRatio(Double massToChargeRatio)
Set the massToChargeRatio

Parameters:
massToChargeRatio - The Double massToChargeRatio value

getIntensity

public Double getIntensity()
Get the intensity.

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

setIntensity

public void setIntensity(Double intensity)
Set the intensity

Parameters:
intensity - The Double intensity value

getPeakList

public PeakListData getPeakList()
Get the PeakListData this peak 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 peak is created from.

Parameters:
peakList - The creator peakList

getAnnotationSet

public AnnotationSetData getAnnotationSet()
Description copied from interface: AnnotatableData
Get the annotation set that holds the annotations for an item.

Specified by:
getAnnotationSet in interface AnnotatableData
Returns:
An AnnotationSetData item or null if no annotations exist

setAnnotationSet

public void setAnnotationSet(AnnotationSetData annotationSet)
Description copied from interface: AnnotatableData
Change the annotation set. Use null to remove the annotations.

Specified by:
setAnnotationSet in interface AnnotatableData

Last update: 2011-06-23