public class CellMLComponent extends CellMLEntity
model
Constructor | Description |
---|---|
CellMLComponent(CellMLModel model,
de.unirostock.sems.xmlutils.ds.DocumentNode node) |
Instantiates a new CellML component.
|
Modifier and Type | Method | Description |
---|---|---|
void |
getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list) |
Adds the units the variables in this component depend on to a global list of dependencies.
|
List<de.unirostock.sems.bives.ds.MathML> |
getMath() |
Gets the mathematical equations defined in this component.
|
String |
getName() |
Gets the name of this component.
|
List<CellMLReaction> |
getReactions() |
Gets the reactions defined in this component.
|
CellMLUnit |
getUnit(String name) |
Gets the unit.
|
CellMLVariable |
getVariable(String name) |
Gets the variable.
|
HashMap<String,CellMLVariable> |
getVariables() |
Gets the variables of this component.
|
void |
setName(String name) |
Sets the name of this component.
|
void |
unconnect() |
Unconnect all variables in this component.
|
associateRdfDescription, flagMetaModifcations, getDocumentNode, getMetaId, getModel, getRdfBlocks, getRdfDescriptions, setMetaId, setModel
public CellMLComponent(CellMLModel model, de.unirostock.sems.xmlutils.ds.DocumentNode node) throws BivesCellMLParseException, de.unirostock.sems.bives.exception.BivesLogicalException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
model
- the model this component belongs tonode
- the corresponding document node in the XML treeBivesCellMLParseException
- the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesLogicalException
- the bives logical exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic CellMLVariable getVariable(String name) throws de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
name
- the name of the variablede.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic CellMLUnit getUnit(String name)
name
- the name of the unitpublic String getName()
public void setName(String name)
name
- the new namepublic void unconnect()
public void getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list)
list
- the global list of dependenciespublic List<CellMLReaction> getReactions()
public HashMap<String,CellMLVariable> getVariables()
public List<de.unirostock.sems.bives.ds.MathML> getMath()
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.