|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sigpath.adapter.EnzymaticAdapterImpl
public class EnzymaticAdapterImpl
Implementing class that provides database functionality regarding EnzymaticReaction objects.
EnzymaticReaction,
EnzymaticAdapter| Constructor Summary | |
|---|---|
EnzymaticAdapterImpl(SigPathEntity spe,
SPDBManager dbm,
ValidationErrors ve)
Deprecated. Use the DBTask framework instead. Adapters will be dropped form SigPath in the near future. |
|
EnzymaticAdapterImpl(SPDBManager dbm,
ValidationErrors ve)
Deprecated. Use the DBTask framework instead. Adapters will be dropped form SigPath in the near future. |
|
EnzymaticAdapterImpl(String spid,
SPDBManager dbm,
ValidationErrors ve)
Deprecated. Use the DBTask framework instead. Adapters will be dropped form SigPath in the near future. |
|
EnzymaticAdapterImpl(ValidationErrors ve)
Deprecated. Use the DBTask framework instead. Adapters will be dropped form SigPath in the near future. |
|
| Method Summary | |
|---|---|
static Parameter |
convertVMaxToKp(Parameter pVMax)
Converts VMax to Kp. |
static Parameter |
convertVMaxToKp(Parameter pVMax,
Parameter pVMax_EnzymeConcentration)
Calculates Kp from both VMax and VMax_enzymeConcentration Unit of returned Kp is reference first order Unit as defined in class Units. |
Date |
getDateLastModified()
|
Date |
getDateSubmitted()
|
String |
getDescription()
|
EnzymaticReaction |
getEnzymaticReaction()
get the EnzymaticReaction object associated with this EnzymaticAdapter |
MoleculeDisplay |
getEnzyme()
Get the Enzyme Display object |
Parameter |
getEnzymeConcentration()
|
String |
getEnzymeConcentrationUnit()
|
double |
getEnzymeConcentrationValue()
|
Parameter |
getKBKP()
Returns KbKp. |
String |
getKbKpUnit()
|
double |
getKbKpValue()
|
Parameter |
getKm()
Returns Km. |
String |
getKmUnit()
|
double |
getKmValue()
|
Parameter |
getKp()
Returns Kp. |
String |
getKpUnit()
|
double |
getKpValue()
Get the Kp of the reaction. |
ReactionAdapter |
getReaction()
Get the ReactionAdapter that this EnzymaticAdapter contains |
String |
getUser()
|
Parameter |
getVMax()
Get the VMax of the reaction. |
String |
getVMaxUnit()
|
double |
getVMaxValue()
|
boolean |
isKbKpDefined()
|
boolean |
isKmDefined()
Is the Km parameter defined for this enzymatic reaction? |
boolean |
isKpDefined()
|
boolean |
isVMaxDefined()
|
void |
removeEnzyme()
Remove the Enzyme for the reaction |
void |
removeKBKP()
Remove the ratio of K1 to Kp of the reaction. |
void |
removeKm()
Remove the Km of the reaction. |
void |
removeKp()
Remove the Kp of the reaction. |
void |
removeVMax()
Removes both Vmax and Enzyme concentration, since the two are linked. |
boolean |
saveReaction()
Save the EnzymaticReaction this EnzymaticAdapter contains |
void |
setDbManager(SPDBManager dbm)
Set the database manager to use for this adapter. |
void |
setDescription(String description)
|
void |
setEnzyme(String spid)
Set the Enzyme for the reaction. |
void |
setKBKP(double v,
String u)
Set the K1 to Kp Ratio for the reaction. |
void |
setKm(double v,
String u)
Set the Km for the reaction. |
void |
setKp(double v,
String u)
Set the Kp for the reaction. |
void |
setReaction(ReactionAdapter reaction)
Set the ReactionAdapter representing the Reaction that this EnzymaticAdapter contains |
void |
setUser(String user_name)
Sets User |
void |
setVMax(double v,
String u,
double enzymeConcentration,
String concentration_unit)
Set the VMax for the reaction. |
boolean |
updateReaction()
Update the EnzymaticReaction this EnzymaticAdapter contains |
ValidationErrors |
validate()
Get the ValidationErrors that were produced when this EnzymaticAdapter was setup The EnzymaticAdapter will not save the EnzymaticReaction until no ValidationErrors exist |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnzymaticAdapterImpl(ValidationErrors ve)
throws SigPathDatabaseException
ve - validation errors object to store validation errors for this particular EnzymaticAdapter
SigPathDatabaseException
public EnzymaticAdapterImpl(SPDBManager dbm,
ValidationErrors ve)
ve - validation errors object to store validation errors for this particular EnzymaticAdapter
public EnzymaticAdapterImpl(SigPathEntity spe,
SPDBManager dbm,
ValidationErrors ve)
spe - SigPathEntity EnzymaticReaction with which to prepopulate this EnzymaticAdapterdbm - SPDBManager to use for prepopulating this adapterve - ValidationErrors validation errors object to store validation errors for this particular EnzymaticAdapter
public EnzymaticAdapterImpl(String spid,
SPDBManager dbm,
ValidationErrors ve)
throws SigPathDatabaseException
spid - String spid of EnzymaticReaction with which to prepopulate this EnzymaticAdapterdbm - SPDBManager to use for prepopulating this adapterve - ValidationErrors validation errors object to store validation errors for this particular EnzymaticAdapter
SigPathDatabaseException| Method Detail |
|---|
public void setDescription(String description)
setDescription in interface EnzymaticAdapterpublic String getDescription()
getDescription in interface EnzymaticAdapterpublic static Parameter convertVMaxToKp(Parameter pVMax)
pVMax - VMax parameter
public static Parameter convertVMaxToKp(Parameter pVMax,
Parameter pVMax_EnzymeConcentration)
pVMax - pVMax_EnzymeConcentration -
public void setDbManager(SPDBManager dbm)
setDbManager in interface EnzymaticAdapterdbm - Database manager to use for this adapter.public void setEnzyme(String spid)
EnzymaticAdapter
setEnzyme in interface EnzymaticAdapterspid - spid of the enzyme to be set in the EnzymaticReactionpublic void removeEnzyme()
EnzymaticAdapter
removeEnzyme in interface EnzymaticAdapterpublic MoleculeDisplay getEnzyme()
EnzymaticAdapter
getEnzyme in interface EnzymaticAdapter
public void setKm(double v,
String u)
EnzymaticAdapter
setKm in interface EnzymaticAdapterv - value of the Km Parameteru - units of the Km Parameterpublic Parameter getKm()
getKm in interface EnzymaticAdapterpublic double getKmValue()
getKmValue in interface EnzymaticAdapterpublic String getKmUnit()
getKmUnit in interface EnzymaticAdapterpublic boolean isKmDefined()
isKmDefined in interface EnzymaticAdapterpublic void removeKm()
EnzymaticAdapter
removeKm in interface EnzymaticAdapter
public void setVMax(double v,
String u,
double enzymeConcentration,
String concentration_unit)
EnzymaticAdapter
setVMax in interface EnzymaticAdapterv - value of the VMax Parameteru - units of the VMax Parameterpublic Parameter getVMax()
EnzymaticAdapter
getVMax in interface EnzymaticAdapterpublic double getVMaxValue()
getVMaxValue in interface EnzymaticAdapterpublic String getVMaxUnit()
getVMaxUnit in interface EnzymaticAdapterpublic boolean isVMaxDefined()
isVMaxDefined in interface EnzymaticAdapterpublic Parameter getEnzymeConcentration()
getEnzymeConcentration in interface EnzymaticAdapterpublic double getEnzymeConcentrationValue()
getEnzymeConcentrationValue in interface EnzymaticAdapterpublic String getEnzymeConcentrationUnit()
getEnzymeConcentrationUnit in interface EnzymaticAdapterpublic void removeVMax()
removeVMax in interface EnzymaticAdapter
public void setKp(double v,
String u)
EnzymaticAdapter
setKp in interface EnzymaticAdapterv - value of the Kp Parameteru - units of the Kp Parameterpublic Parameter getKp()
getKp in interface EnzymaticAdapterpublic boolean isKpDefined()
isKpDefined in interface EnzymaticAdapterpublic void removeKp()
EnzymaticAdapter
removeKp in interface EnzymaticAdapter
public void setKBKP(double v,
String u)
EnzymaticAdapter
setKBKP in interface EnzymaticAdapterv - value of the K1/Kp Parameteru - units of the K1/Kp Parameterpublic Parameter getKBKP()
getKBKP in interface EnzymaticAdapterpublic void removeKBKP()
EnzymaticAdapter
removeKBKP in interface EnzymaticAdapterpublic void setReaction(ReactionAdapter reaction)
EnzymaticAdapter
setReaction in interface EnzymaticAdapterreaction - ReactionAdapter representing the Reaction that this
EnzymaticAdapter containspublic ReactionAdapter getReaction()
EnzymaticAdapter
getReaction in interface EnzymaticAdapter
public boolean updateReaction()
throws SigPathDatabaseException
EnzymaticAdapter
updateReaction in interface EnzymaticAdaptertrue if reaction successfully updated,
otherwise false
SigPathDatabaseException
public boolean saveReaction()
throws SigPathDatabaseException
EnzymaticAdapter
saveReaction in interface EnzymaticAdaptertrue if reaction successfully saved,
otherwise false
SigPathDatabaseExceptionpublic ValidationErrors validate()
EnzymaticAdapter
validate in interface EnzymaticAdapterpublic EnzymaticReaction getEnzymaticReaction()
EnzymaticAdapter
getEnzymaticReaction in interface EnzymaticAdapterpublic void setUser(String user_name)
EnzymaticAdapter
setUser in interface EnzymaticAdapterpublic String getUser()
getUser in interface EnzymaticAdapterpublic Date getDateSubmitted()
getDateSubmitted in interface EnzymaticAdapterpublic Date getDateLastModified()
getDateLastModified in interface EnzymaticAdapterpublic double getKpValue()
EnzymaticAdapter
getKpValue in interface EnzymaticAdapterpublic String getKpUnit()
getKpUnit in interface EnzymaticAdapterpublic double getKbKpValue()
getKbKpValue in interface EnzymaticAdapterpublic String getKbKpUnit()
getKbKpUnit in interface EnzymaticAdapterpublic boolean isKbKpDefined()
isKbKpDefined in interface EnzymaticAdapter
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||