|
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<D>
org.proteios.core.OwnedItem<D>
org.proteios.core.SharedItem<D>
org.proteios.core.CommonItem<D>
org.proteios.core.AnnotatedItem<PeakListSetData>
org.proteios.core.PeakListSet
public class PeakListSet
This class represent peaklistset items. A peaklistset has information about the peak lists in an experiment.
| Field Summary | |
|---|---|
static Item |
TYPE
The type of item represented by this class. |
| Fields inherited from interface org.proteios.core.Nameable |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Method Summary | |
|---|---|
void |
addDataProcessingStep(DataProcessingStep dp)
Add a DataProcessingStep |
void |
addPeakList(PeakList peakList)
|
List<HardwareConfiguration> |
getAnalyzers()
Get the HardwareConfiguration analyzers list. |
Set<Annotatable> |
getAnnotatableParents()
Always null. |
static PeakListSet |
getById(DbControl dc,
int id)
Get a PeakListSet item when you know the id. |
List<DataProcessingStep> |
getDataProcessingStepList()
Get the DataProcessingStep dataProcessingStepList. |
HardwareConfiguration |
getDetector()
Get the HardwareConfiguration detector. |
Hardware |
getInstrument()
Get the Hardware instrument. |
HardwareConfiguration |
getIonisationSource()
Get the HardwareConfiguration ionisationSource. |
InstrumentConfiguration |
getOtherInstrumentInfo()
Get the InstrumentConfiguration otherInstrumentInfo. |
List<PeakList> |
getPeakListArrayList()
Get the PeakList peakListArrayList. |
ItemQuery<PeakList> |
getPeakListsQuery()
Get a query that returns all PeakList items created from this peaklistset. |
static ItemQuery<PeakListSet> |
getQuery()
Get a query that returns peaklistset items. |
Sample |
getSample()
Get the Sample /** Get the Sample |
File |
getSourceFile()
Get the File sourceFile. |
Set<SpectrumSearch> |
getSpectrumSearches()
|
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Check if this item is used by some other item. |
void |
setAnalyzers(List<HardwareConfiguration> analyzers)
Set the HardwareConfiguration analyzers. |
void |
setDataProcessingStepList(List<DataProcessingStep> dataProcessingStepList)
Set the DataProcessingStep dataProcessingStepList. |
void |
setDetector(HardwareConfiguration detector)
Set the HardwareConfiguration detector. |
void |
setInstrument(Hardware instrument)
Set the Hardware instrument. |
void |
setIonisationSource(HardwareConfiguration ionisationSource)
Set the HardwareConfiguration ionisationSource. |
void |
setOtherInstrumentInfo(InstrumentConfiguration otherInstrumentInfo)
Set the InstrumentConfiguration otherInstrumentInfo. |
void |
setPeakListArrayList(List<PeakList> peakListArrayList)
Set the PeakList peakListArrayList. |
void |
setSample(Sample sample)
Set the Sample |
void |
setSourceFile(File sourceFile)
Set the File sourceFile. |
void |
setSpectrumSearches(Set<SpectrumSearch> spectrumSearches)
Set the SpectrumSearch spectrumSearches set. |
| Methods inherited from class org.proteios.core.CommonItem |
|---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
| Methods inherited from class org.proteios.core.SharedItem |
|---|
getItemKey, getProjectKey, isShared, setItemKey, setProjectKey |
| Methods inherited from class org.proteios.core.OwnedItem |
|---|
getOwner, setOwner |
| 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 |
| Methods inherited from interface org.proteios.core.Identifiable |
|---|
getId, getVersion |
| Methods inherited from interface org.proteios.core.AccessControlled |
|---|
checkPermission, hasPermission |
| Methods inherited from interface org.proteios.core.Ownable |
|---|
getOwner, setOwner |
| Field Detail |
|---|
public static final Item TYPE
Item.PROTEIOS_PEAKLISTSET,
getType()| Method Detail |
|---|
public static PeakListSet getById(DbControl dc,
int id)
throws ItemNotFoundException,
BaseException
PeakListSet item when you know the id.
dc - The DbControl which will be used for database
access.id - The id of the item to load
PeakListSet item
ItemNotFoundException - If an item with the specified id is not
found
BaseException - If there is another errorpublic static ItemQuery<PeakListSet> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseExceptionpublic ItemQuery<PeakList> getPeakListsQuery()
ItemQuery object
public Sample getSample()
throws BaseException
Sample /** Get the Sample
Sample object
BaseException - If there is another error
public void setSample(Sample sample)
throws InvalidDataException
Sample
sample - The new Sample item
InvalidDataException - If the sample is null
BaseException - If there is another error
public InstrumentConfiguration getOtherInstrumentInfo()
throws BaseException
InstrumentConfiguration otherInstrumentInfo.
InstrumentConfiguration object
BaseException - If there is another error
public void setOtherInstrumentInfo(InstrumentConfiguration otherInstrumentInfo)
throws InvalidDataException
InstrumentConfiguration otherInstrumentInfo.
otherInstrumentInfo - The new InstrumentConfiguration
item
InvalidDataException - If the otherInstrumentInfo is null
BaseException - If there is another error
public List<HardwareConfiguration> getAnalyzers()
throws ItemNotFoundException,
BaseException
HardwareConfiguration analyzers list.
HardwareConfiguration object
BaseException - If there is another error
ItemNotFoundException
public void setAnalyzers(List<HardwareConfiguration> analyzers)
throws InvalidDataException
HardwareConfiguration analyzers.
analyzers - The new HardwareConfiguration list item
InvalidDataException - If analyzers hardware not equal to
instrument hardware
BaseException - If there is another error
public HardwareConfiguration getDetector()
throws BaseException
HardwareConfiguration detector.
HardwareConfiguration object
BaseException - If there is another error
public void setDetector(HardwareConfiguration detector)
throws InvalidDataException
HardwareConfiguration detector.
detector - The new HardwareConfiguration item
InvalidDataException - If detector hardware not equal to instrument
hardware
BaseException - If there is another error
public Hardware getInstrument()
throws BaseException
Hardware instrument.
Hardware object
BaseException - If there is another error
public void setInstrument(Hardware instrument)
throws InvalidDataException
Hardware instrument.
instrument - The new Hardware item
InvalidDataException - If instrument is null
BaseException - If there is another error
public HardwareConfiguration getIonisationSource()
throws BaseException
HardwareConfiguration ionisationSource.
HardwareConfiguration object
BaseException - If there is another error
public void setIonisationSource(HardwareConfiguration ionisationSource)
throws InvalidDataException
HardwareConfiguration ionisationSource.
ionisationSource - The new HardwareConfiguration item
InvalidDataException - If ionisationSource hardware not equal to
instrument hardware
BaseException - If there is another error
public File getSourceFile()
throws BaseException
File sourceFile.
File object
BaseException - If there is another error
public void setSourceFile(File sourceFile)
throws InvalidDataException
File sourceFile.
sourceFile - The new File item
InvalidDataException - If sourceFile is null
BaseException - If there is another error
public List<DataProcessingStep> getDataProcessingStepList()
throws ItemNotFoundException,
BaseException
DataProcessingStep dataProcessingStepList.
DataProcessingStep list object
BaseException - If there is another error
ItemNotFoundException
public void setDataProcessingStepList(List<DataProcessingStep> dataProcessingStepList)
throws InvalidDataException
DataProcessingStep dataProcessingStepList.
dataProcessingStepList - The new DataProcessingStep
list item
BaseException - If there is another error
InvalidDataExceptionpublic void addDataProcessingStep(DataProcessingStep dp)
dp - The DataProcessingStep to add to the List
public Set<SpectrumSearch> getSpectrumSearches()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setSpectrumSearches(Set<SpectrumSearch> spectrumSearches)
SpectrumSearch spectrumSearches set.
spectrumSearches - The new Set item.
InvalidDataException - If dataProcessingStep is null
BaseException - If there is another error
public List<PeakList> getPeakListArrayList()
throws ItemNotFoundException,
BaseException
PeakList peakListArrayList. It is a set in the database,
but will be returned as a sorted list in ascending spectrumId order
PeakList list object
BaseException - If there is another error
ItemNotFoundException
public void setPeakListArrayList(List<PeakList> peakListArrayList)
throws InvalidDataException
PeakList peakListArrayList. Observe that it is a set in
the database
peakListArrayList - The new PeakList list item
BaseException - If there is another error
InvalidDataExceptionpublic void addPeakList(PeakList peakList)
public boolean isUsed()
throws BaseException
BasicItem
isUsed in class BasicItem<PeakListSetData>BaseException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||