|
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<SpectrumSearchData>
org.proteios.core.SpectrumSearch
public class SpectrumSearch
This class represent spectrumsearch.
| Field Summary | |
|---|---|
static int |
MAX_INPUTSPECTRUMFILENAME_LENGTH
The maximum length of the inputSpectrumFileName string that can be stored in the database. |
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 |
addDigestParameter(DigestParameter dp)
Add a DigestParameter |
void |
addSearchDatabase(SearchDatabase db)
Add a SearchDatabase |
void |
addSearchModification(SearchModification dp)
Add a SearchModification |
void |
addSearchResult(SearchResult sr)
Add a SearchResult and set the association back to this SpectrumSearch |
Date |
getAnalysisTime()
|
Set<Annotatable> |
getAnnotatableParents()
Always null. |
Set<DigestParameter> |
getDigestParameters()
|
String |
getInputSpectrumFileName()
Get the input filename of this SpectrumSearch. |
PeakListSet |
getPeakListSet()
Get the PeakListSet this SpectrumSearch is associated with. |
static ItemQuery<SpectrumSearch> |
getQuery()
Get a query that returns spectrumsearchset items. |
File |
getResultFile()
Get the result file that this spectrumsearch was generated from |
Set<SearchDatabase> |
getSearchDatabases()
|
Software |
getSearchEngine()
Get the earch engine Software this SpectrumSearch is associated
with. |
Set<SearchModification> |
getSearchModifications()
|
SortedSet<SearchResult> |
getSearchResults()
|
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Check that: no item has been created from this peaklistset |
void |
setAnalysisTime(Date date)
|
void |
setDigestParameters(Set<DigestParameter> digestParameters)
Set the DigestParameter digestParameters set. |
void |
setInputSpectrumFileName(String inputSpectrumFileName)
Set the inputSpectrumFileName for this SpectrumSearch
item. |
void |
setPeakListSet(PeakListSet peakListSet)
Set the PeakListSet this SpectrumSearch is associated with. |
void |
setResultFile(File resultFile)
Set the result file |
void |
setSearchDatabases(Set<SearchDatabase> searchDatabases)
Set the SearchDatabase searchDatabases set. |
void |
setSearchEngine(Software software)
Set the search engine Software this SpectrumSearch is associated
with. |
void |
setSearchModifications(Set<SearchModification> searchModifications)
Set the SearchModification searchModifications set. |
void |
setSearchResults(SortedSet<SearchResult> searchResults)
Set the SearchResult searchResults 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_SPECTRUMSEARCH,
getType()public static final int MAX_INPUTSPECTRUMFILENAME_LENGTH
setInputSpectrumFileName(String),
Constant Field Values| Method Detail |
|---|
public static ItemQuery<SpectrumSearch> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<SpectrumSearchData>BaseException
public PeakListSet getPeakListSet()
throws BaseException
PeakListSet this SpectrumSearch is associated with.
PeakListSet item or null if not known
BaseException - If there is another error
public void setPeakListSet(PeakListSet peakListSet)
throws BaseException
PeakListSet this SpectrumSearch is associated with.
peakListSet - The new PeakListSet item
BaseException - If there is another error
public Software getSearchEngine()
throws BaseException
Software this SpectrumSearch is associated
with.
Software item or null if not known
BaseException - If there is another error
public void setSearchEngine(Software software)
throws BaseException
Software this SpectrumSearch is associated
with.
software - The new Software item
BaseException - If there is another errorpublic void addDigestParameter(DigestParameter dp)
dp - The DigestParameter to add to the Set
public Set<DigestParameter> getDigestParameters()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setDigestParameters(Set<DigestParameter> digestParameters)
DigestParameter digestParameters set.
digestParameters - The new Set
item.
InvalidDataException - If dataProcessingStep is null
BaseException - If there is another error
public Set<SearchDatabase> getSearchDatabases()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setSearchDatabases(Set<SearchDatabase> searchDatabases)
SearchDatabase searchDatabases set.
searchDatabases - The new Set item.
InvalidDataException - If dataProcessingStep is null
BaseException - If there is another error
public void addSearchResult(SearchResult sr)
throws InvalidDataException
sr - The Search Result to add to the SortedSet
InvalidDataException - if the search result could not be added
(probable reason=duplicate indexes)public void addSearchDatabase(SearchDatabase db)
db - The Search Database to add to the Set
public SortedSet<SearchResult> getSearchResults()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setSearchResults(SortedSet<SearchResult> searchResults)
SearchResult searchResults set.
searchResults - The new Set item.
InvalidDataException - If searchResults is null
BaseException - If there is another errorpublic Date getAnalysisTime()
public void setAnalysisTime(Date date)
date - The analysis time.public File getResultFile()
public void setResultFile(File resultFile)
resultFile - The results File this spectrumSearch was generated frompublic String getInputSpectrumFileName()
SpectrumSearch.
public void setInputSpectrumFileName(String inputSpectrumFileName)
throws InvalidDataException
SpectrumSearch
item. The value may be null but must not be longer than the value
specified by the MAX_INPUTSPECTRUMFILENAME_LENGTH constant.
inputSpectrumFileName - The new inputSpectrumFileName for this item
InvalidDataException - If the inputSpectrumFileName is longer than
MAX_INPUTSPECTRUMFILENAME_LENGTHpublic void addSearchModification(SearchModification dp)
dp - The SearchModification to add to the Set
public Set<SearchModification> getSearchModifications()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setSearchModifications(Set<SearchModification> searchModifications)
SearchModification searchModifications set.
searchModifications - The new Set
item.
InvalidDataException - If dataProcessingStep is null
BaseException - If there is another error
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||