|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReactionAdapter
Adapter class for creating a new Reaction and storing it to the database.
| Method Summary | |
|---|---|
void |
addComplextoRight(String name,
String[] spids,
boolean isSubstrate,
boolean isProduct)
Add a new complex to the right-hand side of the reaction. |
void |
addInteractionSite(String spid,
String sites)
Adds the interaction sites for the BioPolymer specified via a unique SPID. |
void |
addLiteratureReference(String pubMedID)
Add a new PubMed ID. |
void |
addLiteratureReferenceNote(String _publicationNote)
Add a new Publication Note. |
void |
addModifiedChemicalToRight(String spid,
String name,
String type,
boolean isSubstrate,
boolean isProduct)
Add a new modified chemical to the right-hand side of the reaction. |
void |
addMoleculeToLeft(String spid,
String sites,
boolean isSubstrate,
boolean isProduct)
Add a new chemical to the left-hand side of the reaction. |
void |
addMoleculeToRight(String spid,
String sites,
boolean isSubstrate,
boolean isProduct)
Add a new chemical to the right-hand side of the reaction. |
Date |
getDateLastModified()
|
Date |
getDateSubmitted()
|
String |
getDescription()
|
String |
getInteractionSite(String spid)
Gets the interaction site for the BioPolymer specified via a unique SPID. |
Parameter |
getKBackward()
Get the backward rate of the reaction. |
Parameter |
getKForward()
Get the forward rate of the reaction. |
LiteratureReferences |
getLiteratureReferences()
Get collection of literature references. |
Collection |
getMoleculesOnLeft()
Returns a Collection of MoleculeDisplay objects. |
Collection |
getMoleculesOnRight()
Returns a Collection of MoleculeDisplay objects. |
String |
getSpid()
Returns the reaction spid. |
String |
getUser()
Gets User |
void |
removeAllLiteratureReferences()
Removes all LiteratureReferences from Reaction. |
void |
removeInteractionSite(String spid)
Removes the interaction site for the BioPolymer specified via a unique SPID. |
void |
removeKBackward()
Remove the backward rate of the reaction. |
void |
removeKForward()
Remove the forward rate of the reaction. |
void |
removeMoleculeFromLeft(String spid)
Remove the chemical specified by the SPID from the left-hand side of the reaction. |
void |
removeMoleculeFromRight(String spid)
Remove the chemical specified by the SPID from the right-hand side of the reaction. |
boolean |
saveReaction()
Saves the reaction to the database. |
void |
setDbManager(SPDBManager dbm)
Set the database manager to use for this adapter. |
void |
setDescription(String description)
|
void |
setKBackward(double value,
String unit)
Set the backward rate of the reaction. |
void |
setKForward(double value,
String unit)
Set the forward rate of the reaction. |
void |
setUser(String user_name)
Sets User |
void |
updateReaction()
Updates the reaction in the database. |
ValidationErrors |
validate()
Validate the reaction against all known scientific rules. |
| Method Detail |
|---|
void setDbManager(SPDBManager dbm)
dbm - Database manager to use for this adapter.void setDescription(String description)
String getDescription()
String getInteractionSite(String spid)
spid - spid of chemical
BioPolymer,
ResidueRange,
InteractionSitesvoid removeInteractionSite(String spid)
spid - spid of chemicalBioPolymer,
ResidueRange,
InteractionSites
void addInteractionSite(String spid,
String sites)
spid - spid of chemicalsites - interaction sites of chemicalBioPolymer,
ResidueRange,
InteractionSites
void addMoleculeToLeft(String spid,
String sites,
boolean isSubstrate,
boolean isProduct)
spid - spid of chemicalsites - interaction sites of chemicalisSubstrate - indicates if the molecule is a substrateisProduct - indicates if the molecule is a productChemical,
ResidueRange,
InteractionSitesvoid removeMoleculeFromLeft(String spid)
spid - spid of chemicalChemicalCollection getMoleculesOnLeft()
MoleculeDisplay,
Chemical
void addMoleculeToRight(String spid,
String sites,
boolean isSubstrate,
boolean isProduct)
spid - spid of chemicalsites - interaction sites of chemicalisSubstrate - indicates if the molecule is a substrateisProduct - indicates if the molecule is a productChemical,
ResidueRange,
InteractionSitesvoid removeMoleculeFromRight(String spid)
spid - spid of chemicalChemicalCollection getMoleculesOnRight()
MoleculeDisplay,
Chemical
void addComplextoRight(String name,
String[] spids,
boolean isSubstrate,
boolean isProduct)
name - name of complexspids - spids of molecules in complexisSubstrate - indicates if the molecule is a substrateisProduct - indicates if the molecule is a productComplex
void addModifiedChemicalToRight(String spid,
String name,
String type,
boolean isSubstrate,
boolean isProduct)
spid - spid of source chemicalname - name of modified chemicaltype - type of modified chemicalisSubstrate - indicates if the molecule is a substrateisProduct - indicates if the molecule is a productChemical
void setKForward(double value,
String unit)
throws SigPathDatabaseException
value - forward rate of reactionunit - unit of rate
SigPathDatabaseExceptionParameter getKForward()
void removeKForward()
void setKBackward(double value,
String unit)
throws SigPathDatabaseException
value - backward rate of reactionunit - unit of rate
SigPathDatabaseExceptionParameter getKBackward()
void removeKBackward()
void addLiteratureReference(String pubMedID)
pubMedID - PubMed IDvoid addLiteratureReferenceNote(String _publicationNote)
_publicationNote - publication noteLiteratureReferences getLiteratureReferences()
LiteratureReferencesvoid removeAllLiteratureReferences()
String getSpid()
Reactionboolean saveReaction()
void updateReaction()
ValidationErrors validate()
ValidationErrorsvoid setUser(String user_name)
String getUser()
Date getDateSubmitted()
Date getDateLastModified()
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||