de.unirostock.sems.bives.algorithm.DiffReporterpublic class CellMLVariable extends CellMLEntity implements de.unirostock.sems.bives.algorithm.DiffReporter
| Modifier and Type | Field | Description |
|---|---|---|
static int |
INTERFACE_IN |
The flag INTERFACE_IN = incoming interface.
|
static int |
INTERFACE_NONE |
The flag INTERFACE_NONE = no interface.
|
static int |
INTERFACE_OUT |
The flag INTERFACE_OUT = outgoing interface.
|
model| Constructor | Description |
|---|---|
CellMLVariable(CellMLModel model,
CellMLComponent component,
de.unirostock.sems.xmlutils.ds.DocumentNode node) |
Instantiates a new CellML variable.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addPrivateInterfaceConnection(CellMLVariable var) |
Adds the private interface connection to annother CellML variable.
|
void |
addPublicInterfaceConnection(CellMLVariable var) |
Adds a public interface connection to annother CellML variable.
|
CellMLComponent |
getComponent() |
Gets the component.
|
void |
getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list) |
Adds the unit this variable depends on to a global list of dependencies.
|
Double |
getInitialValue() |
Gets the initial value, if explicitly specified by a scalar value.
|
CellMLVariable |
getInitialValueVariable() |
Gets the initial value, if specified by a variable.
|
String |
getName() |
Gets the name of this variable.
|
int |
getPrivateInterface() |
Gets the private interface flag.
|
List<CellMLVariable> |
getPrivateInterfaceConnections() |
Gets the private interface connections as a list of CellML variables.
|
String |
getPrivateInterfaceStr() |
Gets the textual representation (in, out, or none) of the private interface.
|
int |
getPublicInterface() |
Gets the public interface flag.
|
List<CellMLVariable> |
getPublicInterfaceConnections() |
Gets the public interface connections as a list of CellML variables.
|
String |
getPublicInterfaceStr() |
Gets the textual representation (in, out, or none) of the public interface.
|
CellMLVariable |
getRootVariable() |
Gets the root variable, obtained by traversing the interface connections.
|
void |
renameUnit(String original,
String newName) |
Rename the corresponding unit.
|
de.unirostock.sems.bives.markup.MarkupElement |
reportDelete() |
|
de.unirostock.sems.bives.markup.MarkupElement |
reportInsert() |
|
de.unirostock.sems.bives.markup.MarkupElement |
reportModification(de.unirostock.sems.bives.algorithm.SimpleConnectionManager conMgmt,
de.unirostock.sems.bives.algorithm.DiffReporter docA,
de.unirostock.sems.bives.algorithm.DiffReporter docB) |
|
void |
unconnect() |
Unconnect all interface connections.
|
associateRdfDescription, flagMetaModifcations, getDocumentNode, getMetaId, getModel, getRdfBlocks, getRdfDescriptions, setMetaId, setModelpublic static final int INTERFACE_NONE
public static final int INTERFACE_IN
public static final int INTERFACE_OUT
public CellMLVariable(CellMLModel model, CellMLComponent component, de.unirostock.sems.xmlutils.ds.DocumentNode node) throws BivesCellMLParseException, de.unirostock.sems.bives.exception.BivesLogicalException
model - the corresponding modelcomponent - the component containing this variablenode - the corresponding node which defines this variableBivesCellMLParseException - the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesLogicalException - the bives logical exceptionpublic CellMLComponent getComponent()
public int getPublicInterface()
public int getPrivateInterface()
public String getPublicInterfaceStr()
public String getPrivateInterfaceStr()
public void addPublicInterfaceConnection(CellMLVariable var) throws de.unirostock.sems.bives.exception.BivesLogicalException
var - the variablede.unirostock.sems.bives.exception.BivesLogicalException - the bives logical exceptionpublic void addPrivateInterfaceConnection(CellMLVariable var) throws de.unirostock.sems.bives.exception.BivesLogicalException
var - the variablede.unirostock.sems.bives.exception.BivesLogicalException - the bives logical exceptionpublic List<CellMLVariable> getPublicInterfaceConnections()
public List<CellMLVariable> getPrivateInterfaceConnections()
public CellMLVariable getRootVariable()
public CellMLVariable getInitialValueVariable()
public Double getInitialValue()
public void unconnect()
public String getName()
public void getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list)
list - the global list of dependenciespublic de.unirostock.sems.bives.markup.MarkupElement reportModification(de.unirostock.sems.bives.algorithm.SimpleConnectionManager conMgmt,
de.unirostock.sems.bives.algorithm.DiffReporter docA,
de.unirostock.sems.bives.algorithm.DiffReporter docB)
reportModification in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic de.unirostock.sems.bives.markup.MarkupElement reportInsert()
reportInsert in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic de.unirostock.sems.bives.markup.MarkupElement reportDelete()
reportDelete in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic void renameUnit(String original, String newName) throws de.unirostock.sems.bives.exception.BivesLogicalException
original - the original namenewName - the new namede.unirostock.sems.bives.exception.BivesLogicalException - the bives logical exceptionCopyright © 2018 SEMS project @ University of Rostock. All rights reserved.