|
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<SearchDatabaseData>
org.proteios.core.SearchDatabase
public class SearchDatabase
This class represent spectrumsearch.
| Field Summary | |
|---|---|
static int |
MAX_NAME_LENGTH
The maximum length of the name string that can be stored in the database. |
static int |
MAX_TAXONOMY_LENGTH
The maximum length of the taxonomy 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 |
| Method Summary | |
|---|---|
Set<Annotatable> |
getAnnotatableParents()
Always null. |
String |
getName()
Get the Name of this SearchDatabase. |
int |
getNumberOfEntries()
|
int |
getNumberOfEntriesAfterTaxonomy()
|
long |
getNumberOfResidues()
|
static ItemQuery<SearchDatabase> |
getQuery()
Get a query that returns spectrumsearchset items. |
Date |
getReleaseDate()
|
SpectrumSearch |
getSpectrumSearch()
Get the SpectrumSearch this SearchDatabase is associated with. |
String |
getTaxonomy()
Get the taxonomy of this SearchDatabase. |
Item |
getType()
Get the type of item represented by the object. |
String |
getVersionIdentifier()
|
boolean |
isUsed()
Check that: no item has been created from this peaklistset |
void |
setName(String name)
Set the name for this DigrestParameter item. |
void |
setNumberOfEntries(int numberOfEntries)
|
void |
setNumberOfEntriesAfterTaxonomy(int numberOfEntriesAfterTaxonomy)
|
void |
setNumberOfResidues(long numberOfResidues)
|
void |
setReleaseDate(Date date)
|
void |
setSpectrumSearch(SpectrumSearch spectrumSearch)
Set the SpectrumSearch this SearchDatabase is associated with. |
void |
setTaxonomy(String taxonomy)
Set the taxonomy for this SearchDatabase item. |
void |
setVersionIdentifier(String versionIdentifier)
|
| Methods inherited from class org.proteios.core.CommonItem |
|---|
getDescription, isRemoved, setDescription, 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_SEARCHDATABASE,
getType()public static final int MAX_NAME_LENGTH
setName(String),
Constant Field Valuespublic static final int MAX_TAXONOMY_LENGTH
setTaxonomy(String),
Constant Field Values| Method Detail |
|---|
public static ItemQuery<SearchDatabase> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<SearchDatabaseData>BaseException
public SpectrumSearch getSpectrumSearch()
throws BaseException
SpectrumSearch this SearchDatabase is associated with.
SpectrumSearch item or null if not known
BaseException - If there is another error
public void setSpectrumSearch(SpectrumSearch spectrumSearch)
throws BaseException
SpectrumSearch this SearchDatabase is associated with.
spectrumSearch - The new SpectrumSearch item
BaseException - If there is another errorpublic int getNumberOfEntries()
public void setNumberOfEntries(int numberOfEntries)
numberOfEntries - The numberOfEntries to set.public int getNumberOfEntriesAfterTaxonomy()
public void setNumberOfEntriesAfterTaxonomy(int numberOfEntriesAfterTaxonomy)
numberOfEntriesAfterTaxonomy - The numberOfEntriesAfterTaxonomy to
set.public long getNumberOfResidues()
public void setNumberOfResidues(long numberOfResidues)
numberOfResidues - The numberOfResidues to set.public String getName()
SearchDatabase.
getName in interface NameablegetName in class CommonItem<SearchDatabaseData>
public void setName(String name)
throws InvalidDataException
DigrestParameter item. The value may
be null but must not be longer than the value specified by the
MAX_NAME_LENGTH constant.
setName in interface NameablesetName in class CommonItem<SearchDatabaseData>name - The new name for this item
InvalidDataException - If the name is longer than
MAX_NAME_LENGTHpublic String getTaxonomy()
SearchDatabase.
public void setTaxonomy(String taxonomy)
throws InvalidDataException
SearchDatabase item. The value
may be null but must not be longer than the value specified by the
MAX_TAXONOMY_LENGTH constant.
taxonomy - The new taxonomy for this item
InvalidDataException - If the taxonomy is longer than
MAX_TAXONOMY_LENGTHpublic Date getReleaseDate()
public void setReleaseDate(Date date)
date - The release date.public String getVersionIdentifier()
public void setVersionIdentifier(String versionIdentifier)
versionIdentifier - The database version identifier to set.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||