|
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.Modification<SearchModificationData>
org.proteios.core.SearchModification
public class SearchModification
This class represent searchModifications.
| Nested Class Summary | |
|---|---|
static class |
SearchModification.TerminalSpecificity
This enum is used to verify terminal specificities. |
| Field Summary | |
|---|---|
static int |
MAX_AASPECIFICITY_LENGTH
The maximum length of the amino acid specficity that can be stored in the database. |
static Item |
TYPE
The type of item represented by this class. |
| Fields inherited from class org.proteios.core.Modification |
|---|
MAX_CVID_LENGTH, MAX_DIFF_FORMULA_LENGTH |
| Fields inherited from interface org.proteios.core.Nameable |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Method Summary | |
|---|---|
String |
getAminoAcidSpecificity()
Get the amino acid specificity of the modification. |
Set<Annotatable> |
getAnnotatableParents()
Always null. |
static ItemQuery<SearchModification> |
getQuery()
Get a query that returns searchModification items. |
SpectrumSearch |
getSpectrumSearch()
Get the SpectrumSearch this SearchModification is associated with. |
SearchModification.TerminalSpecificity |
getTerminalSpecificity()
The enum representation of the int value in the database is returned. |
Item |
getType()
Get the type of item represented by the object. |
boolean |
isFixed()
|
boolean |
isUsed()
Check that: no Sample has been created from this searchModification
|
void |
setAminoAcidSpecificity(String aminoAcidSpecificity)
Set the amino acid specificities of the Modification. |
void |
setFixed(boolean fixed)
|
void |
setSpectrumSearch(SpectrumSearch spectrumSearch)
Set the SpectrumSearch this SearchModification is associated with. |
void |
setTerminalSpecificity(SearchModification.TerminalSpecificity terminalSpecificity)
The terminalSpecificity is converted to the ordinal in the enum before it is sent to the data layer. |
| Methods inherited from class org.proteios.core.Modification |
|---|
getAverageDeltaMass, getAverageMass, getCvId, getDiffFormula, getMonoisotopicDeltaMass, getMonoisotopicMass, getPosition, isSubstitutionModification, setAverageDeltaMass, setAverageMass, setCvId, setDiffFormula, setMonoisotopicDeltaMass, setMonoisotopicMass, setPosition, setSubstitutionModification |
| 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_SEARCHMODIFICATION,
getType()public static final int MAX_AASPECIFICITY_LENGTH
setAminoAcidSpecificity(String),
Constant Field Values| Method Detail |
|---|
public static ItemQuery<SearchModification> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
Sample has been created from this searchModification
isUsed in class BasicItem<SearchModificationData>BaseException
public SpectrumSearch getSpectrumSearch()
throws BaseException
SpectrumSearch this SearchModification 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 SearchModification is associated with.
spectrumSearch - The new SpectrumSearch item
BaseException - If there is another errorpublic SearchModification.TerminalSpecificity getTerminalSpecificity()
public void setTerminalSpecificity(SearchModification.TerminalSpecificity terminalSpecificity)
terminalSpecificity - The terminalSpecificity to set.public boolean isFixed()
public void setFixed(boolean fixed)
fixed - Whether the modification is static.public String getAminoAcidSpecificity()
public void setAminoAcidSpecificity(String aminoAcidSpecificity)
throws PermissionDeniedException,
InvalidDataException
MAX_AASPECIFICITY_LENGTH constant.
aminoAcidSpecificity - The amino acid specificities
PermissionDeniedException - If the logged in user doesn't have
write permission
InvalidDataException - If the string is too long
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||