|
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<D>
org.proteios.core.PolyPeptide<D>
public abstract class PolyPeptide<D extends PolyPeptideData>
This is the base class for for the two types of polypeptide: Protein
and Peptide.
| Field Summary | |
|---|---|
static int |
MAX_ACCESSION_NUMBER_LENGTH
The maximum length of the accessionNumber that can be stored in the database. |
static int |
MAX_LSID_LENGTH
The maximum length of the lsid that can be stored in the database. |
static int |
MAX_SEQUENCE_LENGTH
The maximum length of the sequence that can be stored in the database. |
| Fields inherited from interface org.proteios.core.Nameable |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Method Summary | |
|---|---|
void |
addObservedModification(ObservedModification modification)
Add a Modification |
String |
getAccessionNumber()
Get the accessionNumber of the polypeptide. |
String |
getLsid()
Get the lsid of the polypeptide. |
Set<ObservedModification> |
getObservedModifications()
|
SearchResult |
getSearchResult()
Get the SearchResult this PolyPeptide is associated with. |
String |
getSequence()
Get the sequence of the polypeptide. |
void |
setAccessionNumber(String accessionNumber)
Set the accession number of the polypeptide. |
void |
setLsid(String lsid)
Set the LSID of the polypeptide. |
void |
setObservedModifications(Set<ObservedModification> modifications)
Set the ObservedModification modifications set. |
void |
setSearchResult(SearchResult searchResult)
Set the SearchResult this PolyPeptide is associated with. |
void |
setSequence(String sequence)
Set the sequecne of the PolyPeptide. |
| 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, isUsed, 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, getType, 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 int MAX_SEQUENCE_LENGTH
setSequence(String),
Constant Field Valuespublic static final int MAX_LSID_LENGTH
setLsid(String),
Constant Field Valuespublic static final int MAX_ACCESSION_NUMBER_LENGTH
setAccessionNumber(String),
Constant Field Values| Method Detail |
|---|
public String getSequence()
public void setSequence(String sequence)
throws PermissionDeniedException,
InvalidDataException
MAX_SEQUENCE_LENGTH
constant.
sequence - The new value for the sequence
PermissionDeniedException - If the logged in user doesn't have
write permission
InvalidDataException - If the string is too longpublic String getLsid()
public void setLsid(String lsid)
throws PermissionDeniedException,
InvalidDataException
MAX_LSID_LENGTH constant.
lsid - The new value for the Lsid
PermissionDeniedException - If the logged in user doesn't have
write permission
InvalidDataException - If the string is too longpublic String getAccessionNumber()
public void setAccessionNumber(String accessionNumber)
throws PermissionDeniedException,
InvalidDataException
MAX_ACCESSION_NUMBER_LENGTH constant.
accessionNumber - The new value for the accession number
PermissionDeniedException - If the logged in user doesn't have
write permission
InvalidDataException - If the string is too long
public SearchResult getSearchResult()
throws BaseException
SearchResult this PolyPeptide is associated with.
SearchResult item or null if not known
BaseException - If there is another error
public void setSearchResult(SearchResult searchResult)
throws BaseException
SearchResult this PolyPeptide is associated with.
searchResult - The new SearchResult item
BaseException - If there is another error
public Set<ObservedModification> getObservedModifications()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseExceptionpublic void setObservedModifications(Set<ObservedModification> modifications)
ObservedModification modifications set.
modifications - The new Set
item.
InvalidDataException - If dataProcessingStep is null
BaseException - If there is another errorpublic void addObservedModification(ObservedModification modification)
modification - The Search Database to add to the Set
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||