public class ReactionNetworkSubstance extends ReactionNetworkEntity
docA, docB, id, labelA, labelB, singleDoc
DELETE, INSERT, MODIFIED, UNMODIFIED
Constructor and Description |
---|
ReactionNetworkSubstance(ReactionNetwork rn,
String labelA,
String labelB,
de.unirostock.sems.xmlutils.ds.DocumentNode docA,
de.unirostock.sems.xmlutils.ds.DocumentNode docB,
ReactionNetworkCompartment compartmentA,
ReactionNetworkCompartment compartmentB)
Instantiates a new substance in a reaction network.
|
Modifier and Type | Method and Description |
---|---|
ReactionNetworkCompartment |
getCompartment()
Gets the compartment.
|
String |
getSBO()
Gets the SBOTerm describing this substance.
|
void |
setCompartmentA(ReactionNetworkCompartment compartment)
Sets the compartment in original version.
|
void |
setCompartmentB(ReactionNetworkCompartment compartment)
Sets the compartment in modified version.
|
getA, getB, getId, getLabel, getModification, setDocA, setDocB, setLabelA, setLabelB, setSingleDocument
public ReactionNetworkSubstance(ReactionNetwork rn, String labelA, String labelB, de.unirostock.sems.xmlutils.ds.DocumentNode docA, de.unirostock.sems.xmlutils.ds.DocumentNode docB, ReactionNetworkCompartment compartmentA, ReactionNetworkCompartment compartmentB)
rn
- the reaction networklabelA
- the label of that compartment in the original documentlabelB
- the label of that compartment in the modified documentdocA
- the original documentdocB
- the modified documentcompartmentA
- the compartment acompartmentB
- the compartment bpublic void setCompartmentA(ReactionNetworkCompartment compartment)
compartment
- the compartment in original versionpublic void setCompartmentB(ReactionNetworkCompartment compartment)
compartment
- the compartment in modified versionpublic ReactionNetworkCompartment getCompartment()
public String getSBO()
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.