|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sigpath.task.util.BaseTask
org.sigpath.task.navigator.TExportBase
public class TExportBase
Navigator Base Class for Exporting SigPath datamodel objects to SigPathSubmission. TODO: More methods may be added to BaseTask class.
| Field Summary | |
|---|---|
protected List |
idRefActions
|
protected SigpathSubmission |
root
|
| Fields inherited from class org.sigpath.task.util.BaseTask |
|---|
SEPARATOR |
| Constructor Summary | |
|---|---|
TExportBase(NavigatorEntityManager entityManager,
SigpathSubmission root,
HashMap spidsToTempIDs,
List idRefActions)
|
|
| Method Summary | |
|---|---|
protected Change_log |
addChangeLog(SigPathEntity spe)
Adds Change Log Information to XML Document. |
protected Reviews |
addReviews(SigPathEntity spe)
Adds Review Information to XML Document. |
protected void |
addStandalone(Model spModel)
adds a standalone model to the submission (assumes the submission is standalone) |
protected String |
clearEmptyField(String description)
|
Molecule[] |
componentsToMolecules(SigPathEntity entity)
Converts the components of a complex into XLM molecules. |
protected InteractionRef |
createInteractionReference(Interaction interaction)
Return an XML interaction-ref element. |
Molecule |
createMolecule(Chemical sp_chem,
HashMap spidsToTempIDs,
SigpathSubmission root)
Creates a Castor molecule object given a SigPath chemical. |
protected String |
getACDB(Chemical chemical)
Returns a valid ACDB for a Chemical object. |
CustomKinetic |
getCustomKinetic(Kinetic kinetic)
Gets the kinetic custom when the parameter is of class (KineticCustom). |
protected NavigatorEntityManager |
getEntityManager()
|
protected EnzymaticParameters |
getEnzymaticReactionParameters(EnzymaticReaction spEnzymaticReaction)
|
protected Enzyme |
getEnzyme(EnzymaticReaction jdoInstance)
|
protected Formula |
getFormula(KineticCustom kinetic)
|
protected HashMap |
getIdMap()
Gets HashMap. |
protected KineticBindings |
getKineticBindings(KineticInteraction kInt)
|
protected KineticRef |
getKineticRef(KineticInteraction reaction)
here the distinction between |
NamedChemicalRef[] |
getNamedChemicalRef(NamedChemicalInteraction jdoInstance)
|
protected ParametersBindingsDeclaration |
getParametersBindingsDeclaration(KineticCustom kinetic)
|
protected PreviousVersion |
getPreviousVersion(Model spModel)
|
Left |
getReactionLeftSide(Collection left)
|
Modifiers |
getReactionMidleSide(Collection modifiers)
|
protected Parameters |
getReactionParameters(Reaction reaction)
|
Right |
getReactionRightSide(Collection right)
|
protected SpeciesBindingsDeclaration |
getSpeciesBindingsDeclaration(KineticCustom kinetic)
|
boolean |
isStandaloneOutput()
Deprecated. Use TExportStandaloneModel instead |
protected void |
postProcessConcentrationMeasurement(ConcentrationMeasurement spCM,
Concentration_measurement cm)
|
protected void |
postProcessEnzymaticReaction(EnzymaticReaction enzymaticReaction,
EnzymaticReaction castorInstance)
|
protected void |
postProcessModel(Model spModel,
Model model)
|
protected void |
postProcessPendingList(PendingList jdoInstance,
Pending_list castorInstance)
|
protected void |
postProcessReaction(Reaction jdoInstance,
Reaction castorInstance)
|
protected void |
processChemicals(Collection molecs,
StringBuffer text)
get short names for chemicals and builds a reaction's description while doing this |
protected void |
setExcludedReactions(Model spModel,
Model model)
|
static boolean |
setSpid(Chemical sp_chem,
Molecule mol)
Sets a spid attribute on the molecule only if the chemical does not refers to background information, and if no idref is provided for the molecule. |
void |
setStandaloneOutput(boolean standaloneOutput)
Deprecated. Use TExportStandaloneModel instead |
| Methods inherited from class org.sigpath.task.util.BaseTask |
|---|
addInContactWiths, getCompartment, getCreatedBy, getExcludedReactions, getModelCompartments, getMoleculeConcentration, getTargetUnit, localConcentrationToLocation, setOutsides, setUniqueIdsForCompartments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SigpathSubmission root
protected List idRefActions
| Constructor Detail |
|---|
public TExportBase(NavigatorEntityManager entityManager,
SigpathSubmission root,
HashMap spidsToTempIDs,
List idRefActions)
| Method Detail |
|---|
protected InteractionRef createInteractionReference(Interaction interaction)
interaction - The interaction the reference will point to.
protected HashMap getIdMap()
public boolean isStandaloneOutput()
public void setStandaloneOutput(boolean standaloneOutput)
standaloneOutput - true to generate standalone output. false
(default) otherwise.protected Change_log addChangeLog(SigPathEntity spe)
protected Reviews addReviews(SigPathEntity spe)
protected void addStandalone(Model spModel)
spModel - protected String clearEmptyField(String description)
public Molecule[] componentsToMolecules(SigPathEntity entity)
entity -
public Molecule createMolecule(Chemical sp_chem,
HashMap spidsToTempIDs,
SigpathSubmission root)
sp_chem - Sigpath ChemicalspidsToTempIDs - HashMap that maps spids to idRefsroot - SigpathSubmission root
public static boolean setSpid(Chemical sp_chem,
Molecule mol)
sp_chem - Chemical (source)mol - molecule (destination).
public CustomKinetic getCustomKinetic(Kinetic kinetic)
kinetic -
protected EnzymaticParameters getEnzymaticReactionParameters(EnzymaticReaction spEnzymaticReaction)
protected Enzyme getEnzyme(EnzymaticReaction jdoInstance)
protected Formula getFormula(KineticCustom kinetic)
throws SigPathDatabaseException
SigPathDatabaseException
protected KineticBindings getKineticBindings(KineticInteraction kInt)
throws SigPathDatabaseException
SigPathDatabaseExceptionprotected KineticRef getKineticRef(KineticInteraction reaction)
reaction -
public NamedChemicalRef[] getNamedChemicalRef(NamedChemicalInteraction jdoInstance)
protected ParametersBindingsDeclaration getParametersBindingsDeclaration(KineticCustom kinetic)
public Left getReactionLeftSide(Collection left)
public Modifiers getReactionMidleSide(Collection modifiers)
protected Parameters getReactionParameters(Reaction reaction)
public Right getReactionRightSide(Collection right)
protected SpeciesBindingsDeclaration getSpeciesBindingsDeclaration(KineticCustom kinetic)
throws SigPathDatabaseException
SigPathDatabaseException
protected void postProcessConcentrationMeasurement(ConcentrationMeasurement spCM,
Concentration_measurement cm)
protected String getACDB(Chemical chemical)
chemical - The chemical to get the ACDB for
protected void postProcessEnzymaticReaction(EnzymaticReaction enzymaticReaction,
EnzymaticReaction castorInstance)
protected void postProcessReaction(Reaction jdoInstance,
Reaction castorInstance)
protected void processChemicals(Collection molecs,
StringBuffer text)
throws SigPathDatabaseException
molecs - text -
SigPathDatabaseExceptionprotected PreviousVersion getPreviousVersion(Model spModel)
protected void setExcludedReactions(Model spModel,
Model model)
protected void postProcessModel(Model spModel,
Model model)
protected void postProcessPendingList(PendingList jdoInstance,
Pending_list castorInstance)
protected NavigatorEntityManager getEntityManager()
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||