|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.BasicItem<PrecursorData>
org.proteios.core.Precursor
public class Precursor
This class represent precursor items. A precursor item has information about the precursor in a 2-D mass spectrometry experiment.
| Field Summary | |
|---|---|
static Item |
TYPE
The type of item represented by this class. |
| Method Summary | |
|---|---|
InstrumentConfiguration |
getActivation()
Get the InstrumentConfiguration activation. |
Set<Annotatable> |
getAnnotatableParents()
Always null. |
AnnotationSet |
getAnnotationSet()
|
static Precursor |
getById(DbControl dc,
int id)
Get a Precursor item when you know the id. |
int |
getChargeState()
Get the chargeState |
Float |
getIntensity()
Get the precursor intensity. |
InstrumentConfiguration |
getIonSelection()
Get the InstrumentConfiguration ionSelection. |
Float |
getMassToChargeRatio()
Get the mass to charge ratio. |
int |
getMsLevel()
Get the msLevel |
PeakList |
getPeakList()
Get the PeakList this precursor is created from. |
static ItemQuery<Precursor> |
getQuery()
Get a query that returns precursor items. |
int |
getSpectrumRef()
Get the spectrumRef |
Item |
getType()
Get the type of item represented by the object. |
boolean |
isAnnotated()
|
boolean |
isUsed()
Check that: no item has been created from this precursor |
void |
removeAnnotations()
|
void |
setActivation(InstrumentConfiguration activation)
Set the InstrumentConfiguration activation. |
void |
setChargeState(int chargeState)
Set the chargeState. |
void |
setIntensity(Float intensity)
Set the mass to charge ratio |
void |
setIonSelection(InstrumentConfiguration ionSelection)
Set the InstrumentConfiguration ionSelection. |
void |
setMassToChargeRatio(Float massToChargeRatio)
Set the mass to charge ratio |
void |
setMsLevel(int msLevel)
Set the msLevel. |
void |
setPeakList(PeakList peakList)
Set the PeakList this precursor is created from. |
void |
setSpectrumRef(int spectrumRef)
Set the spectrumRef. |
| Methods inherited from class org.proteios.core.BasicItem |
|---|
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Item TYPE
Item.PROTEIOS_PRECURSOR,
getType()| Method Detail |
|---|
public static Precursor getById(DbControl dc,
int id)
throws ItemNotFoundException,
BaseException
Precursor item when you know the id.
dc - The DbControl which will be used for database
access.id - The id of the item to load
Precursor item
ItemNotFoundException - If an item with the specified id is not
found
BaseException - If there is another errorpublic static ItemQuery<Precursor> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<PrecursorData>BaseException
public InstrumentConfiguration getActivation()
throws BaseException
InstrumentConfiguration activation.
InstrumentConfiguration object
BaseException - If there is another error
public void setActivation(InstrumentConfiguration activation)
throws InvalidDataException
InstrumentConfiguration activation.
activation - The new InstrumentConfiguration item
InvalidDataException - If activation is null
BaseException - If there is another errorpublic int getChargeState()
public void setChargeState(int chargeState)
chargeState - The chargeState value
public InstrumentConfiguration getIonSelection()
throws BaseException
InstrumentConfiguration ionSelection.
InstrumentConfiguration object
BaseException - If there is another error
public void setIonSelection(InstrumentConfiguration ionSelection)
throws InvalidDataException
InstrumentConfiguration ionSelection.
ionSelection - The new InstrumentConfiguration item
InvalidDataException - If ionSelection is null
BaseException - If there is another errorpublic Float getMassToChargeRatio()
Float holding the massToChargeRatio
public void setMassToChargeRatio(Float massToChargeRatio)
throws InvalidDataException,
BaseException
massToChargeRatio - The massToChargeRatio value
InvalidDataException - If massToChargeRatio is below zero
BaseExceptionpublic Float getIntensity()
Float holding the intensity
public void setIntensity(Float intensity)
throws InvalidDataException,
BaseException
intensity - The intensity value
InvalidDataException - If intensity is below zero
BaseExceptionpublic int getMsLevel()
public void setMsLevel(int msLevel)
msLevel - The msLevel valuepublic int getSpectrumRef()
public void setSpectrumRef(int spectrumRef)
spectrumRef - The spectrumRef value
public PeakList getPeakList()
throws BaseException
PeakList this precursor is created from.
PeakList item or null if not known
BaseException - If there is another errorpublic void setPeakList(PeakList peakList)
PeakList this precursor is created from.
peakList - The new PeakList item
BaseException - If there is another error
public AnnotationSet getAnnotationSet()
throws PermissionDeniedException,
BaseException
PermissionDeniedException
BaseExceptionpublic boolean isAnnotated()
public void removeAnnotations()
throws PermissionDeniedException,
BaseException
PermissionDeniedException
BaseException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||