public class ReactionNetworkReaction extends ReactionNetworkEntity
docA, docB, id, labelA, labelB, singleDoc
DELETE, INSERT, MODIFIED, UNMODIFIED
Constructor and Description |
---|
ReactionNetworkReaction(ReactionNetwork rn,
String labelA,
String labelB,
de.unirostock.sems.xmlutils.ds.DocumentNode docA,
de.unirostock.sems.xmlutils.ds.DocumentNode docB,
ReactionNetworkCompartment compartmentA,
ReactionNetworkCompartment compartmentB,
boolean reversible)
Instantiates a new ReactionNetwork reaction.
|
Modifier and Type | Method and Description |
---|---|
void |
addInputA(ReactionNetworkSubstance subst,
SBOTerm sbo)
Add a reactant of this reaction in its original version.
|
void |
addInputB(ReactionNetworkSubstance subst,
SBOTerm sbo)
Add a reactant of this reaction in its modified version.
|
void |
addModA(ReactionNetworkSubstance subst,
SBOTerm sbo)
Adds the modifier of this reaction in its original version.
|
void |
addModB(ReactionNetworkSubstance subst,
SBOTerm sbo)
Add a modifier of this reaction in its modified version.
|
void |
addOutputA(ReactionNetworkSubstance subst,
SBOTerm sbo)
Add a product of this reaction in its original version.
|
void |
addOutputB(ReactionNetworkSubstance subst,
SBOTerm sbo)
Add a product of this reaction in its modified version.
|
ReactionNetworkCompartment |
getCompartment()
Gets the compartment.
|
Collection<ReactionNetworkSubstanceRef> |
getInputs()
Gets the reactants.
|
int |
getModification()
Gets the modification of this entity.
|
Collection<ReactionNetworkSubstanceRef> |
getModifiers()
Gets the modifiers.
|
Collection<ReactionNetworkSubstanceRef> |
getOutputs()
Gets the products.
|
String |
getSBO()
Gets the sbo.
|
boolean |
isReversible()
Checks if is reversible.
|
void |
setCompartmentA(ReactionNetworkCompartment compartment)
Sets the compartment in original version.
|
void |
setCompartmentB(ReactionNetworkCompartment compartment)
Sets the compartment in modified version.
|
void |
setSingleDocument()
Sets the single document flag.
|
public ReactionNetworkReaction(ReactionNetwork rn, String labelA, String labelB, de.unirostock.sems.xmlutils.ds.DocumentNode docA, de.unirostock.sems.xmlutils.ds.DocumentNode docB, ReactionNetworkCompartment compartmentA, ReactionNetworkCompartment compartmentB, boolean reversible)
rn
- the reaction networklabelA
- the label of that reaction in the original documentlabelB
- the label of that reaction in the modified documentdocA
- the original documentdocB
- the modified documentcompartmentA
- the compartment acompartmentB
- the compartment breversible
- the reversible flagpublic void setCompartmentA(ReactionNetworkCompartment compartment)
compartment
- the compartment in original versionpublic void setCompartmentB(ReactionNetworkCompartment compartment)
compartment
- the compartment in modified versionpublic ReactionNetworkCompartment getCompartment()
public void addInputA(ReactionNetworkSubstance subst, SBOTerm sbo)
subst
- the substancesbo
- the SBOTerm describing the interactionpublic void addOutputA(ReactionNetworkSubstance subst, SBOTerm sbo)
subst
- the substancesbo
- the SBOTerm describing the interactionpublic void addModA(ReactionNetworkSubstance subst, SBOTerm sbo) throws BivesUnsupportedException
subst
- the substancesbo
- the SBOTerm describing the modificationBivesUnsupportedException
- if one edges contains two types of modificationspublic void addInputB(ReactionNetworkSubstance subst, SBOTerm sbo)
subst
- the substancesbo
- the SBOTerm describing the interactionpublic void addOutputB(ReactionNetworkSubstance subst, SBOTerm sbo)
subst
- the substancesbo
- the SBOTerm describing the interactionpublic void addModB(ReactionNetworkSubstance subst, SBOTerm sbo) throws BivesUnsupportedException
subst
- the substancesbo
- the SBOTerm describing the modificationBivesUnsupportedException
- if one edges contains two types of modificationspublic Collection<ReactionNetworkSubstanceRef> getInputs()
public Collection<ReactionNetworkSubstanceRef> getOutputs()
public Collection<ReactionNetworkSubstanceRef> getModifiers()
public String getSBO()
public boolean isReversible()
public void setSingleDocument()
setSingleDocument
in class ReactionNetworkEntity
public int getModification()
ReactionNetworkEntity
getModification
in class ReactionNetworkEntity
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.