public class CRNSubstance extends CRNEntity
docA, docB, id, labelA, labelB, singleDoc
DELETE, INSERT, MODIFIED, UNMODIFIED
Constructor and Description |
---|
CRNSubstance(CRN crn,
String labelA,
String labelB,
de.unirostock.sems.xmlutils.ds.DocumentNode docA,
de.unirostock.sems.xmlutils.ds.DocumentNode docB,
CRNCompartment compartmentA,
CRNCompartment compartmentB)
Instantiates a new substance in a chemical reaction network.
|
Modifier and Type | Method and Description |
---|---|
CRNCompartment |
getCompartment()
Gets the compartment.
|
String |
getSBO()
Gets the SBOTerm describing this substance.
|
void |
setCompartmentA(CRNCompartment compartment)
Sets the compartment in original version.
|
void |
setCompartmentB(CRNCompartment compartment)
Sets the compartment in modified version.
|
public CRNSubstance(CRN crn, String labelA, String labelB, de.unirostock.sems.xmlutils.ds.DocumentNode docA, de.unirostock.sems.xmlutils.ds.DocumentNode docB, CRNCompartment compartmentA, CRNCompartment compartmentB)
crn
- the chemical 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(CRNCompartment compartment)
compartment
- the compartment in original versionpublic void setCompartmentB(CRNCompartment compartment)
compartment
- the compartment in modified versionpublic CRNCompartment getCompartment()
public String getSBO()
Copyright © 2014 SEMS project @ University of Rostock. All rights reserved.